【发布时间】:2017-07-27 17:54:16
【问题描述】:
我是电子新手,想调用 c++ dll,效果很好。我现在想知道如何在电子中添加我自己的头文件。我尝试了根字典和其他一些更深的地方,但只得到:
fatal error C1083: cannot open file: “MyDriver.h”: No such file or directory [c:\Users\75803\Documents\GitHub\native_addon\node_modules\hello\build\hello.vcxproj
任何帮助将不胜感激!
【问题讨论】:
-
请展示一些示例代码
-
我解决了。把你的头文件 iojs-(你的电子版)/src 文件夹。希望这能帮助有同样问题的人!