×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    2

    compiling problem

    i created a s60 2.x hello gui application and built it and got this problems,probably a very common problem but cant get rid off

    'Finished building: ../aif/csk.aifdef'
    ' '
    'Building file: ../data/csk.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I -I- -I"C:\Symbian\7.0s\Series60_v20_CW\epoc32\include" -o"C:/Symbian/7.0s/Series60_v20_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/csk/csk.rsc" -hC:\Symbian\7.0s\Series60_v20_CW\EPOC32\include\csk.rsg ../data/csk.rss
    ../data/csk.rss:16: csk.hrh: No such file or directory
    ../data/csk.rss:17: csk.loc: No such file or directory
    * cpp failed
    make: *** [C:/Symbian/7.0s/Series60_v20_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/csk/csk.rsc] Error 2
    'Building file: ../data/csk_caption.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I -I- -I"C:\Symbian\7.0s\Series60_v20_CW\epoc32\include" -o"C:/Symbian/7.0s/Series60_v20_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/csk/csk_caption.rsc" -hC:\Symbian\7.0s\Series60_v20_CW\EPOC32\include\csk_caption.rsg ../data/csk_caption.rss
    ../data/csk_caption.rss:10: csk.loc: No such file or directory
    * cpp failed
    make: *** [C:/Symbian/7.0s/Series60_v20_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/csk/csk_caption.rsc] Error 2
    'Building file: ../aif/cskaif.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I -I- -I"C:\Symbian\7.0s\Series60_v20_CW\epoc32\include" -o"C:/Symbian/7.0s/Series60_v20_CW/EPOC32/RELEASE/WİNSCW/UDEB/Z/system/apps/csk/cskaif.rsc" -hC:\Symbian\7.0s\Series60_v20_CW\EPOC32\include\cskaif.rsg ../aif/cskaif.rss

    'Finished building: ../aif/cskaif.rss'
    ' '
    'Building file: ../src/cskApp.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\7.0s\Series60_v20_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/cskApp.o ../src/cskApp.cpp
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|11|12|10|305|10)
    =#include "cskApp.h"
    >the file 'cskApp.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|12|12|15|329|15)
    =#include "cskDocument.h"
    >the file 'cskDocument.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|21|0|4|594|4)
    =TUid CcskApp::AppDllUid() const
    >undefined identifier 'TUid'
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|32|0|12|857|12)
    =CApaDocument* CcskApp::CreateDocumentL()
    >undefined identifier 'CApaDocument'
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|33|4|1|903|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|45|0|8|1234|8)
    =EXPORT_C CApaApplication* NewApplication()
    >undefined identifier 'EXPORT_C'
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|46|4|1|1282|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|56|0|7|1541|7)
    =GLDEF_C TInt E32Dll( TDllReason )
    >undefined identifier 'GLDEF_C'
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskApp.cpp|57|4|1|1580|1)
    = {
    >declaration syntax error

    Errors caused tool to abort.
    make: *** [src/cskApp.o] Error 1
    'Building file: ../src/cskAppUi.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\7.0s\Series60_v20_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/cskAppUi.o ../src/cskAppUi.cpp
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskAppUi.cpp|11|9|12|307|12)
    =#include "cskAppui.h"
    >the file 'cskAppui.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskAppUi.cpp|12|9|16|330|16)
    =#include "cskContainer.h"
    >the file 'cskContainer.h' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskAppUi.cpp|13|9|9|357|9)
    =#include <csk.rsg>
    >the file 'csk.rsg' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskAppUi.cpp|14|9|9|377|9)
    =#include "csk.hrh"
    >the file 'csk.hrh' cannot be opened
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskAppUi.cpp|26|5|9|678|9)
    =void CcskAppUi::ConstructL()
    >undefined identifier 'CcskAppUi'
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskAppUi.cpp|27|4|1|707|1)
    = {
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskAppUi.cpp|30|4|13|739|13)
    = iAppContainer = new (ELeave) CcskContainer;
    >undefined identifier 'iAppContainer'
    mwccsym2.exe|Compiler|Error
    (C:\wrk\csk\src\cskAppUi.cpp|31|17|2|801|2)
    = iAppContainer->SetMopParent( this );
    >declaration syntax error

    thanks for your assistance.

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

    Re: compiling problem

    It is complaining about missing includes (.loc, .hrh, .h). Since it is unlikely that your code has no headers at all, you should check the USERINCLUDE line in the .mmp. Make sure it contains ..\inc, or create it if it does not exist.

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    2

    Re: compiling problem

    i am using carbide express. i forgot to tell that.

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    17

    Re: compiling problem

    Hi there...

    I see you have numerous problems after looking at your build script

    ../data/csk.rss:16: csk.hrh: No such file or directory
    ../data/csk.rss:17: csk.loc: No such file or directory

    these two lines mention that your resource compiler can't find the files for resource compiling. check to see if your include paths for your resource compiler are correct or not??...your project should have these files mentioned under the data subtree. if not then you haven't created your project correctly. try recreating it using the Appwizard in Carbide C++.

    Similarly, the source compiler complains that your header files cannot be found either. that points even more strongly to the fact that your paths have not be placed correctly. have you imported this project?? Or have you opened this project from another Project workspace.

    My recommendation would be to create a new Workspace and the re-create the hellogui with Carbides appwizard ( Just go File _>New-> project->Symbian OS C++ project.

    Hope this helps you in some way buddy.

  5. #5
    Registered User
    Join Date
    May 2003
    Posts
    187

    Re: compiling problem

    Hi,
    I'm getting this error when using carbide with S60 3rd edition

    C:\DOCUME~1\admin2\LOCALS~1\Temp\make300878.sh: command not found: mwccsym2.exe

    Can you please help to solve it

    Regards,
    Rami

Similar Threads

  1. problem when stop playing video on 3650 and try to play again
    By niko86 in forum Mobile Java General
    Replies: 5
    Last Post: 2007-08-03, 07:40
  2. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  3. Replies: 3
    Last Post: 2007-01-18, 11:27
  4. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  5. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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