c++ - Node-gyp Include and Library Directories with Boost -


i'm attempting build node c++ addon on windows 7 machine uses classes boost libraries. however, after running

node-gyp configure 

successfully, i'm continually assaulted missing header files when run

node-gyp build 

relating various boost headers included.

i tried setting include , library directories manually in visual studio projects created "configure," no avail.

how 1 go defining include directories node-gyp?

[edit] after messing around node-gyp little success, explored building node modules through visual studio instead and, turns out, after several hours, it's , working. assistance.

you need add them in binding.gyp file:

'include_dirs': [   '<some directory>', ], 'libraries': [   '-l<some library>', '-l<some library directory>' ] 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -