×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Aug 2010
    Posts
    347

    .rsg file not found

    Hello list,

    I am trying to include the generated .rsg file in my _reg.rss file. But I get the error from the emulator that the file could not be found. To check on the cause of the error, I created a dummy s60 UI project and by default the #include statement for the .rsg file was generated inside the _reg.rss file. And when I compiled the project, it compiled without any issues. I made sure that I closely replicated the structure of the resource files and .mmp file in the dummy project, in my project, including the syntax and the directory paths for system files. But when I recompiled, I got the same error indicating that the .rsg file could not be found. I did a file search on my system to see whether the .rsg file for my project was actually generated, and I could see that it had been generated inside \epoc32\include, which is one of the paths specified for SYSTEMINCLUDE in my .mmp file.

    I would appreciate any suggestions to resolve this. BTW, I have checked for spelling errors and have eliminated that possibility as well.

    thanks
    Vin

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,542

    Re: .rsg file not found

    Does your mmp file have a target for resource like
    Code:
    START RESOURCE    Test.rss
    HEADER
    TARGET Test_0xE0315626
    TARGETPATH resource\apps
    END

  3. #3
    Regular Contributor
    Join Date
    Aug 2010
    Posts
    347

    Re: .rsg file not found

    Quote Originally Posted by Symbian_Neil View Post
    Does your mmp file have a target for resource like
    Code:
    START RESOURCE    Test.rss
    HEADER
    TARGET Test_0xE0315626
    TARGETPATH resource\apps
    END
    Here are the START RESOURCE statements from my .mmp file:

    SOURCEPATH ..\data
    START RESOURCE CardGameGUIAppVer1_reg.rss
    TARGET CardGameGUIAppVer1_reg
    TARGETPATH \resource\apps
    HEADER
    END
    START RESOURCE CardGameGUIAppVer1.rss
    TARGET CardGameGUIAppVer1
    TARGETPATH \resource\apps
    HEADER
    END


    I can see the .rsg file for the target CardGameGUIAppVer1 listed inside the path \epoc32\inlcude when I do a file search using Windows. But when I compile the code after #including the same, I get the error that the file cannot be found.
    thanks
    Vin

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: .rsg file not found

    Based on the dependency you are already aware of, it may worth a try swapping the two blocks...

Similar Threads

  1. RSG file not found
    By nair.shanker in forum Symbian
    Replies: 13
    Last Post: 2010-10-25, 10:40
  2. Replies: 6
    Last Post: 2009-12-03, 05:21
  3. error .rsg file:Help me!
    By mundial in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2009-02-25, 16:02
  4. VS error: *.rsg file not found
    By bullzi in forum Symbian
    Replies: 5
    Last Post: 2004-12-21, 07:05
  5. Replies: 0
    Last Post: 2003-10-24, 03:03

Posting Permissions

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