当前位置: 代码迷 >> 移动平台 >> 真急人.MTK编译不过去有关问题,小弟我才接手做MTK不久(高人回复)
  详细解决方案

真急人.MTK编译不过去有关问题,小弟我才接手做MTK不久(高人回复)

热度:2495   发布时间:2013-02-26 00:00:00.0
真急人.MTK编译不过去问题,我才接手做MTK不久(在线等高人回复)
请各位大侠帮我看看这个LOG报错,是怎么回事.


tools\make.exe[1]: Do not specify -j or --jobs if sh.exe is not available.
tools\make.exe[1]: Resetting make for single job mode.
tools\make.exe[1]: Entering directory `E:/MT25_081207_N'
Compiling plutommi/Customer/custresource/CustImgMap.c ...
Compiling plutommi/Customer/custresource/CustImgRes.c ...
Compiling plutommi/Customer/custresource/CustImgMapExt.c ...
Compiling plutommi/Customer/custresource/CustImgResExt.c ...
Compiling plutommi/Customer/custresource/CustENFBImgMap.c ...
Compiling plutommi/Customer/custresource/CustAdoMap.c ...
Compiling plutommi/Customer/custresource/CustAdoRes.c ...
Compiling plutommi/Customer/custresource/CustAdoMapExt.c ...
Compiling plutommi/Customer/custresource/CustAdoResExt.c ...
Compiling plutommi/Customer/custresource/CustMenuRes.c ...
Compiling plutommi/Customer/custresource/CustStrMap.c ...
"plutommi\Customer\custresource\CustStrMap.c", line 3: Warning: C2299E: Initialiser list must 

contain at least one expression
"plutommi\Customer\custresource\CustStrMap.c", line 3: Serious error: C2435E: uninitialised 

static [] arrays illegal
"plutommi\Customer\custresource\CustStrMap.c", line 5: Warning: C2299E: Initialiser list must 

contain at least one expression
"plutommi\Customer\custresource\CustStrMap.c", line 5: Serious error: C2435E: uninitialised 

static [] arrays illegal
plutommi\Customer\custresource\CustStrMap.c: 2 warnings, 0 errors, 2 serious errors
tools\make.exe[1]: *** [CustStrMap.obj] Error 1
tools\make.exe[1]: Leaving directory `E:/MT25_081207_N'


------解决方案--------------------------------------------------------
你看一下plutommi\customer

还有ref_list文件

这里好像是字符串资源文件生成失败了 

具体只能看你目录里面的文件还有make脚本的路径是不是设对了


------解决方案--------------------------------------------------------
至少有两个ref_list文件,一个是模拟器的资源,另一个才是手机上的,看清楚别填错了。
------解决方案--------------------------------------------------------
一头雾水
------解决方案--------------------------------------------------------
plutommi\Customer\custresource\CustStrMap.c", line 3: Serious error: C2435E: uninitialised 

static [] arrays illegal 


这一行报错了。。。。
------解决方案--------------------------------------------------------
资源生成的时候报错了,
------解决方案--------------------------------------------------------
应该是代码问题吧,如果是ref_list有问题,至少代码会有你自己写的那个str的值
------解决方案--------------------------------------------------------
先clean,然后重新new一次
------解决方案--------------------------------------------------------
自己单步跟一下resgen流程吧 

也不知道你是什么版本 帮不上太大忙了
  相关解决方案