Skip to content

Instantly share code, notes, and snippets.

@lennart
Last active December 14, 2015 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lennart/5067992 to your computer and use it in GitHub Desktop.
Save lennart/5067992 to your computer and use it in GitHub Desktop.
Failures on Win 7 32bit Compilation of node-taglib
gyp info it worked if it ends with ok
gyp verb cli [ 'c:\\Program Files (x86)\\nodejs\\node.exe',
gyp verb cli 'c:\\Users\\nana\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '2' ]
gyp info using node-gyp@0.8.4
gyp info using node@0.8.21 | win32 | ia32
gyp verb command rebuild [ '2' ]
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed for `%s` Error: not found: python
gyp verb `which` failed for `%s` at F (c:\Users\nana\AppData\Roaming\npm\node_modules\node-gyp\node_modules\which\which.js:43:28)
gyp verb `which` failed for `%s` at E (c:\Users\nana\AppData\Roaming\npm\node_modules\node-gyp\node_modules\which\which.js:46:29)
gyp verb `which` failed for `%s` at c:\Users\nana\AppData\Roaming\npm\node_modules\node-gyp\node_modules\which\which.js:57:16
gyp verb `which` failed for `%s` at Object.oncomplete (fs.js:297:15)
gyp verb `which` failed for `%s` python [Error: not found: python]
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp verb check python version `C:\Python27\python.exe -c "import platform; print(platform.python_version());"` returned: "2.7.2\r\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.8.21
gyp verb command install [ 'v0.8.21' ]
gyp verb install input version string "v0.8.21"
gyp verb installing legacy version? false
gyp verb install installing version: 0.8.21
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.8.21
gyp verb build dir attempting to create "build" dir: c:\Users\Public\Source\node-taglib\build
gyp verb build dir "build" dir needed to be created? c:\Users\Public\Source\node-taglib\build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: c:\Users\Public\Source\node-taglib\build\config.gypi
gyp verb config.gypi checking for gypi file: c:\Users\Public\Source\node-taglib\config.gypi
gyp verb common.gypi checking for gypi file: c:\Users\Public\Source\node-taglib\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.exe
gyp info spawn args [ 'c:\\Users\\nana\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\gyp\\gyp',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args 'c:\\Users\\Public\\Source\\node-taglib\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'c:\\Users\\nana\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'c:\\Users\\nana\\.node-gyp\\0.8.21\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=c:\\Users\\nana\\.node-gyp\\0.8.21',
gyp info spawn args '-Dmodule_root_dir=c:\\Users\\Public\\Source\\node-taglib',
gyp info spawn args '--depth=.',
gyp info spawn args '--generator-output',
gyp info spawn args 'c:\\Users\\Public\\Source\\node-taglib\\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture ia32
gyp verb node dev dir c:\Users\nana\.node-gyp\0.8.21
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp verb "Release" dir needed to be created? null
gyp verb copying "node.lib" for ia32 c:\Users\nana\.node-gyp\0.8.21\Release\node.lib
gyp info spawn c:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=Win32' ]
Build started 01.03.2013 22:37:12.
Project "c:\Users\Public\Source\node-taglib\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|Win32".
Project "c:\Users\Public\Source\node-taglib\build\binding.sln" (1) is building "c:\Users\Public\Source\node-taglib\build\taglib.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\taglib\".
InitializeBuildStatus:
Creating "Release\obj\taglib\taglib.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"c:\Users\nana\.node-gyp\0.8.21\src" /I"c:\Users\nana\.node-gyp\0.8.21\deps\uv\include" /I"c:\Users\nana\.node-gyp\0.8.21\deps\v8\include" /IC:\taglib\include\taglib /Zi /nologo /W3 /WX- /Ox /Ob2 /Oi /Ot /Oy /GL /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D BUILDING_V8_SHARED=1 /D BUILDING_UV_SHARED=1 /D _WINDOWS /D WIN32_LEAN_AND_MEAN /D BUILDING_NODE_EXTENSION /D _WINDLL /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /GR- /Fo"Release\obj\taglib\\" /Fd"Release\obj\taglib\vc100.pdb" /Gd /TP /wd4251 /analyze- /errorReport:queue ..\src\tag.cc ..\src\taglib.cc ..\src\bufferstream.cc /MP
tag.cc
taglib.cc
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(115): warning C4244: 'argument' : conversion from 'int64_t' to 'TagLib::uint', possible loss of data [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(125): warning C4244: 'argument' : conversion from 'int64_t' to 'TagLib::uint', possible loss of data [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(213): error C2512: 'node_taglib::AsyncBaton' : no appropriate default constructor available [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(215): error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
C:\taglib\include\taglib\tiostream.h(46): could be 'TagLib::FileName &TagLib::FileName::operator =(const TagLib::FileName &)'
while trying to match the argument list '(TagLib::FileName, int)'
..\src\tag.cc(241): error C2451: conditional expression of type 'TagLib::FileName' is illegal [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
Ambiguous user-defined-conversion
..\src\tag.cc(274): error C2440: 'delete' : cannot convert from 'TagLib::FileName' to 'void *' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
Ambiguous user-defined-conversion
..\src\tag.cc(288): error C2512: 'node_taglib::AsyncBaton' : no appropriate default constructor available [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
bufferstream.cc
..\src\taglib.cc(180): error C2512: 'node_taglib::AsyncBaton' : no appropriate default constructor available [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(182): error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
C:\taglib\include\taglib\tiostream.h(46): could be 'TagLib::FileName &TagLib::FileName::operator =(const TagLib::FileName &)'
while trying to match the argument list '(TagLib::FileName, int)'
..\src\taglib.cc(209): error C2451: conditional expression of type 'TagLib::FileName' is illegal [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
Ambiguous user-defined-conversion
..\src\taglib.cc(307): error C2440: 'initializing' : cannot convert from 'DWORD' to 'const uv_thread_t' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
..\src\taglib.cc(307): error C2439: 'node_taglib::CallbackResolver::created_in' : member could not be initialized [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
c:\users\public\source\node-taglib\src\taglib.h(64) : see declaration of 'node_taglib::CallbackResolver::created_in'
..\src\taglib.cc(326): error C2664: 'node_taglib::TagLibStringToString' : cannot convert parameter 1 from 'TagLib::FileName' to 'TagLib::String' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
..\src\taglib.cc(326): error C2466: cannot allocate an array of constant size 0 [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(326): error C2440: 'initializing' : cannot convert from 'int' to 'v8::Handle<T>' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
with
[
T=v8::Value
]
Constructor for class 'v8::Handle<T>' is declared 'explicit'
with
[
T=v8::Value
]
..\src\taglib.cc(338): error C2512: 'node_taglib::AsyncResolverBaton' : no appropriate default constructor available [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(344): error C2446: '!=' : no conversion from 'DWORD' to 'const uv_thread_t' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
..\src\taglib.cc(344): error C2040: '!=' : 'const uv_thread_t' differs in levels of indirection from 'DWORD' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
c:\Users\nana\.node-gyp\0.8.21\deps\v8\include\v8.h(178): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handle<T>)' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
with
[
T=v8::Object
]
Done Building Project "c:\Users\Public\Source\node-taglib\build\taglib.vcxproj" (default targets) -- FAILED.
Done Building Project "c:\Users\Public\Source\node-taglib\build\binding.sln" (default targets) -- FAILED.
Build FAILED.
"c:\Users\Public\Source\node-taglib\build\binding.sln" (default target) (1) ->
"c:\Users\Public\Source\node-taglib\build\taglib.vcxproj" (default target) (2) ->
(ClCompile target) ->
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(115): warning C4244: 'argument' : conversion from 'int64_t' to 'TagLib::uint', possible loss of data [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(125): warning C4244: 'argument' : conversion from 'int64_t' to 'TagLib::uint', possible loss of data [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
c:\Users\nana\.node-gyp\0.8.21\deps\v8\include\v8.h(178): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handle<T>)' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
"c:\Users\Public\Source\node-taglib\build\binding.sln" (default target) (1) ->
"c:\Users\Public\Source\node-taglib\build\taglib.vcxproj" (default target) (2) ->
(ClCompile target) ->
..\src\tag.cc(213): error C2512: 'node_taglib::AsyncBaton' : no appropriate default constructor available [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(215): error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(241): error C2451: conditional expression of type 'TagLib::FileName' is illegal [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(274): error C2440: 'delete' : cannot convert from 'TagLib::FileName' to 'void *' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\tag.cc(288): error C2512: 'node_taglib::AsyncBaton' : no appropriate default constructor available [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(180): error C2512: 'node_taglib::AsyncBaton' : no appropriate default constructor available [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(182): error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(209): error C2451: conditional expression of type 'TagLib::FileName' is illegal [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(307): error C2440: 'initializing' : cannot convert from 'DWORD' to 'const uv_thread_t' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(307): error C2439: 'node_taglib::CallbackResolver::created_in' : member could not be initialized [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(326): error C2664: 'node_taglib::TagLibStringToString' : cannot convert parameter 1 from 'TagLib::FileName' to 'TagLib::String' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(326): error C2466: cannot allocate an array of constant size 0 [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(326): error C2440: 'initializing' : cannot convert from 'int' to 'v8::Handle<T>' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(338): error C2512: 'node_taglib::AsyncResolverBaton' : no appropriate default constructor available [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(344): error C2446: '!=' : no conversion from 'DWORD' to 'const uv_thread_t' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
..\src\taglib.cc(344): error C2040: '!=' : 'const uv_thread_t' differs in levels of indirection from 'DWORD' [c:\Users\Public\Source\node-taglib\build\taglib.vcxproj]
6 Warning(s)
16 Error(s)
Time Elapsed 00:00:02.79
gyp ERR! build error
gyp ERR! stack Error: `c:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (c:\Users\nana\AppData\Roaming\npm\node_modules\node-gyp\lib\build.js:255:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "c:\\Program Files (x86)\\nodejs\\node.exe" "c:\\Users\\nana\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "2"
gyp ERR! cwd c:\Users\Public\Source\node-taglib
gyp ERR! node -v v0.8.21
gyp ERR! node-gyp -v v0.8.4
gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment