×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Building SIS fails, missing rsc file

    Hi!

    I am having the same problem as many others, but I cannot seem to get it working with the hints listed here. After reinstalling Carbide.c++ I cannot compile my app into a SIS since makesis failes with the following error:

    Code:
    1241091903582	Error : Cannot find file : C:\S60\devices\S60_3rd_FP2_SDK_v1.1\Epoc32\data\2001DF19.rsc	OpteamPocket		Unknown	C/C++ Problem
    Apparently the rsc file is missing. How and when should this be built? This used to work, so I am a little confused. This is my MMP file.

    Code:
    /*
    ============================================================================
     Name			: OpteamPocket.mmp
     Author	  		: Sebastian Ahlman
     Copyright   	: Haahtela-kehitys Oy
     Description 	: This is the project specification file for Opteam Pocket.
    ============================================================================
    */
    
    TARGET			OpteamPocket_0x2001DF19.exe
    TARGETTYPE		exe
    UID 0x100039CE 0x2001DF19
    
    SOURCEPATH		..\src
    SOURCE			OpteamPocket.cpp
    SOURCE			OpteamPocketApplication.cpp
    SOURCE			OpteamPocketAppView.cpp
    SOURCE			OpteamPocketAppUi.cpp
    SOURCE			OpteamPocketDocument.cpp
    SOURCE 			MessageReceiver.cpp
    SOURCE 			SocketEngine.cpp
    SOURCE 			MessageDatabase.cpp
    SOURCE			MessageDialog.cpp
    SOURCE			Utility.cpp
    SOURCE			IntelligentSMS.cpp
    SOURCE			GlobalNoteObserver.cpp
    SOURCE 			HandledMessageDatabase.cpp
    SOURCE 			HandledMessageDialog.cpp
    SOURCE 			CalendarManager.cpp
    SOURCE 			DiscussionManager.cpp
    SOURCE 			ServerQuery.cpp
    
    SOURCEPATH		..\data
    
    START RESOURCE	OpteamPocket.rss
    HEADER
    TARGET 			OpteamPocket_0x2001DF19.rsc
    TARGETPATH 		resource\apps
    LANG 01 06 09
    END //RESOURCE
    
    START RESOURCE	OpteamPocket_reg.rss
    TARGET 			OpteamPocket_0x2001DF19_reg.rsc
    TARGETPATH 	  	\private\2001df19\apps
    LANG 01 06 09
    END //RESOURCE
    
    START RESOURCE	..\data\2001DF19.rss
    LANG 01 06 09
    END
    
    USERINCLUDE	   	..\inc
    USERINCLUDE    	..\help
    
    SYSTEMINCLUDE	\epoc32\include
    
    LIBRARY		   	euser.lib
    LIBRARY		   	apparc.lib
    LIBRARY		   	cone.lib
    LIBRARY		   	eikcore.lib
    LIBRARY		   	avkon.lib
    LIBRARY		   	commonengine.lib
    LIBRARY		   	efsrv.lib 
    LIBRARY		   	estor.lib
    LIBRARY        	aknnotify.lib
    LIBRARY        	hlplch.lib
    LIBRARY        	esock.lib
    LIBRARY        	insock.lib
    LIBRARY        	etext.lib
    LIBRARY        	msgs.lib
    LIBRARY        	ws32.lib
    LIBRARY       	apgrfx.lib
    LIBRARY       	smcm.lib
    LIBRARY        	gsmu.lib
    LIBRARY        	bafl.lib
    LIBRARY        	eikctl.lib
    LIBRARY        	cntmodel.lib
    LIBRARY        	charconv.lib
    LIBRARY        	eikcoctl.lib
    LIBRARY        	form.lib
    LIBRARY        	uiklaf.lib
    LIBRARY        	eikdlg.lib
    LIBRARY        	eikcdlg.lib
    LIBRARY        	edbms.lib
    LIBRARY        	gdi.lib
    LIBRARY        	aknskins.lib
    LIBRARY        	aknskinsrv.lib
    LIBRARY			calinterimapi.lib
    LIBRARY			commdb.lib
    LIBRARY         hal.lib
    LIBRARY			sysutil.lib 
    
    LANG 01 06 09
    
    VENDORID	  	0
    SECUREID		0x2001DF19
    CAPABILITY	  	NetworkServices ReadDeviceData ReadUserData SwEvent WriteDeviceData WriteUserData
    
    EPOCSTACKSIZE 	0x6400 // = 25kb (25 * 1024 heksassa = 6400)
    and this is my PKG file:

    Code:
    ; Installation file for OpteamPocket application
    ;
    ; This is an auto-generated PKG file by Carbide.
    ; This file uses variables specific to Carbide builds that will not work
    ; on command-line builds. If you want to use this generated PKG file from the
    ; command-line tools you will need to modify the variables with the appropriate
    ; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
    ;
    ;Language - standard language definitions
    &EN
    
    ; standard SIS file header, Versionumero rakennetaan seuraavasti:
    ; major ja minor -versiot ovat vapaasti paatettavissa. Buildnumberia
    ; (viimeinen luku rivilla) korotetaan joka kerta kun kaannetaan uusi versio.
    ; Tama pitaa paivittaa myos tiedostoon OpteamPocket.rls johon tulee viela
    ; build numberin lisaksi major, minor, ja vvkkpp (kaantopvm)-versionumerot.
    #{"Opteam Pocket"},(0x2001DF19),1,0,70
    
    ;Localised Vendor name
    %{"Haahtela-kehitys Oy"}
    
    ;Unique Vendor name
    :"Haahtela-kehitys Oy"
    
    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    
    ;Files to install
    ;You should change the source paths to match that of your environment
    ;<source> <destination>
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\OpteamPocket_0x2001DF19.exe"		-"!:\sys\bin\OpteamPocket_0x2001DF19.exe"
    
    ;"$(EPOCROOT)Epoc32\data\z\resource\apps\OpteamPocket_0x2001DF19.rsc"		-"!:\resource\apps\OpteamPocket_0x2001DF19.rsc"
    ;"$(EPOCROOT)Epoc32\data\z\private\2001df19\apps\OpteamPocket_0x2001DF19_reg.rsc"	-"!:\private\10003a3f\import\apps\OpteamPocket_0x2001DF19_reg.rsc"
    
    "$(EPOCROOT)Epoc32\data\z\resource\apps\OpteamPocket_0x2001DF19.r01"		-"!:\resource\apps\OpteamPocket_0x2001DF19.r01"
    "$(EPOCROOT)Epoc32\data\z\private\2001df19\apps\OpteamPocket_0x2001DF19_reg.r01"	-"!:\private\10003a3f\import\apps\OpteamPocket_0x2001DF19_reg.r01"
    
    "$(EPOCROOT)Epoc32\data\z\resource\apps\OpteamPocket_0x2001DF19.r06"		-"!:\resource\apps\OpteamPocket_0x2001DF19.r06"
    "$(EPOCROOT)Epoc32\data\z\private\2001df19\apps\OpteamPocket_0x2001DF19_reg.r06"	-"!:\private\10003a3f\import\apps\OpteamPocket_0x2001DF19_reg.r06"
    
    "$(EPOCROOT)Epoc32\data\z\resource\apps\OpteamPocket_0x2001DF19.r09"		-"!:\resource\apps\OpteamPocket_0x2001DF19.r09"
    "$(EPOCROOT)Epoc32\data\z\private\2001df19\apps\OpteamPocket_0x2001DF19_reg.r09"	-"!:\private\10003a3f\import\apps\OpteamPocket_0x2001DF19_reg.r09"
    
    "$(EPOCROOT)Epoc32\data\z\resource\apps\OpteamPocket_0x2001DF19.mif" -"!:\resource\apps\OpteamPocket_0x2001DF19.mif"
    "..\help\OpteamPocket_0x2001DF19.hlp"							 -"!:\resource\help\OpteamPocket_0x2001DF19.hlp"
    "$(EPOCROOT)Epoc32\data\2001DF19.rsc"-"c:\private\101f875a\import\[2001DF19].rsc"
    
    ; Add any installation notes if applicable
    ;"OpteamPocket.txt"		-"!:\private\2001DF19\OpteamPocket.txt"
    
    ;required for application to be covered by backup/restore facility 
    "..\sis\backup_registration.xml"		-"!:\private\2001DF19\backup_registration.xml"
    Any idea where the problem might be? Thank you!

    //Sebastian Ahlman

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Building SIS fails, missing rsc file

    search for the 2001DF19.r* and put the path in your pkg file.

  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Building SIS fails, missing rsc file

    Have you complied your application successfully??

  4. #4
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Re: Building SIS fails, missing rsc file

    Hi skumar_rao!

    You mean search for the file on my system? I did that, but there does not seem to be any file with that name. Should Carbide not make the file when compiling the app? And if so, where can I specify where the file gets created?

    Thanks!

  5. #5
    Registered User
    Join Date
    Nov 2008
    Location
    Mumbai-India
    Posts
    379

    Re: Building SIS fails, missing rsc file

    Quote Originally Posted by ahlmans View Post
    Hi skumar_rao!

    You mean search for the file on my system? I did that, but there does not seem to be any file with that name. Should Carbide not make the file when compiling the app? And if so, where can I specify where the file gets created?

    Thanks!
    it means
    ur rss is not get compiled properly compile rss separatley and the try.

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Building SIS fails, missing rsc file

    Localising the startup registration resource has no sense, since the user never sees its contents. Remove "LANG 01 06 09", and you will get the .rsc (currently you have .r01, .r06 and .r09 respectively).

  7. #7
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Re: Building SIS fails, missing rsc file

    Okay, I am trying to figure out how to compile the RSC file. As I understand, the RSC file is compiled out of the RSS file, is this correct?

    I tried changing the RSS entry to

    Code:
    START RESOURCE	2001DF19.rss
    HEADER
    TARGETPATH		resource\apps
    END
    as it was in one of the examples but this did not help. Can you tell me what this should look like?

    Thanks!

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Building SIS fails, missing rsc file

    Quote Originally Posted by ahlmans View Post
    Hi skumar_rao!

    You mean search for the file on my system? I did that, but there does not seem to be any file with that name. Should Carbide not make the file when compiling the app? And if so, where can I specify where the file gets created?

    Thanks!
    Search in your EPOC32 Folder of you SDK.

  9. #9
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Re: Building SIS fails, missing rsc file

    Quote Originally Posted by skumar_rao View Post
    Search in your EPOC32 Folder of you SDK.
    I have, it is not there. It exists in a backup of the SDK folder that was used before I reinstalled the SDK, but its modification date is a long time ago. I am guessing I have been using this file for a long time, and it has worked great since the RSS file does not change much. In other words my compilation of the RSC file has not worked for a long time, but now I want to get it working.

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Building SIS fails, missing rsc file

    Quote Originally Posted by ahlmans View Post
    I have, it is not there. It exists in a backup of the SDK folder that was used before I reinstalled the SDK, but its modification date is a long time ago. I am guessing I have been using this file for a long time, and it has worked great since the RSS file does not change much. In other words my compilation of the RSC file has not worked for a long time, but now I want to get it working.
    i suggest you search for all occurrence of 2001DF19.* in your EPOC Folder and delete them and try clean-building again.

  11. #11
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Re: Building SIS fails, missing rsc file

    Okay, now I am starting to understand what is going on. By having the following:

    Code:
    START RESOURCE	2001DF19.rss
    TARGET 			2001df19.rsc
    TARGETPATH 	  	\private\2001df19\apps
    END
    in my MMP, the rss gets compiled and put in the right folder. However, due to the localization (apparently) the file gets compiled into three different files; 2001DF19.r01, 2001DF19.r02 and 2001DF19.r03, when I only need one file, 2001DF19.rsc. How can I make the compiler do only this one file? Thanks!

  12. #12
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Building SIS fails, missing rsc file

    yes that is why i suggested to search for .r* not .rSC

  13. #13
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Re: Building SIS fails, missing rsc file

    Yep, thanks for your help, sincerely. Do you know how to make the compiler output just one file?

  14. #14
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Building SIS fails, missing rsc file

    if you donot need localization ...
    then remove LANG 01 06 09

  15. #15
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    55

    Re: Building SIS fails, missing rsc file

    I do need localization. My complete MMP is currently as follows:

    Code:
    /*
    ============================================================================
     Name			: OpteamPocket.mmp
     Author	  		: Sebastian Ahlman
     Copyright   	: Haahtela-kehitys Oy
     Description 	: This is the project specification file for Opteam Pocket.
    ============================================================================
    */
    
    TARGET			OpteamPocket_0x2001DF19.exe
    TARGETTYPE		exe
    UID 0x100039CE 0x2001DF19
    
    SOURCEPATH		..\src
    SOURCE			OpteamPocket.cpp
    SOURCE			OpteamPocketApplication.cpp
    SOURCE			OpteamPocketAppView.cpp
    SOURCE			OpteamPocketAppUi.cpp
    SOURCE			OpteamPocketDocument.cpp
    SOURCE 			MessageReceiver.cpp
    SOURCE 			SocketEngine.cpp
    SOURCE 			MessageDatabase.cpp
    SOURCE			MessageDialog.cpp
    SOURCE			Utility.cpp
    SOURCE			IntelligentSMS.cpp
    SOURCE			GlobalNoteObserver.cpp
    SOURCE 			HandledMessageDatabase.cpp
    SOURCE 			HandledMessageDialog.cpp
    SOURCE 			CalendarManager.cpp
    SOURCE 			DiscussionManager.cpp
    SOURCE 			ServerQuery.cpp
    
    SOURCEPATH		..\data
    
    START RESOURCE	OpteamPocket.rss
    HEADER
    TARGET 			OpteamPocket_0x2001DF19.rsc
    TARGETPATH 		resource\apps
    END
    
    START RESOURCE	OpteamPocket_reg.rss
    TARGETPATH 	  	\private\2001df19\apps
    END
    
    START RESOURCE	2001DF19.rss
    HEADER
    TARGET 			2001df19.rsc
    TARGETPATH 	  	\private\2001df19\apps
    END
    
    USERINCLUDE	   	..\inc
    USERINCLUDE    	..\help
    
    SYSTEMINCLUDE	\epoc32\include
    
    LIBRARY		   	euser.lib
    LIBRARY		   	apparc.lib
    LIBRARY		   	cone.lib
    LIBRARY		   	eikcore.lib
    LIBRARY		   	avkon.lib
    LIBRARY		   	commonengine.lib
    LIBRARY		   	efsrv.lib 
    LIBRARY		   	estor.lib
    LIBRARY        	   	aknnotify.lib
    LIBRARY        	   	hlplch.lib
    LIBRARY        	   	esock.lib
    LIBRARY        	   	insock.lib
    LIBRARY        	   	etext.lib
    LIBRARY        	   	msgs.lib
    LIBRARY        	   	ws32.lib
    LIBRARY       	   	apgrfx.lib
    LIBRARY       	   	smcm.lib
    LIBRARY        	   	gsmu.lib
    LIBRARY        	   	bafl.lib
    LIBRARY        	   	eikctl.lib
    LIBRARY        	   	cntmodel.lib
    LIBRARY        	   	charconv.lib
    LIBRARY        	   	eikcoctl.lib
    LIBRARY        	   	form.lib
    LIBRARY        	   	uiklaf.lib
    LIBRARY        	   	eikdlg.lib
    LIBRARY        	   	eikcdlg.lib
    LIBRARY        	   	edbms.lib
    LIBRARY        	   	gdi.lib
    LIBRARY        	   	aknskins.lib
    LIBRARY        	   	aknskinsrv.lib
    LIBRARY			calinterimapi.lib
    LIBRARY			commdb.lib
    LIBRARY            	hal.lib
    LIBRARY			sysutil.lib 
    
    LANG 01 06 09
    
    VENDORID	  	0
    SECUREID		0x2001DF19
    CAPABILITY	  	NetworkServices ReadDeviceData ReadUserData SwEvent WriteDeviceData WriteUserData
    
    EPOCSTACKSIZE 	0x6400 // = 25kb (25 * 1024 heksassa = 6400)
    I removed the lang statements from the resource targets, but it still outputs different files for every language. Is there a way to tell the compiler just make just one file for a specified resource target? I feel really dumb at this point, but I really cannot find any info on this...

Similar Threads

  1. Replies: 4
    Last Post: 2007-12-18, 11:06
  2. Mobile Virus Info and Solution
    By kunalshastry in forum General Development Questions
    Replies: 16
    Last Post: 2007-08-07, 11:12
  3. Error Carbide C++ creating the SIS file
    By Naco in forum Symbian
    Replies: 3
    Last Post: 2007-03-14, 22:57
  4. Download sis file fails to install
    By ramiqadi in forum Symbian
    Replies: 2
    Last Post: 2005-08-16, 17:08
  5. Replies: 1
    Last Post: 2005-05-26, 14:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×