Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User Zarnick's Avatar
    Join Date
    May 2009
    Posts
    7
    Hello, I'm starting to learn Symbian C++ now and I'm trying to build a very simple Hello World application, following the steps under the documentation in the Library, however, when I try to build the HelloWorld application from Carbide, I get this in the logs:
    Code:
    perl.exe -S bldmake.pl bldfiles winscw  
    Total Time: 2 sec
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ export  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do
    Total Time: 2 sec
    ***Cleaning component "HelloWorld" for configuration "Emulator Debug (WINSCW) [S60_5th_Edition_SDK_v1.0]"
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ clean winscw udeb HelloWorld  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\WINSCW.make" CLEANHELLOWORLD CFG=UDEB VERBOSE=-s
    make -j 4 -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\HELLOWORLD\WINSCW\HELLOWORLD.WINSCW" CLEANUDEB
    Total Time: 3 sec
    ***Clean Complete
    ***Generating abld makefile.
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ makefile winscw Icons_scalable_dc  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\WINSCW.make" MAKEFILEICONS_SCALABLE_DC VERBOSE=-s
    make -j 4 -s  -C \Symbian\Carbide\workspace\HelloWorld\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_SCALABLE_DC\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW MAKMAKE
    Total Time: 3 sec
    ***Generating abld makefile.
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ makefile winscw build_help  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\WINSCW.make" MAKEFILEBUILD_HELP VERBOSE=-s
    make -j 4 -s  -C \Symbian\Carbide\workspace\HelloWorld\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\BUILD_HELP\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW MAKMAKE
    Converting rtf files to .ptml.xml
    Converting .ptml.xml files to .csptml.xml
    Converting .csptml.xml files to .asptml.xml
    Converting .cust.xml file to .cshlp.xml
    Converting .asptml.xml files to .cshlp.xml
    processingC:\Symbian\Carbide\workspace\HelloWorld\HELP\custom.xml
    processingC:\Symbian\Carbide\workspace\HelloWorld\HELP\HelloWorld.xml
    Converting cshlp file to EPOCHelp file
    C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winc\urel\cshlpwtr "-ifC:\Symbian\Carbide\workspace\HelloWorld\HELP\temp\HelloWorld_0xE6A6C08E.cshlp.xml" "-ofC:\Symbian\Carbide\workspace\HelloWorld\HELP\HelloWorld_0xE6A6C08E.hlp"
    Extracting contexts into a cpp header file C:\Symbian\Carbide\workspace\HelloWorld\HELP\HelloWorld_0xE6A6C08E.hlp.hrh
            1 file(s) copied.
    Total Time: 7 sec
    ***Generating abld makefile.
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ makefile winscw HelloWorld  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\WINSCW.make" MAKEFILEHELLOWORLD VERBOSE=-s
    perl -S makmake.pl -nd -D \Symbian\Carbide\workspace\HelloWorld\group\HELLOWORLD WINSCW   
    Total Time: 8 sec
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ library winscw  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\WINSCW.make" LIBRARY VERBOSE=-s
    make -s  -C \Symbian\Carbide\workspace\HelloWorld\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_SCALABLE_DC\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW LIB
    make -s  -C \Symbian\Carbide\workspace\HelloWorld\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\BUILD_HELP\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW LIB
    make -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\HELLOWORLD\WINSCW\HELLOWORLD.WINSCW" LIBRARY
    Total Time: 9 sec
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ resource winscw udeb  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    make -s  -C \Symbian\Carbide\workspace\HelloWorld\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_SCALABLE_DC\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW CFG=UDEB RESOURCE
    MifConv version 1.11 build (50, SVG stand-alone).
    Checking: ..\gfx\qgn_menu_HelloWorld.svg
    Choosing...
    Used from: \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools\SVGTBINENCODE.exe.
    Convert files...
    .
    Loading mif icons...
    Loading file: \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\BUILD\s60\icons\temp\sbk.tmp\.._gfx_qgn_menu_HelloWorld.svgb
    Writing mif: \S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\WINSCW\UDEB\Z\resource\apps\HelloWorld_0xE6A6C08E.mif
    make -s  -C \Symbian\Carbide\workspace\HelloWorld\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\BUILD_HELP\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW CFG=UDEB RESOURCE
    make -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\HELLOWORLD\WINSCW\HELLOWORLD.WINSCW" RESOURCEUDEB
    166) : Unterminated string
    167) : syntax error
    171) : syntax error
    176) : *** Unknown character ':' (value 0x3a) 
    RCOMP failed with code 1
    * RCOMP failed - deleting output files
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\data\z\resource\apps\HelloWorld_0xE6A6C08E.rsc] Error 1
    make: *** [RESOURCEHELLOWORLD] Error 2
    Total Time: 10 sec
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ target winscw udeb  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    make -j 4 -s  -C \Symbian\Carbide\workspace\HelloWorld\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_SCALABLE_DC\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW CFG=UDEB BLD
    make -j 4 -s  -C \Symbian\Carbide\workspace\HelloWorld\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\BUILD_HELP\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW CFG=UDEB BLD
    make -j 4 -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\HELLOWORLD\WINSCW\HELLOWORLD.WINSCW" UDEB
    Creating \s60\devices\s60_5th_edition_sdk_v1.0\epoc32\build\symbian\carbide\workspace\helloworld\group\helloworld\winscw\udeb
    HelloWorld.cpp
    HelloWorldApplication.cpp
    C:\Symbian\Carbide\workspace\HelloWorld\data\HelloWorld_reg.rss:24: HelloWorld_0xE6A6C08E.rsg: No such file or directory
    make[1]: *** [C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\build\Symbian\Carbide\workspace\HelloWorld\group\HELLOWORLD\WINSCW\HelloWorld_0xE6A6C08E_reg.rsc.d] Error 33
    make[1]: *** Deleting file `C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\build\Symbian\Carbide\workspace\HelloWorld\group\HELLOWORLD\WINSCW\HelloWorld_0xE6A6C08E_reg.rsc.d'
    make[1]: *** Waiting for unfinished jobs....
    166) : Unterminated string
    167) : syntax error
    171) : syntax error
    176) : *** Unknown character ':' (value 0x3a) 
    RCOMP failed with code 1
    * RCOMP failed - deleting output files
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\data\z\resource\apps\HelloWorld_0xE6A6C08E.rsc] Error 1
    make: *** [TARGETHELLOWORLD] Error 2
    Total Time: 12 sec
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ final winscw udeb  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
    make -j 4 -s  -C \Symbian\Carbide\workspace\HelloWorld\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_SCALABLE_DC\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW CFG=UDEB FINAL
    make -j 4 -s  -C \Symbian\Carbide\workspace\HelloWorld\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\BUILD_HELP\WINSCW TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\HelloWorld\group PLATFORM=WINSCW CFG=UDEB FINAL
    Total Time: 12 sec
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\HelloWorld\group\ test export  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\HelloWorld\group\EXPORTtest.make" EXPORT VERBOSE=-s
    Nothing to do
    Total Time: 12 sec
    ***Errors were detected in build. See the Problems or Console view for details.
    Total Time: 12 sec
    Now, on the Problems tag of Carbide I get 2 items:
    Code:
    * RCOMP failed - deleting output files
    HelloWorld_0xE6A6C08E.rsg: No such file or directory
    Any hint?

    Thanks

  2. #2
    Super Contributor mayankkedia's Avatar
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    RCOMP is the resource compiler, it seems there are some issues with the resource files, please check what you are doing there.
    Cheers,
    Mayank

  3. #3
    Registered User Zarnick's Avatar
    Join Date
    May 2009
    Posts
    7
    Actually I'm not doing anything, it's just a plain new GUI project named HelloWorld, and trying to build it.

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Actually in the build log
    Quote Originally Posted by Zarnick View Post
    166) : Unterminated string
    167) : syntax error
    171) : syntax error
    176) : *** Unknown character ':' (value 0x3a)
    RCOMP failed with code 1
    * RCOMP failed - deleting output files
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\data\z\resource\apps\HelloWorld_0xE6A6C08E.rsc] Error 1
    make: *** [RESOURCEHELLOWORLD] Error 2
    happens earlier, so I would rather check that one. Those are probably line numbers in HelloWorld_0xE6A6C08E.rss

  5. #5
    Super Contributor mayankkedia's Avatar
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    Quote Originally Posted by wizard_hu_ View Post
    Actually in the build loghappens earlier, so I would rather check that one. Those are probably line numbers in HelloWorld_0xE6A6C08E.rss
    Just by the look of the errors, it seems you are using some texts like "Command and forgot to put the closing braces either in your rss file/or the l'x' files, could also be that you are using some resource and have forgotten to close the curly braces or missed out a semi colon at the end, so please do check the resource files again, you will see the error.
    Cheers,
    Mayank

  6. #6
    Registered User Zarnick's Avatar
    Join Date
    May 2009
    Posts
    7
    Hy, from what I could see it looks for a file named:HelloWorld_0xE6A6C08E.rsg, what actually is this file? Because I can't seem to find it anywere, is it some file the compiler will create? (it looks, because of the UID)
    I also can't find the .rsc file the says there's a problem...

  7. #7
    Super Contributor mayankkedia's Avatar
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    Quote Originally Posted by Zarnick View Post
    Hy, from what I could see it looks for a file named:HelloWorld_0xE6A6C08E.rsg, what actually is this file? Because I can't seem to find it anywere, is it some file the compiler will create? (it looks, because of the UID)
    I also can't find the .rsc file the says there's a problem...
    .rsg/.rsc files would be generated by the resource compiler after compiling the .rss file, check the sdk for more details :-

    http://library.forum.nokia.com/index...DCF6A6EBB.html

    so ideally you should be looking in your .rss/.rssi/.l'x' files where 'x' is the language code specified in the pkg/mmp file, mostly it should be 10, those are the files which would be the problem ones in your case and hence the reason wy u dont see the generated/compiled files.
    Cheers,
    Mayank

  8. #8
    Registered User Zarnick's Avatar
    Join Date
    May 2009
    Posts
    7
    Can this problem be related to some kind of Perl or WinXP SP3 issue? Because this happens only at work, at home it builds and runs normally :O.

  9. #9
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    The 'g' in .xyg files means generated. So such files (mainly .rsg-s and .mbg-s) are generated upon successful compilation of some other file (like HelloWorld_0xE6A6C08E.rss in your case). However since the compilation of that other file fails, the generated file is not generated. And it will not be available when needed.
    Now you have got your hints I think.

    SP does not really matter, the language of your Windows might matter more in fact.

  10. #10
    Registered User MForceOne's Avatar
    Join Date
    May 2009
    Posts
    27
    Hi Zarnick,

    have you been able to build the HelloWorld project successfully?

    I try to do the same with Carbide.c++ v2.0 build 014 and S60_5th_Edition_SDK_v1.0
    I created a S60 GUI Application template project and run build.
    I get errors like:

    Creation Time Description Resource Path Location Type
    1247689369097 the file 'HelloWorld_0xE7866B80.hlp.hrh' cannot be opened HelloWorldAppUi.cpp HelloWorld/src line 21 C/C++ Problem
    1247689369159 undefined identifier 'KGeneral_Information' HelloWorldAppUi.cpp HelloWorld/src line 204 C/C++ Problem

    How did you solve the problem?
    Does anybody else know why the S60 GUI template project wont compile how it is?

    Thanks
    Mirko

  11. #11
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    If you search for KGeneral_Information using the box on the left, you will see that it is a common problem - the help file of the generated projects can not be built with certain configurations. A quickfix is commenting the two problematic lines (the #include and the one referring to KGeneral_Information).

Similar Threads

  1. Unable to build the application while using javax.xml.parsers.*;
    By gsunilkumarbca in forum Mobile Java General
    Replies: 2
    Last Post: 2008-09-27, 20:21
  2. Carbide.c++ Express don't want build HelloWorld
    By azarov-it in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 7
    Last Post: 2006-04-09, 11:00
  3. Application doesnot get build for the Device
    By yogesh14 in forum Symbian C++
    Replies: 2
    Last Post: 2005-09-16, 12:26
  4. Problem when build the application
    By djj718 in forum Symbian C++
    Replies: 3
    Last Post: 2003-09-10, 13:02
  5. how to build application on nokia9210 device.
    By chinazou305 in forum Symbian C++
    Replies: 1
    Last Post: 2002-09-12, 10:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved