×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    118

    RComp Failed with error code 1 Camera Application

    HI Im newb to symbian programming. Im working on linux and just configured symbian sdk on linux. Hey Im trying Camera Application.

    I downloaded one example from forum but not compiling on
    s60 2nd Edition, WINS, giving problem that ecam.lib needed

    so i copied that from other sdk or from thumb folder but it help to compiling and creating sis but application exits after installation on device.

    i tried to compile same source on S60 2nd Edition, FP2, CW as source is compatible with S60 2nd Edition, FP2, CW but it gives error
    RCOMP failed with code 1
    * RCOMP failed - deleting output files


    All paths are sets correctly as other sample applications are compiling and executing

    So can anyone guide me to solve the problem?
    Please tell me as im newb and stuck at this problem
    Last edited by swarupk2007; 2008-03-17 at 07:57.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: RComp Failed with error code 1 Camera Application

    you should not copy libraries from other SDK's, since they will likely cause all sort of nasty problems.

    anyway have a look into these:
    http://discussion.forum.nokia.com/fo...t=RCOMP+failed
    http://discussion.forum.nokia.com/fo...t=RCOMP+failed

    Basically it would be interesting to see what the error codes shown before are.

  3. #3
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    118

    Re: RComp Failed with error code 1 Camera Application

    Thanks for the reply.
    But still not getting why error occured as rss file syntax is right

  4. #4
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    118

    Re: RComp Failed with error code 1 Camera Application

    This is the part of the error that occured


    ' (value 0xd) pp.hrh(76) : *** Unknown character '
    ' (value 0xd) pp.hrh(77) : *** Unknown character '
    ' (value 0xd) pp.hrh(78) : *** Unknown character '
    ' (value 0xd) pp.hrh(79) : *** Unknown character '
    ' (value 0xd) pp.hrh(80) : *** Unknown character '
    ' (value 0xd) pp.hrh(81) : *** Unknown character '
    ' (value 0xd) pp.hrh(82) : *** Unknown character '
    ' (value 0xd) pp.loc(13) : *** Unknown character '
    ' (value 0xd) pp.loc(14) : *** Unknown character '
    ' (value 0xd) pp.loc(16) : *** Unknown character '
    ' (value 0xd) pp.loc(24) : *** Unknown character '
    ' (value 0xd) pp.loc(27) : *** Unknown character '

    .
    .
    .
    .

    path\..\data\cameraapp.rss(206) : *** Unk' (value 0xd) '
    path\..\data\cameraapp.rss(207) : *** Unk' (value 0xd) '
    path\..\data\cameraapp.rss(208) : *** Unk' (value 0xd) '
    RCOMP failed with code 1
    * RCOMP failed - deleting output files
    make[1]: *** [path/../epoc32/data/z/system/apps/cameraapp/cameraapp.rsc] Error 1
    make: *** [TARGETcameraapp] Error 2
    make: Nothing to be done for `FINAL'.

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: RComp Failed with error code 1 Camera Application

    and what would be in the pp.hrh file on those line locations.

  6. #6
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    118

    Re: RComp Failed with error code 1 Camera Application

    There is no file as pp.hrh and pp.loc

    There are files like cameraapp.hrh and cameraapp.loc

    Dont know how pp.hrh and pp.loc names comes in error

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: RComp Failed with error code 1 Camera Application

    My guess about
    (value 0xd) pp.hrh(76) : *** Unknown character
    is that you have accidentally put a line-break in the middle of the word "cameraapp" somewhere - probably in a #include statement:
    Code:
    #include "cameraa
    pp.hrh"
    for example. 0xd is a linebreak character.
    And/or simply check if you use special characters in the referred lines of cameraapp.hrh and cameraapp.loc

  8. #8
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    118

    Re: RComp Failed with error code 1 Camera Application

    I think the problem is withing cameraapp.armi file since error generated after following steps, but i found cameraapp.armi entries identical to another application's (which is compiles and runs correctly) .armi file in the format, so still guessing actual reason of error

    make: Nothing to be done for `EXPORT'.
    perl -S makmake.pl -D /path/s60_26_cw/series60ex/cameraapp/group/cameraapp ARMI
    make -s -r -f "/path/s60_26_cw/epoc32/build/path/s60_26_cw/series60ex/cameraapp/group/cameraapp/armi/cameraapp.armi" LIBRARY
    make -s -r -f "/path/s60_26_cw/epoc32/build/path/s60_26_cw/series60ex/cameraapp/group/cameraapp/armi/cameraapp.armi" RESOURCEUREL

  9. #9
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    118

    Re: RComp Failed with error code 1 Camera Application

    I got another camera autofocus example compiled successfully on my linux machine on s60 2nd fp3 edition.
    It is tested on device as well.

Similar Threads

  1. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  2. RCOMP failed with code 1
    By zasdfaaa in forum Symbian
    Replies: 3
    Last Post: 2006-11-21, 05:53
  3. N93 native camera crash the application
    By binli120 in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-11-20, 21:01
  4. Replies: 1
    Last Post: 2006-09-16, 15:05
  5. Camera application + Active objects
    By rishabht in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-06-08, 12:28

Posting Permissions

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