atom / node-nslog

Access to NSLog from inside node!
MIT License
31 stars 17 forks source link

Build Failed in windows 10 x64 with VS2015 #17

Closed codehz closed 8 years ago

codehz commented 8 years ago
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  main.cc
  nslog_win.cc
  win_delay_load_hook.c
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 [C:\Users\***\AppData\Roaming\npm\node_modules\electron-rebuild\no
de_modules\nslog\build\nslog.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
janus-toendering commented 8 years ago

@codehz What did you do to fix it?

jspri commented 8 years ago

@janus-toendering This worked for me. It's a problem with node-gyp/VS.