×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    39

    cannot build s60 2.x helloworld gui

    Hi,

    I cannot build the default s60 2.x helloworld gui application, on a fresh installed carbide.c++ express + sdk 2rd ed. fp2 cw. Build trace is too long to put here, but some parts are like that. It seems it is all about "file not found"s.

    Thank you.

    Mete


    **** Full rebuild of configuration S60 2.6 Emulator Debug for project
    'Building file: ../data/Template.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I -I- -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -o"C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/Template/Template.rsc" -hC:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\include\Template.rsg ../data/Template.rss
    ../data/Template.rss:16: Template.hrh: No such file or directory
    ../data/Template.rss:17: Template.loc: No such file or directory
    * cpp failed
    make: *** [C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/Template/Template.rsc] Error 2
    'Building file: ../data/Template_caption.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I -I- -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -o"C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/Template/Template_caption.rsc" -hC:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\include\Template_caption.rsg ../data/Template_caption.rss
    ../data/Template_caption.rss:10: Template.loc: No such file or directory
    * cpp failed
    make: *** [C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/Template/Template_caption.rsc] Error 2
    'Building file: ../aif/Templateaif.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I -I- -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -o"C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/Template/Templateaif.rsc" -hC:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\include\Templateaif.rsg ../aif/Templateaif.rss

    'Finished building: ../aif/Templateaif.rss'
    ' '
    'Building file: ../src/TemplateApp.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -o src/TemplateApp.o ../src/TemplateApp.cpp
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateApp.cpp|11|12|15|322|15)
    =#include "TemplateApp.h"
    >the file 'TemplateApp.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateApp.cpp|12|12|20|351|20)
    =#include "TemplateDocument.h"
    >the file 'TemplateDocument.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateApp.cpp|21|0|4|626|4)
    =TUid CTemplateApp::AppDllUid() const
    >undefined identifier 'TUid'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateApp.cpp|32|0|12|909|12)
    =CApaDocument* CTemplateApp::CreateDocumentL()
    >undefined identifier 'CApaDocument'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateApp.cpp|33|4|1|960|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateApp.cpp|45|0|8|1301|8)
    =EXPORT_C CApaApplication* NewApplication()
    >undefined identifier 'EXPORT_C'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateApp.cpp|46|4|1|1349|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error

    Errors caused tool to abort.
    (C:\projects\carbide\Template\src\TemplateApp.cpp|56|0|7|1613|7)
    =GLDEF_C TInt E32Dll( TDllReason )
    >undefined identifier 'GLDEF_C'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateApp.cpp|57|4|1|1652|1)
    = {
    >declaration syntax error
    make: *** [src/TemplateApp.o] Error 1
    'Building file: ../src/TemplateAppUi.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -o src/TemplateAppUi.o ../src/TemplateAppUi.cpp
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|11|9|17|329|17)
    =#include "TemplateAppui.h"
    >the file 'TemplateAppui.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|12|9|21|357|21)
    =#include "TemplateContainer.h"
    >the file 'TemplateContainer.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|13|9|14|389|14)
    =#include <Template.rsg>
    >the file 'Template.rsg' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|14|9|14|414|14)
    =#include "Template.hrh"
    >the file 'Template.hrh' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|26|5|14|725|14)
    =void CTemplateAppUi::ConstructL()
    >undefined identifier 'CTemplateAppUi'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|27|4|1|759|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|30|4|13|791|13)
    = iAppContainer = new (ELeave) CTemplateContainer;
    >undefined identifier 'iAppContainer'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|31|17|2|858|2)
    = iAppContainer->SetMopParent( this );
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|32|17|2|900|2)
    = iAppContainer->ConstructL( ClientRect() );
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|33|4|11|935|11)
    = AddToStackL( iAppContainer );
    >undefined identifier 'AddToStackL'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|34|4|1|970|1)
    = }
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|42|0|14|1175|14)
    =CTemplateAppUi::~CTemplateAppUi()
    >undefined identifier 'CTemplateAppUi'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|43|4|1|1214|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|59|5|14|1866|14)
    =void CTemplateAppUi:ynInitMenuPaneL(
    >undefined identifier 'CTemplateAppUi'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|61|4|1|1960|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|70|13|14|2234|14)
    =TKeyResponse CTemplateAppUi::HandleKeyEventL(
    >undefined identifier 'CTemplateAppUi'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|72|4|1|2330|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|81|5|14|2582|14)
    =void CTemplateAppUi::HandleCommandL(TInt aCommand)
    >undefined identifier 'CTemplateAppUi'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|82|4|1|2633|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|94|4|1|2901|9)
    = (STATIC_CAST(CEikonEnv*,iCoeEnv))->InfoMsg(_L("test"));
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|97|61|14|3050|14)

    Errors caused tool to abort.
    = HBufC* message = CEikonEnv::Static()->AllocReadResourceLC(R_MESSAGE_TEXT);
    >undefined identifier 'R_MESSAGE_TEXT'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|100|12|4|3191|4)
    = note->ExecuteLD(message->Des());
    >undefined identifier 'note'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|101|31|7|3256|7)
    = CleanupStack::PopAndDestroy(message);
    >undefined identifier 'message'
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|102|12|5|3279|5)
    = break;
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|103|12|1|3299|1)
    = }
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|106|8|7|3366|7)
    = default:
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateAppUi.cpp|108|8|1|3404|1)
    = }
    >declaration syntax error
    make: *** [src/TemplateAppUi.o] Error 1
    'Building file: ../src/TemplateContainer.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -o src/TemplateContainer.o ../src/TemplateContainer.cpp
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateContainer.cpp|11|9|21|335|21)
    =#include "TemplateContainer.h"
    >the file 'TemplateContainer.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\projects\carbide\Template\src\TemplateContainer.cpp|23|5|18|702|18)
    =void CTemplateContainer::ConstructL(const TRect& aRect)

  2. #2
    Registered User
    Join Date
    Apr 2005
    Posts
    39

    Re: regional settings bug ?!

    Regional settings of my computer was Turkish/Turkey. I have changed it to English/USA and now I can build the hello world application. It seems there is a bug or something as in previous versions of netbeans (i dont know about the version 5).

    Mete

Similar Threads

  1. carbide.j S60 3rd e build problems
    By lalle112 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2007-05-25, 16:54
  2. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29
  3. Carbide.vs - How to make build configuration for S60 and S80 ARMI in one project
    By Zdenko61 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-04-27, 12:53
  4. Helloworld build failure - help
    By tcalamawy in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2006-03-20, 17:38
  5. Carbide.c++, Eclipse, S60 3.0 HelloWorld bug
    By jamiehush in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-02-23, 08:02

Posting Permissions

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