×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Feb 2007
    Posts
    27

    [Compile Error] .rsg file can not be opened

    Hello,

    I am trying to port my project from 2nd SDK to 3rd SDK edition with Carbide C++ Express.
    I got an error message --- the rsg file cannot be opened.
    The resource can not be generated.

    Please help me to solve this issue.
    Thank you so much.

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: [Compile Error] .rsg file can not be opened

    Could you check whether the .rss file compiles properly without any errors?
    Remove the object code and try again.

  3. #3
    Registered User
    Join Date
    Feb 2007
    Posts
    27

    Re: [Compile Error] .rsg file can not be opened

    Hello,

    I used the following commands
    > bldmake bldfiles --> compile ok
    > abld build winscw udeb --> got several warnings and some errors

    The following are the warnings: (but I have set the system include path in the properties of my project)

    WARNING: Can't find following headers in System Include Path
    <eikon.rh> <avkon.rh> <appinfo.rh>
    (Sys Inc Paths "\Symbian\9.1\S60_3rd\EPOC32\include\")
    Dependency list for "\workspace\Symbian\HelloWorld\data\HelloWorld.rss"
    may be incomplete


    The following are the errors: (I can not find the help guide for Error 2. What does Error 2 mean?)
    make -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\workspace\Symbian\HelloWorld\group\WINSCW.make" LIBRARY VERBOSE=-s
    make -s -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\workspace\Symbian\HelloWorld\group\HelloWorld\WINSCW\HelloWorld.WINSCW" LIBRARY
    make -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\workspace\Symbian\HelloWorld\group\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    make -s -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\workspace\Symbian\HelloWorld\group\HelloWorld\WINSCW\HelloWorld.WINSCW" RESOURCEUDEB
    make[1]: *** No rule to make target `\Symbian\9.1\S60_3rd\EPOC32\INCLUDE\avkon.rsg', needed by `\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\HelloWorld.
    RSC'. Stop.
    make: *** [RESOURCEHELLOWORLD] Error 2
    make -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\workspace\Symbian\HelloWorld\group\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    make -s -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\workspace\Symbian\HelloWorld\group\HelloWorld\WINSCW\HelloWorld.WINSCW" UDEB
    make[1]: *** No rule to make target `\Symbian\9.1\S60_3rd\EPOC32\INCLUDE\avkon.rsg', needed by `\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\HelloWorld.
    RSC'. Stop.
    make: *** [TARGETHELLOWORLD] Error 2
    make -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\workspace\Symbian\HelloWorld\group\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s


    The above are the errors that I got now.
    But I have no idea how to fix them.
    Please help me.

    Thank you for your help.

  4. #4
    Registered User
    Join Date
    Feb 2007
    Posts
    27

    Re: [Compile Error] .rsg file can not be opened

    Hello,

    Finally, the rsg file is created.

    But I can not find the app when I run the emulator.

    What else check I check for this issue?

    Thank you.

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,749

  6. #6
    Regular Contributor
    Join Date
    Nov 2005
    Location
    Aalborg, Denmark
    Posts
    296

    Re: [Compile Error] .rsg file can not be opened

    Quoting Itomuta:

    What makes a GUI exe visible in the menu is the registration resource file (_reg.rss) and the icon defined in it. To make a console application visible on emulator/device create a basic *_reg.rss file like this:
    Code:
    Code:
    #include < appinfo.rh > 
    UID2 KUidAppRegistrationResourceFile 
    UID3 0x???????? // you app's UID3 here 
    RESOURCE APP_REGISTRATION_INFO 
    { 
        app_file="project_exe_name_without_extension"; 
    }
    Maybe you need the _reg.rss file?

  7. #7
    Registered User
    Join Date
    Feb 2007
    Posts
    27

    Re: [Compile Error] .rsg file can not be opened

    Hello,

    Now i can see and run my application on the emulator. :)

    But there are always some warning for the _reg.rss in the following,
    1 (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' btpointtopoint_reg.rss
    1 (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' btpointtopoint_reg.rss
    1 (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' btpointtopoint_reg.rss
    1 (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: 'view_list'

    How to fix these warnings?

    Thank you.

Similar Threads

  1. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  2. Replies: 1
    Last Post: 2005-05-26, 14:22
  3. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22
  4. problem::including .rsg file creates error!!
    By dj2five in forum Symbian
    Replies: 0
    Last Post: 2003-11-17, 07:55
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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