lwip: Installation Failed - Build issue

Hi,

I have taken care of windows specific installation requirements. initial errors were fixed. But now i am getting this build error.

C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(15385): warning C4319: '~': zero extending 'unsigned long' to 'double' of greater size (compiling source file ..\src\image\paste_worker.cpp) [C:\duel\node_modules\lwip\build\lwip_image.vcxproj]
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(15384): note: while compiling class template member function 'double cimg_library::CImg<float>::_cimg_math_parser::mp_bitwise_not(cimg_library::CImg<float>::_cimg_math_parser &)' (compiling source file ..\src\image\paste_worker.cpp)
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(14674): note: see reference to function template instantiation 'double cimg_library::CImg<float>::_cimg_math_parser::mp_bitwise_not(cimg_library::CImg<float>::_cimg_math_parser &)' being compiled (compiling source file ..\src\image\paste_worker.cpp)
C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(14673): warning C4319: '~': zero extending 'unsigned long' to 'const double' of greater size (compiling source file ..\src\image\setpixel_worker.cpp) [C:\duel\node_modules\lwip\build\lwip_image.vcxproj]
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(14067): note: while compiling class template member function 'unsigned int cimg_library::CImg<float>::_cimg_math_parser::compile(char *,char *,unsigned int *)' (compiling source file ..\src\image\setpixel_worker.cpp)
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(14040): note: see reference to function template instantiation 'unsigned int cimg_library::CImg<float>::_cimg_math_parser::compile(char *,char *,unsigned int *)' being compiled (compiling source file ..\src\image\setpixel_worker.cpp)
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(17489): note: see reference to class template instantiation 'cimg_library::CImg<float>::_cimg_math_parser' being compiled (compiling source file ..\src\image\setpixel_worker.cpp)
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(17478): note: while compiling class template member function 'double cimg_library::CImg<float>::_eval(cimg_library::CImg<float> *const ,const char *const ,const double,const double,const double,const double) const' (compiling source file ..\src\image\setpixel_worker.cpp)
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(17474): note: see reference to function template instantiation 'double cimg_library::CImg<float>::_eval(cimg_library::CImg<float> *const ,const char *const ,const double,const double,const double,const double) const' being compiled (compiling source file ..\src\image\setpixel_worker.cpp)
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(29155): note: see reference to class template instantiation 'cimg_library::CImg<float>' being compiled (compiling source file ..\src\image\setpixel_worker.cpp)
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(51300): note: see reference to class template instantiation 'cimg_library::CImg<char>' being compiled (compiling source file ..\src\image\setpixel_worker.cpp)
C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(15385): warning C4319: '~': zero extending 'unsigned long' to 'double' of greater size (compiling source file ..\src\image\setpixel_worker.cpp) [C:\duel\node_modules\lwip\build\lwip_image.vcxproj]
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(15384): note: while compiling class template member function 'double cimg_library::CImg<float>::_cimg_math_parser::mp_bitwise_not(cimg_library::CImg<float>::_cimg_math_parser &)' (compiling source file ..\src\image\setpixel_worker.cpp)
  C:\duel\node_modules\lwip\src\lib\cimg\CImg.h(14674): note: see reference to function template instantiation 'double cimg_library::CImg<float>::_cimg_math_parser::mp_bitwise_not(cimg_library::CImg<float>::_cimg_math_parser &)' being compiled (compiling source file ..\src\image\setpixel_worker.cpp)
     Creating library C:\duel\node_modules\lwip\build\Release\lwip_image.lib and object C:\duel\node_modules\lwip\build\Release\lwip_image.exp
  Generating code
  Finished generating code
  lwip_image.vcxproj -> C:\duel\node_modules\lwip\build\Release\\lwip_image.node
  lwip_image.vcxproj -> C:\duel\node_modules\lwip\build\Release\lwip_image.pdb (Full PDB)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\palanicg\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\palanicg\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\duel\node_modules\lwip
gyp ERR! node -v v6.11.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lwip@0.0.9 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lwip@0.0.9 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

This seems to an issue with build envriornment, can you help me here whats casuing this error?

Sanjiu

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 3
  • Comments: 18

Most upvoted comments

This issue could be resolved by installing graphicsmagick locally. See graphicsmagick for more info

Try using sharp library.

On Fri, Aug 11, 2017, 6:42 AM SR, notifications@github.com wrote:

Same issue

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EyalAr/lwip/issues/306#issuecomment-321781294, or mute the thread https://github.com/notifications/unsubscribe-auth/AMLQg8JwmctR4KOigSkdilrnwot675_Sks5sXC_6gaJpZM4OEPX7 .