六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 35|回复: 0

无法生成mif文件

[复制链接]

升级  14.67%

18

主题

18

主题

18

主题

秀才

Rank: 2

积分
72
 楼主| 发表于 2013-1-27 05:01:10 | 显示全部楼层 |阅读模式
 
一开始生成SIS时用的是Emulator Debug (WINSCW),在pkg文件里的mif那里老是出错。找不到mif文件,在resource\apps\下确实没mif文件。
 
http://wiki.forum.nokia.com/index.php/How_to_create_application_icon(SVG)_in_S60_3rd_edition找到SVG生成MIF文件的方法。
 

Convert SVG files to Symbian mif file

You would find a tool called "mifconv" in the epoc32/tools:
For e.g: Now from command line:
c:\Symbian\9.1\S60_3rd_MR\Epoc32\tools>mifconv MyNewApp.mif /c32 C:\MyProject\gfx\qgn_menu.svg
This will generate .mif into epoc32/tools folder.
Now open your .pkg file and find for path of .mif file. Then just give path of your newly created .mif file. Like:
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\tools\MyNewApp.mif" -"!:\resource\apps\YourProjectNamed_reg.mif"
You could either cut-paste your newly created .mif file into your folder and give its path in source path of your .pkg file. Like:
"C:\MyFolder\MyNewApp.mif" -"!:\resource\apps\YourProjectNamed_reg.mif"
 
 
直接把MIF COPY到resource\apps\打包就可以了,但打包的SIS无法成功安装到手机上。
 
在mk文件里这段里知道肯定是生成MIF文件的路径不对。
ifeq (WINS,$(findstring WINS, $(PLATFORM)))ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\ZelseZDIR=$(EPOCROOT)epoc32\data\zendif 
在\release\$(PLATFORM)\$(CFG)\Z \resource\apps下发现了生成的MIF文件,那可能是选的编译环境不对。
 
结果选Phone Release (GCCE)打包SISX成功,并手机上安装成功。。。
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表