|
resgen.log的提示如下:
PopulateRes.o:在函数‘PopulateResData’中:
D:/MT6225_06B/plutommi/Customer/ResGenerator/../../MMI/Resource/PopulateRes.c:1164:对‘PopulateMyAppRes’未定义的引用
collect2: ld returned 1 exit status
make[1]: *** [mtk_resgenerator.exe] Error 1[/COLOR]
可是我在Res_MyApp.c里定义了呀,而且在PopulateRes.c也用extern声明了
Res_MyApp.c的内容如下:
#include "StdC.h"
#ifdef DEVELOPER_BUILD_FIRST_PASS
#include "PopulateRes.h"
#include "MMI_features.h"
#include "GlobalMenuItems.h"
#include "MyAppDefs.h"
#include "MyAppGprot.h"
void PopulateMyAppRes (void)
{
ADD_APPLICATION_STRING2 (STR_MYAPP_HELLO,"Hello,World","MyApp");
ADD_APPLICATION_MENUITEM ((MENU_ID_MYAPP_HELLO,
MAIN_MENU_ORGANIZER_MENUID,0,SHOW,SHORTCUTABLE,DISP_LIST,
STR_MYAPP_HELLO,IMG_MYAPP_HELLO));
ADD_APPLICATION_IMAGE2 (IMG_MYAPP_HELLO,
CUST_IMG_PATH"\\\\MainLCD\\\\MyApp\\\\SB_MyApp.bmp", "HelloWorld!");
}
#endif[/COLOR]
PopulateRes.c中我添加的如下:
..............
extern void PopulateMyAppRes(void);
..............
PRINT_INFORMATION(("Populating MyApp Resources\n"));
PopulateMyAppRes();
................[/COLOR]
同时我发现update时,在进行Res_XXX.c的编译时列出来的正在编译的Res_XXX.c文件中,没我的Res_MyApp.c呀,但我的Res_MyApp.c确实在plutommi\customer\CustResource\PLUTO_MMI\Res_MMI\目录下呀!同时我的Res_MyApp.c确实被系统自动复制到了plutommi\Customer\Res_MMI中了呀,系统既然都复制了为啥不编译呢?
请各位哥哥们帮帮小弟我呀![/COLOR] |
|