可能的重复:
错误消息无法打开,包括文件:'gxall.h’:没有这样的文件或目录
嗨,我正在使用VC 6.0,我在stdafx.h文件中包括了gxall.h,但是当构建代码时,我会遇到错误:
fatal error C1083: Cannot open include file: 'gxall.h': No such file or directory
// Objective Grid
#include <gxall.h>
您需要设置目标网格的路径包括项目属性中的文件夹。
选择菜单Project->[YourProjectName] Properties
,然后编辑C/C++->General->Additional Include Directories
行在其中添加路径,例如。3rdPartyOGrid12.0.2Include
。