读书人

MTK增加模块后编译找不到自己的头文件

发布时间: 2012-01-19 20:57:58 作者: rapoo

MTK增加模块后编译找不到自己的头文件
《走出山寨》第4章的代码
Organizer.c中加了:

C/C++ code
#ifdef __MMI_FIRSTAPP__#include "FirstAppGprot.h"#endif

编译模拟器时出现这个错误
fatal error C1083: Cannot open include file: 'FirstAppGprot.h': No such file or directory

[解决办法]
make文件夹下没有添加include 路径吧
[解决办法]
需要修改makefile文件
在makefile文件中添加 -I "../../mmi/FirstApp/FirstAppInc" \

读书人网 >移动平台

热点推荐