MTK学习

来源:互联网 发布:在日本怎么淘宝 编辑:程序博客网 时间:2024/06/10 05:57

问题:

编译错误[mmiresource.lib] Error 255

---------------------------------------------------

自己也遇到了同样的问题,然后上网找了一个答案,居然发现有前辈遇到的问题跟我的一模一样,所以记录下来。

操作步骤:

1.安装ADS1.2

2.升级ADS(安装ADS12_Patch_Windows)

3.安装perl

4.make new 遇到编译错误:

2009/05/18 08:23:50 Building huayu
                    LOG: ./build/NEOTEL25_06B/log/huayu.log
                    Total 0 warnings found.
2009/05/18 08:23:59 Building mmi
                    LOG: ./build/NEOTEL25_06B/log/mmi.log
                    Total 2 warnings found.
2009/05/18 08:24:08 Building mmiresource
                    LOG: ./build/NEOTEL25_06B/log/mmiresource.log
make: *** [mmiresource.lib] Error 255

查看mmiresource.log,发现几个警告错误有几个警告

"plutommi/Customer/custresource/resource_fmradio_skins.c", line 932: Warning: C3040E: no external declaration in translation unit

plutommi/Customer/custresource/resource_fmradio_skins.c: 1 warning, 0 errors, 0 serious errors

tools/make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x60052f68) Compiling

plutommi/Customer/custresource/resource_fmschedulerec_skins.c ...

"plutommi/Customer/custresource/resource_fmradio_sub_skins.c", line 134: Warning: C3040E: no external declaration in translation unit

plutommi/Customer/custresource/resource_fmradio_sub_skins.c: 1 warning, 0 errors, 0 serious errors

根据提示查找.c文件相应行,却发现找不到警告的行。

到群里求助,才知道是瑞星干扰,关闭瑞星,问题解决。编译顺利通过

参考:“make错误:Interrupt/Exception caught”http://www.52rd.com/Blog/Detail_RD.Blog_blogercn_18147.html 

5.安装VC6.0(sp6)

6.将“MTK模拟器DLL补丁”内的dll文件复制到C:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin位置

7.运行PC_Simulator

8.over

原创粉丝点击