×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    20

    probem with generating .rsg file for s60 version3 in Carbide

    When I build my project, I got the following error code:

    'Building file: ../data/MyProject.rss'
    ....
    C:\\Symbian\\9.1\\S60_3rd\\epoc32\\include\\e32def.h(481) : syntax error
    RCOMP failed with code 1
    * RCOMP failed - deleting output files

    Does anyone know what is wrong? Thanks! Below is part of my rss file:

    // INCLUDES
    #include "avkon.rsg"
    #include "avkon.rh"
    #include "eikon.rh"
    #include "e32const.h"
    #include "appinfo.rh"

    RESOURCE RSS_SIGNATURE { }

    // ---------------------------------------------------------
    //
    // Default Document Name
    //
    // ---------------------------------------------------------
    //
    RESOURCE TBUF r_default_document_name { buf=""; }

    // ---------------------------------------------------------
    //
    // Define default menu, hotkeys and CBA keys.
    //
    // ---------------------------------------------------------
    RESOURCE EIK_APP_INFO
    {
    menubar = r_myproject_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }


    // ---------------------------------------------------------
    //
    // r_myproject_menubar
    // Menubar for myproject example
    //
    // ---------------------------------------------------------
    //
    RESOURCE MENU_BAR r_myproject_menubar
    {
    titles =
    {
    MENU_TITLE
    {
    menu_pane = r_myproject_main_menu;
    }
    };
    }

    .......

    // ----------------------------------------------------------------------------
    //
    // r_localisable_app_info
    //
    // ----------------------------------------------------------------------------
    //
    RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
    {
    short_caption = qtn_caption_string;
    caption_and_icon =
    CAPTION_AND_ICON_INFO
    {
    caption = qtn_caption_string;

    number_of_icons = 1;
    icon_file = "\\resource\\apps\\myproject_icon.mif";
    };
    }
    ......
    Last edited by zhengy; 2006-05-05 at 13:16.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: probem with generating .rsg file for s60 version3 in Carbide

    You should not include C++ headers (e32const.h in this case) in an .rss file. Line 481 of e32def.h is a typedef which has no meaning for rcomp.

Similar Threads

  1. Replies: 1
    Last Post: 2005-05-26, 14:22
  2. Replies: 1
    Last Post: 2004-01-19, 09:50
  3. Replies: 0
    Last Post: 2002-08-06, 22:31
  4. Generating a sis file
    By pappago in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-07-26, 05:51
  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
  •  
×