当前位置: 代码迷 >> 移动平台 >> MTK增加模块后编译找不到自己的头文件,该怎么处理
  详细解决方案

MTK增加模块后编译找不到自己的头文件,该怎么处理

热度:5847   发布时间:2013-02-26 00:00:00.0
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" \
  相关解决方案