Skip to content

Build warnings on Windows #5

Description

@pseudosavant

I'm receiving build warnings when installing mediainfo on a Windows 8.1 client that are preventing it from working. See the error and log below. Any ideas?

Node error

{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }

Build Log

D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat>node "C:\Chocolatey\lib\npm.1.4.9\tools\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  xmlparse.c
  xmltok.c
  xmlrole.c
..\..\..\deps\libexpat\lib\xmlparse.c(1844): warning C4244: 'return' : conversion from '__int64' to 'XML_Index', possible loss of data [D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\deps\libexpat\expat.vcxproj]
  expat.vcxproj -> D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\Release\\libexpat.lib
  node-expat.cc
..\node-expat.cc(165): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data [D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\node_expat.vcxproj]
..\node-expat.cc(409): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) [D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\node_expat.vcxproj]
..\node-expat.cc(422): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) [D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\node_expat.vcxproj]
C:\Users\Paul\.node-gyp\0.10.35\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistent<v8::Object> v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>)' [D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\node_expat.vcxproj]
     Creating library D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\Release\node_expat.lib and object D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\Release\node_expat.exp
  Generating code
  Finished generating code
  node_expat.vcxproj -> D:\makemkv\prep\node_modules\mediainfo\node_modules\node-expat\build\Release\\node_expat.node
mediainfo@0.0.2 node_modules\mediainfo
└── node-expat@2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions