mingkg21 发表于 2013-1-27 05:01:10

无法生成mif文件

 
一开始生成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成功,并手机上安装成功。。。
页: [1]
查看完整版本: 无法生成mif文件