×

Discussion Board

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

    RCOMP Error: apparent issue in _reg.rss

    Hi,

    Here is the error log generated by the compiler when I try to compile my code base using Carbide V2.3 for S60_5th_Edition_SDK_V1.0:

    ***Building project "CardGameGUIAppVer1" for configuration "Emulator Debug (WINSCW) [S60_5th_Edition_SDK_v1.0]"

    ***Printing environment variables modified from default:
    MWSYM2LIBRARIES=C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\Runtime\Runtime_x86\Runtime_Win32\Libs
    MWCSYM2INCLUDES=C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;+C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK;
    PATH=C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Tools\Command_Line_Tools;C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools;C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\gcc\bin;C:/Program Files/Nokia/Carbide.c++ v2.3/jre/bin/client;C:/Program Files/Nokia/Carbide.c++ v2.3/jre/bin;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Common Files\Symbian\Tools;C:\Perl\bin\;C:\Perl\bin\;C:\Program Files\PC Connectivity Solution\;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Symbian\UIQ3.1SDK\epoc32\tools\nokia_compiler\Symbian_Tools\Command_Line_Tools
    =::=::\
    MWCINCLUDES=C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;+C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK;
    EPOCROOT=\S60\devices\S60_5th_Edition_SDK_v1.0\
    NO_DEPENDENCIES=-nd
    MAKE=make -j 4

    Working Directory: C:/Symbian/Carbide/workspace/CardGameGUIAppVer1/group

    ***Makefile structures up to date. Skipping 'bldmake bldfiles'

    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\CardGameGUIAppVer1\group\ export
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do

    Total Time: 0 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\CardGameGUIAppVer1\group\ library winscw
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\WINSCW.make" LIBRARY VERBOSE=-s
    make -s -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\CARDGAMEGUIAPPVER1\WINSCW\CARDGAMEGUIAPPVER1.WINSCW" LIBRARY

    Total Time: 0 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\CardGameGUIAppVer1\group\ resource winscw udeb
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    make -s -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\CARDGAMEGUIAPPVER1\WINSCW\CARDGAMEGUIAPPVER1.WINSCW" RESOURCEUDEB
    Created \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\include\CardGameGUI.mbg
    Created \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\include\Cards.mbg

    Created \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\include\CardGameGUIAppVer1_reg.rsg
    9) : syntax error
    RCOMP failed with code 1

    * RCOMP failed - deleting output files
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\data\z\resource\CardGameGUIAppVer1.rsc] Error 1
    make: *** [RESOURCECARDGAMEGUIAPPVER1] Error 2

    Total Time: 2 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\CardGameGUIAppVer1\group\ target winscw udeb
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    make -j 4 -s -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\CARDGAMEGUIAPPVER1\WINSCW\CARDGAMEGUIAPPVER1.WINSCW" UDEB
    Creating \s60\devices\s60_5th_edition_sdk_v1.0\epoc32\build\symbian\carbide\workspace\cardgameguiappver1\group\cardgameguiappver1\winscw\udeb
    Created \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\z\resources\apps\CardGameGUI.mbm
    Created \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\z\resources\apps\Cards.mbm
    Created \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\z\resource\CardGameGUIAppVer1_reg.rsc

    BasicGUIController.cpp


    9) : syntax error
    RCOMP failed with code 1

    * RCOMP failed - deleting output files
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\data\z\resource\CardGameGUIAppVer1.rsc] Error 1
    make[1]: *** Waiting for unfinished jobs....
    BasicGUIView.cpp
    make[1]: *** Waiting for unfinished jobs....
    cards.cpp
    make[1]: *** Waiting for unfinished jobs....
    make[1]: *** Waiting for unfinished jobs....
    make[1]: *** Waiting for unfinished jobs....
    ..\src\BasicGUIView.cpp:29: warning: variable / argument 'aRect' is not used in function
    make: *** [TARGETCARDGAMEGUIAPPVER1] Error 2

    Total Time: 6 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\CardGameGUIAppVer1\group\ final winscw udeb
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s

    Total Time: 6 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\CardGameGUIAppVer1\group\ test export
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\CardGameGUIAppVer1\group\EXPORTtest.make" EXPORT VERBOSE=-s
    Nothing to do

    Total Time: 6 sec

    ***Errors were detected in build. See the Problems or Console view for details.

    Total Time: 6 sec

    In the above log, based on the bold text, I conclude that the compilation process could not generate the .rsc file at first but could successfully do so subsequently. Please correct me if this reading of mine is not correct.
    I have reproduced below my _reg.rss file and the files included therein for examination. Any help would be appreicated.
    thanks
    Vin

    /*CardGameGUIAppVer1_reg.rss*/
    ------------------------------------------------------------------------------
    #include "CardGameGUIAppVer1.rls"
    #include"CardGameGUIAppVer1.hrh"
    UID2 KUidAppRegistrationResourceFile
    UID3 0xE0000001
    RESOURCE APP_REGISTRATION_INFO
    {
    app_file = "CardGameUiAppVer1";
    localisable_resource_file = STRING_r_app_loc_resource_file;
    localisable_resource_id = R_CARDGAMEGUI_LOCALISABLE_APP_INFO;
    }
    /*CardGameGUIAppVer1.rls*/
    ------------------------------------------------------------------------------
    #include<appinfo.rh>
    #ifdef LANGUAGE_23
    #include "CardGameGUIAppVer123.rls"
    #elif defined LANGUAGE_01
    #include "CardGameGUIAppVer101.rls"
    #endif

    /*CardGameGUIAppVer1.hrh*/
    ------------------------------------------------------------------------------
    enum TCommandIds
    {
    EGUICmdDeal = 0,
    EGUICmdShuffle
    };
    enum TApplicationResourceId
    {
    R_CARDGAMEGUI_LOCALISABLE_APP_INFO = 1
    };
    enum TModeSelected
    {
    EModeNoneSelected,
    EModePlaying,
    EModeEndGame
    };
    And here is CardGameGUIAppVer123.rls. CardGameGUIAppVer101.rls is the same.

    rls_string STRING_r_app_title_pane "CardGame"
    rls_string STRING_r_app_navi_pane "Game On"
    rls_string STRING_r_app_gui_cmd_deal "Deal"
    rls_string STRING_r_app_gui_cmd_shuffle "Shuffle"
    rls_string STRING_r_app_short_caption "CardGame"
    rls_string STRING_r_app_caption "This CardGame"
    rls_string STRING_r_app_basic_icons_filename "\resources\apps\CardGameGUI.mbm"
    rls_string STRING_r_app_game_icons_filename "\resources\apps\Cards.mbm"
    rls_string STRING_r_app_loc_resource_file "\resources\apps\CardGameGUIAppVer1"

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,086

    Re: RCOMP Error: apparent issue in _reg.rss

    Created \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\include\CardGameGUIAppVer1_reg.rsg
    9) : syntax error


    i think the error is at the specified line (9)

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

    Re: RCOMP Error: apparent issue in _reg.rss

    Hi,
    Based on the log, I presume the line number refers to the _reg.rsg file?
    I have reproduced the _reg.rss file in my previous post.
    Can you help me identify the problem?
    thanks
    Vin

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

    Re: RCOMP Error: apparent issue in _reg.rss

    You are not #include-ing the .rsg file (presumably CardGameGUIAppVer1.rsg), that is why it can not find out what R_CARDGAMEGUI_LOCALISABLE_APP_INFO could be. However an other error message may suggest that the main resource does not compile neither.

Similar Threads

  1. Replies: 3
    Last Post: 2010-08-13, 17:50
  2. Replies: 2
    Last Post: 2010-06-16, 21:13
  3. _reg.rss and license error. Carbide.c++ really strange behaviour
    By Lichtens in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2009-02-25, 12:37
  4. RCOMP Error
    By prakashforum in forum Symbian
    Replies: 3
    Last Post: 2007-06-11, 08:00

Posting Permissions

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