Node-gyp Include and Library Directories with Boost

后端 未结 1 607
轻奢々
轻奢々 2021-02-06 00:03

I\'m attempting to build a Node C++ addon on my Windows 7 machine that uses some classes from the Boost libraries. However, after running

node-gyp configure
         


        
1条回答
  •  深忆病人
    2021-02-06 00:51

    You need to add them in the binding.gyp file:

    'include_dirs': [
      '',
    ],
    'libraries': [
      '-l', '-L'
    ]
    

    0 讨论(0)
提交回复
热议问题