Cannot convert "R_FINDITEMTESTAPP_LOCALISABLE_APP_INFO" to a number.

Login to reply to this topic.
Fri, 2008-05-09 04:56
Joined: 2008-04-23
Forum posts: 4

i want to develop a filemanagement application ,but it appear such a error when compling the same file on another mathine.details as follow:
------ ?????: ??: FindItemTestApp, ??: Deb_S60_30_WINSCW Win32 ------

?????????...
* Current build configuration: WINSCW UDEB
Converting multi-icons...
Compiling resources...
epocroot = \Symbian\9.1\S60_3rd\
* d:\Symbian\9.1\S60_3rd\\epoc32\gcc\bin\cpp.exe -undef -C -I D:\Symbian\9.1\S60_3rd\S60Ex\FindItemTestApp\inc -I D:\Symbian\9.1\S60_3rd\S60Ex\FindItemTestApp\group -I d:\Symbian\9.1\S60_3rd\\epoc32\include -I d:\Symbian\9.1\S60_3rd\\Epoc32\include -I d:\Symbian\9.1\S60_3rd\epoc32\include\variant -DLANGUAGE_SC -D_UNICODE -D__SYMBIAN32__ -D__SERIES60_30__ -D__SERIES60_3X__ -D__SUPPORT_CPP_EXCEPTIONS__ -D__WINSCW__ -D__WINS__ -D__CW32__ D:\Symbian\9.1\S60_3rd\S60Ex\FindItemTestApp\Data\FindItemTestApp_reg.rss -o D:\Symbian\9.1\S60_3rd\S60Ex\FindItemTestApp\Data\FindItemTestApp_reg.rss.I
epocroot = \Symbian\9.1\S60_3rd\
* d:\Symbian\9.1\S60_3rd\\epoc32\tools\rcomp.exe -u -od:\Symbian\9.1\S60_3rd\Epoc32\release\winscw\UDEB\z\private\10003a3f\import\apps\FindItemTestApp_reg.rSC -hD:\Symbian\9.1\S60_3rd\S60Ex\FindItemTestApp\inc\FindItemTestApp_reg.rsg.new -sD:\Symbian\9.1\S60_3rd\S60Ex\FindItemTestApp\Data\FindItemTestApp_reg.rss.I -iD:\Symbian\9.1\S60_3rd\S60Ex\FindItemTestApp\Data\FindItemTestApp_reg.rss
D:\\Symbian\\9.1\\S60_3rd\\S60Ex\\FindItemTestApp\\Data\\FindItemTestApp_reg.rss(31): warning: (047) the STRUCT that this resource is based on contains a STRUCT[] data member which has not been used in this resource, the missing element is: 'datatype_list'
D:\\Symbian\\9.1\\S60_3rd\\S60Ex\\FindItemTestApp\\Data\\FindItemTestApp_reg.rss(31): warning: (047) the STRUCT that this resource is based on contains a STRUCT[] data member which has not been used in this resource, the missing element is: 'file_ownership_list'
D:\\Symbian\\9.1\\S60_3rd\\S60Ex\\FindItemTestApp\\Data\\FindItemTestApp_reg.rss(31): warning: (047) the STRUCT that this resource is based on contains a STRUCT[] data member which has not been used in this resource, the missing element is: 'service_list'
D:\\Symbian\\9.1\\S60_3rd\\S60Ex\\FindItemTestApp\\Data\\FindItemTestApp_reg.rss(27): warning: (045) the following label is used but has not been declared: R_FINDITEMTESTAPP_LOCALISABLE_APP_INFO
D:\\Symbian\\9.1\\S60_3rd\\S60Ex\\FindItemTestApp\\Data\\FindItemTestApp_reg.rss(28) : Cannot convert "R_FINDITEMTESTAPP_LOCALISABLE_APP_INFO" to a number.
ERROR: RCMake failed: (Resources): rcomp.exe failed with code 1. (Reason: Incorrect function.)


Fri, 2008-05-09 09:22
Joined: 2006-11-23
Forum posts: 15
Re: Cannot convert "R_FINDITEMTESTAPP_LOCALISABLE_APP_INFO" to a

Hi hunxiaobing,

check that in your app_reg.rss file have you include the file app.rsg or not. This might be the problem behind the error as rsg files have #defines of all resources that you create in rss files...

Br,
Pankaj


Pankaj Dubey

  • Login to reply to this topic.