Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win10 x64, doesn't compile #16

Closed
as-sergey-m opened this issue Jul 27, 2016 · 1 comment
Closed

Win10 x64, doesn't compile #16

as-sergey-m opened this issue Jul 27, 2016 · 1 comment

Comments

@as-sergey-m
Copy link

C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34): error C2373: '__pfnDliNot
ifyHook2': redefinition; different type modifiers [D:\mycompany\mycompany2\myproduct\node_modules\nodejieba\build\nodej
ieba.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNot
ifyHook2'
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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\mycompany\mycompany2\myproduct\node_modules\nodejieba
gyp ERR! node -v v5.6.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:nodejieba@1.4.11 nodejieba@1.4.11 install: node-gyp rebuild
npm WARN install:nodejieba@1.4.11 Exit status 1

@lovell
Copy link
Owner

lovell commented Jul 28, 2016

Hello, this is a problem with the latest version of MSVC and node-gyp, which can fixed by upgrading node-gyp/npm - please see nodejs/node-gyp#972 (comment)

@lovell lovell closed this as completed Jul 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants