S60 3版移植到5版遇到的简单问题:
我的环境如下 :
IDE:
Carbide.c++ Version 2.7.0
SDK:
S60_2nd_FP2_SC:com.nokia.Series60
S60_3rd_MR_5:com.nokia.s60
Nokia_Symbian3_SDK_v0.9:com.nokia.s60 - default
以前的程序,在3版SDK下, 用carbide编译, 运行没有问题。移植后,编译报很多错误。 都是和头文件有关的。
我对比了以下两个SDK,5版好多头文件已经重新规划目录了, 5版的EPOC32目录下include里面又新增加了好多子目录。
具体error如下,节选一二处, 请高手指点 :
In file included from C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\Fastrac_S60_5rd\Fastrac\APP\group\Fastrac.rss:34:
C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\epoc32\include\mw\eikon.rh:1: eikon.hrh: No such file or directory
In file included from C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\Fastrac_S60_5rd\Fastrac\APP\group\Fastrac.rss:35:
C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\epoc32\include\mw\avkon.rh:20: avkon.hrh: No such file or directory
* cpp failed
make.exe: *** [\Nokia\devices\Nokia_Symbian3_SDK_v0.9\epoc32\Data\z\resource\apps\Fastrac.R01] Error 2
..\..\..\epoc32\include\es_sock.h:34: the file 'comms-infras/metacontainer.h' cannot be opened
[解决办法]
我的mmp中相关部分如下 :
SYSTEMINCLUDE \epoc32\include ..\..\Client\inc ..\..\Engine\inc\
[解决办法]
http://www.developer.nokia.com/Community/Discussion/showthread.php?211608-Missing-File-on-Nokia-Symbian-3-SDK-v0.9
你看这个能解决你的问题么