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";
};
}
......



