-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
node-pdfium fails with Node JS 6.5.0
error seems to be indicative of change in Node JS native API
..\..\..\third_party\pdfium\fpdfsdk\src\javascript\JS_Runtime.cpp(103): error C2660: 'v8::Isolate::New': function does not take 0 arguments [X:\node-pdfium\build\third_party\pdfium\javascript.vcxproj]
config step
X:\node-pdfium>node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp@3.4.0
gyp info using node@6.5.0 | win32 | x64
gyp info spawn X:\Frameworks\python2\python.EXE
gyp info spawn args [ 'X:\\Frameworks\\nvm\\v6.5.0\\node_modules\\node-gyp\\gyp\\gyp_main.py',
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 'X:\\node-pdfium\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'X:\\node-pdfium\\common.gypi',
gyp info spawn args '-I',
gyp info spawn args 'X:\\Frameworks\\nvm\\v6.5.0\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\Admin\\.node-gyp\\6.5.0\\include\\node\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\Users\\Admin\\.node-gyp\\6.5.0',
gyp info spawn args '-Dnode_gyp_dir=X:\\Frameworks\\nvm\\v6.5.0\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=X:\\node-pdfium',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'X:\\node-pdfium\\build',
gyp info spawn args '-Goutput_dir=.' ]
Warning: Missing input files:
X:\node-pdfium\build\third_party\pdfium\..\..\..\third_party\pdfium\core\src\fxcodec\libjpeg\makefile
gyp info ok
build step
X:\node-pdfium>node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@3.4.0
gyp info using node@6.5.0 | win32 | x64
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
win_delay_load_hook.cc
bigint.vcxproj -> X:\node-pdfium\build\Release\\bigint.lib
win_delay_load_hook.cc
fdrm.vcxproj -> X:\node-pdfium\build\Release\\fdrm.lib
win_delay_load_hook.cc
formfiller.vcxproj -> X:\node-pdfium\build\Release\\formfiller.lib
win_delay_load_hook.cc
fpdfapi.vcxproj -> X:\node-pdfium\build\Release\\fpdfapi.lib
win_delay_load_hook.cc
fpdfdoc.vcxproj -> X:\node-pdfium\build\Release\\fpdfdoc.lib
win_delay_load_hook.cc
fpdftext.vcxproj -> X:\node-pdfium\build\Release\\fpdftext.lib
win_delay_load_hook.cc
freetype.vcxproj -> X:\node-pdfium\build\Release\\freetype.lib
win_delay_load_hook.cc
fx_lpng.vcxproj -> X:\node-pdfium\build\Release\\fx_lpng.lib
win_delay_load_hook.cc
fxcodec.vcxproj -> X:\node-pdfium\build\Release\\fxcodec.lib
win_delay_load_hook.cc
fxcrt.vcxproj -> X:\node-pdfium\build\Release\\fxcrt.lib
win_delay_load_hook.cc
fxedit.vcxproj -> X:\node-pdfium\build\Release\\fxedit.lib
win_delay_load_hook.cc
fxge.vcxproj -> X:\node-pdfium\build\Release\\fxge.lib
JS_Runtime.cpp
win_delay_load_hook.cc
..\..\..\third_party\pdfium\fpdfsdk\src\javascript\JS_Runtime.cpp(103): error C2660: 'v8::Isolate::New': function does not take 0 arguments [X:\node-pdfium\build\third_party\pdfium\javascript.vcxproj]
win_delay_load_hook.cc
jsapi.vcxproj -> X:\node-pdfium\build\Release\\jsapi.lib
win_delay_load_hook.cc
pdfwindow.vcxproj -> X:\node-pdfium\build\Release\\pdfwindow.lib
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 (X:\Frameworks\nvm\v6.5.0\node_modules\node-gyp\lib\build.js:276: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 10.0.10586
gyp ERR! command "X:\\Frameworks\\nodejs\\node.exe" "X:\\Frameworks\\nodejs\\node_modules\\node-gyp\\bin\\node-gyp.js" "build"
gyp ERR! cwd X:\node-pdfium
gyp ERR! node -v v6.5.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
dougludlow and dhenson02
Metadata
Metadata
Assignees
Labels
No labels