读书人

MTK添加字符串资源的编译异常

发布时间: 2012-02-07 17:45:37 作者: rapoo

MTK添加字符串资源的编译错误
在MTK中添加了字符串资源之后,命令行中使用update,编译mmiresource时出错,
"plutommi\mmi\miscframework\miscframeworkinc\PlmnEnum.h", line 44: Serious error: C2335E: <identifier> expected but found '}' in 'enum' definition
plutommi\Customer\custresource\custimgresext.c: 0 warnings, 0 errors, 1 serious error


这个文件应该是自动生成的吧,我没有动过,看了下里面的内容是
#ifndef _PLMN_ENUM_H
#define _PLMN_ENUM_H

enum STR_PLMN_LIST_ENUM
{
/* Do NOT modify the following line. It is a keyword for the PLMN automatic create tool */
/* plmncreate.exe: generate string id enum */
};

#endif

空的枚举;

请教这是什么错误啊

[解决办法]
没遇到过,不过你先resgen试试呢?有问题吗?
加字串资源是按那个标准过程加的吗?有没有漏了什么地方啊?

读书人网 >移动应用

热点推荐