×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    4

    RCOMP produces cryptic messages instead of telling "xy.rh not found"

    Hi!

    I am new to Symbian C++, I am creating a GPS project, I just created my first application, and import gps example from here:
    http://wiki.forum.nokia.com/index.ph...60_3rd_Edition

    I added the files according to the example. but experienced some error, and finally an error which I cannot resolve it.


    ***Invoking abld command
    perl.exe -S ABLD.PL \Programs\Symbian\Carbide\workspace\FirstGps\group\ resource winscw udeb
    make -r -f "\Programs\Nokia\Devices\Nokia_Symbian3_SDK_v0.9\EPOC32\BUILD\Programs\Symbian\Carbide\workspace\FirstGps\group\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    make -s -r -f "\Programs\Nokia\Devices\Nokia_Symbian3_SDK_v0.9\EPOC32\BUILD\Programs\Symbian\Carbide\workspace\FirstGps\group\FIRSTGPS\WINSCW\FIRSTGPS.WINSCW" RESOURCEUDEB
    9) : syntax error

    RCOMP failed with code 1
    * RCOMP failed - deleting output files
    make[1]: *** [\Programs\Nokia\Devices\Nokia_Symbian3_SDK_v0.9\epoc32\data\z\private\10003a3f\apps\FirstGps_reg.r01] Error 1
    make: *** [RESOURCEFIRSTGPS] Error 2

    Total Time: 2 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \Programs\Symbian\Carbide\workspace\FirstGps\group\ target winscw udeb
    make -r -f "\Programs\Nokia\Devices\Nokia_Symbian3_SDK_v0.9\EPOC32\BUILD\Programs\Symbian\Carbide\workspace\FirstGps\group\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    make -j 4 -s -r -f "\Programs\Nokia\Devices\Nokia_Symbian3_SDK_v0.9\EPOC32\BUILD\Programs\Symbian\Carbide\workspace\FirstGps\group\FIRSTGPS\WINSCW\FIRSTGPS.WINSCW" UDEB
    9) : syntax error
    RCOMP failed with code 1

    * RCOMP failed - deleting output files
    make[1]: *** [\Programs\Nokia\Devices\Nokia_Symbian3_SDK_v0.9\epoc32\data\z\private\10003a3f\apps\FirstGps_reg.r01] Error 1
    make[1]: *** Waiting for unfinished jobs....
    mwldsym2.exe: warning: Multiply defined symbol: ___get_MSL_init_count in
    mwldsym2.exe: warning: files uc_cwhelp.obj (EEXE.LIB), startup.win32.c.obj (MSL_All_MSE_Symbian_D.lib),
    mwldsym2.exe: warning: keeping definition in startup.win32.c.obj
    make: *** [TARGETFIRSTGPS] Error 2



    and in the IDE, this errors:

    1296278731793 * RCOMP failed - deleting output files FirstGps Unknown C/C++ Problem
    1296278731794 RCOMP failed with code 1 FirstGps Unknown C/C++ Problem

    please help me.

  2. #2
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: * RCOMP failed - deleting output files

    Have you installed ActivePerl 5.6.1 and set Environment Variable perl bin path?

    Symbian is required ActivePerl for compilation.......

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    4

    Re: * RCOMP failed - deleting output files

    yes, I have ActivePerl-5.12.2.1203-MSWin32-x64-294165 installed.

  4. #4
    Registered User
    Join Date
    Jan 2011
    Posts
    4

    Re: * RCOMP failed - deleting output files

    I added these lines to the mmp file, and successfully compiled.

    SYSTEMINCLUDE \epoc32\include\mw
    SYSTEMINCLUDE \epoc32\include\platform
    SYSTEMINCLUDE \epoc32\include\platform\mw
    SYSTEMINCLUDE \epoc32\include\bafl

    but why????!!!!! How???!!!

    why this compiler/IDE is very bad.

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

    Re: * RCOMP failed - deleting output files

    You are right, the compiler should indicate when it does not find the include files. I could move this thread to the Feedback board (http://discussion.forum.nokia.com/fo...d-SDK-Feedback), if you agree.

  6. #6
    Registered User
    Join Date
    Jan 2011
    Posts
    4

    Re: * RCOMP failed - deleting output files

    ok, thanks a lot. I completely agree with this.

  7. #7
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: * RCOMP failed - deleting output files

    Quote Originally Posted by margani View Post
    I added these lines to the mmp file, and successfully compiled.

    SYSTEMINCLUDE \epoc32\include\mw
    SYSTEMINCLUDE \epoc32\include\platform
    SYSTEMINCLUDE \epoc32\include\platform\mw
    SYSTEMINCLUDE \epoc32\include\bafl

    but why????!!!!! How???!!!

    why this compiler/IDE is very bad.
    The "why?" and "how?" parts are very easy to explain. You are using a new SDK, with a new compiler, on an old project clearly not designed/optimized for it, and you have not read the minimal porting guide. This porting guide says that you must add one line to the MMP file, a macro that will then include all the above directories, and more.

    I would assume that the resource compiler (rcomp) hasn't been updated in a while. Maybe it would be a good idea to do it now, but I guess it will only happen if we see it having significant impact on Qt SDK's developer experience. The compiler does tell you however that you have a syntax error ( on line 9 of FirstGps_reg.rss? ) so locating the error is not impossible.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,688

    Re: * RCOMP failed - deleting output files

    Anyway, it is moved now, and given a more descriptive title.

Similar Threads

  1. Is there a way to "edit" and "save" the "texts" of received SMS messages?
    By pamir_yasti in forum General Development Questions
    Replies: 1
    Last Post: 2010-07-16, 10:15
  2. How to use "Back" option instead of "Exit"
    By anup007star in forum Symbian
    Replies: 3
    Last Post: 2009-06-30, 13:23
  3. The issue of "Label not found"
    By haykey in forum Symbian
    Replies: 6
    Last Post: 2008-06-15, 09:42

Posting Permissions

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