我正在用VS2008构建IE扩展(ATL),当我切换到 Release模式时,它以某种方式给出了一些链接错误:
Error 2 fatal error C1083: Cannot open include file: 'ImplAddon.h': No such file or directory *************** 19 Engine
Error 3 fatal error LNK1181: cannot open input file '..\release addon\engine.lib' Addon Addon
我试图在项目属性的“其他包含目录”中的每个项目中添加“ImplAddon.h”的相关路径,但没有任何帮助。
知道该怎么办吗?
非常感谢小伙子:)
最佳答案
右键单击每个项目,然后转到properties
,然后单击顶部,左侧,以选择环境。在此处选择all configurations
。然后转到C++
-> General
-> Additional directories
,然后添加 header 失败路径。
关于c++ - 在 Release模式下编译时出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15967286/