×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    problem with Code Warrior 5.2

    hi..
    I am trying to build Symbian applications using CodeWarrior 5.2,but when i try to import projects it gives me an error:-'The makmake tool failed to generate the project XML file.Project Creation aborted'...
    contents of the log file:-
    -------------------------------------------------------------------
    perl -S makmake.pl HelloWorld.mmp cw_ide
    Platform CW_IDE
    Real Name WINSCW
    Compiler CW32
    OS WINS
    CPU WINS
    ASSP WINSCW
    ABI WINSCW
    CompatibleABIs
    ASSPABI
    Makefile Module Ide_cw
    Makefile Type make
    MMP Macros CW32 WINS WINSCW
    Macros __SYMBIAN32__ __CW32__ __WINS__ __WINSCW__
    Blds UDEB UREL
    Loading Module: "MMP.PM"
    Platform CW_IDE
    Real Name WINSCW
    Compiler CW32
    OS WINS
    CPU WINS
    ASSP WINSCW
    ABI WINSCW
    CompatibleABIs
    ASSPABI
    Makefile Module Ide_cw
    Makefile Type make
    MMP Macros CW32 WINS WINSCW
    Macros __SYMBIAN32__ __CW32__ __WINS__ __WINSCW__
    Blds UDEB UREL
    CPP.EXE -undef -D CW32=___CW32 -D WINS=___WINS -D WINSCW=___WINSCW ".\HELLOWORLD.MMP"

    MMPFILE "\SYMBIAN BACKUPS\NEW WORKS\HEY\HELLOWORLD.MMP"
    WARNING(S)
    \SYMBIAN BACKUPS\NEW WORKS\HEY\HELLOWORLD.MMP(15) : USERINCLUDE path "\SYMBIAN BACKUPS\NEW WORKS\COMMONFRAMEWORK\" not found

    Couldn't open C:/Symbian/UIQ_21/epoc32/tools\CW_project_template_v2.xml:
    No such file or directory at C:\Symbian\UIQ_21\epoc32\tools\/IDE_CW.PM line 100
    Loading Module: "IDE_CW.PM"
    Detected CodeWarrior for Symbian OS, version 2.0

    ---------------------------------------------------------------------------------------------


    When i import a project using XML file and try to compile :-.it gives me the error:-
    Could not find or load the file "EEXE.LIB" for target "HELLOWORLD WINSCW UDEB" for project "2ndseptember.mcp".

    Error : the file 'e32base.h' cannot be opened
    CommonFramework.h line 9

    Error : the file 'e32cons.h' cannot be opened
    CommonFramework.h line 10

    Error : declaration syntax error
    CommonFramework.h line 12

    Error : declaration syntax error
    CommonFramework.h line 13

    Error : declaration syntax error
    CommonFramework.h line 14

    Error : declaration syntax error
    CommonFramework.h line 15

    Error : declaration syntax error
    CommonFramework.h line 16

    Error : declaration syntax error
    CommonFramework.h line 19

    Error : declaration syntax error
    CommonFramework.h line 20

    Error : declaration syntax error
    CommonFramework.h line 23

    Error : declaration syntax error
    CommonFramework.h line 25

    Error : undefined identifier '__UHEAP_MARK'
    CommonFramework.h line 27

    Error : undefined identifier 'CTrapCleanup'
    CommonFramework.h line 28

    Error : undefined identifier 'error'
    CommonFramework.h line 29

    Error : undefined identifier 'error'
    CommonFramework.h line 30

    Error : undefined identifier 'cleanup'
    CommonFramework.h line 31

    Error : undefined identifier '__UHEAP_MARKEND'
    CommonFramework.h line 32

    Error : declaration syntax error
    CommonFramework.h line 36

    Error : undefined identifier 'Console'
    CommonFramework.h line 38

    Error : undefined identifier 'CleanupStack'
    CommonFramework.h line 39

    Error : undefined identifier 'error'
    CommonFramework.h line 40

    Error : undefined identifier 'error'
    CommonFramework.h line 41

    Error : expression syntax error
    CommonFramework.h line 42

    Error : expression syntax error
    CommonFramework.h line 43

    Error : ';' expected
    CommonFramework.h line 44

    Error : expression syntax error
    CommonFramework.h line 45

    Error : expression syntax error
    CommonFramework.h line 46

    Error : undefined identifier 'CleanupStack'
    CommonFramework.h line 47

    Error : declaration syntax error
    HelloWorld.cpp line 7

    Error : declaration syntax error
    HelloWorld.cpp line 10

    Error : declaration syntax error
    HelloWorld.cpp line 13

    Error : declaration syntax error
    HelloWorld.cpp line 16

    Error : declaration syntax error
    HelloWorld.cpp line 19

    Error : declaration syntax error
    HelloWorld.cpp line 25

    Error : undefined identifier 'KHelloWorldText'
    HelloWorld.cpp line 27

    Error : expression syntax error
    HelloWorld.cpp line 28

    Error : Compile failed

    Could not find or load the file "EUSER.LIB" for target "HELLOWORLD WINSCW UDEB" for project "2ndseptember.mcp".

    ....
    but when i search for the missing files in my folder C\Symbian\UIQ_21..it shows there.
    the entire thing was running fine..until i formatted my computer and installed the SDK and Codewarrior again..in case someone knows how to fix it please let me know.

    i really dont know what i am missing out..can someone please help me with this..
    regards

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    44
    We need to focus on the first problem with the import failing. Check in your epoc32\tools\ directory for cw_project_template_v2.xml. It sounds like that file is missing, but I'm pretty sure it should be installed by the SDK. Maybe it got removed somehow? Maybe you need to re-install the SDK? I could send you the file but there may be other thigs missing as well.

    Thanks,
    Wapa

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    thanks for yur reply..but i have reinstalled the SDK again..and somehow the error is still there..and also the file in question is there in the directory..what else could be the issue?
    ciao

  4. #4
    Super Contributor
    Join Date
    Feb 2004
    Location
    Dallas
    Posts
    605
    Try this to see if you can generate the XML file:

    1) make sure that your UIQ 70 SDK is default (type 'devices' at a command prompt)
    2) In the MMP folder type: "makmake <mmp file name> cw_ide:WINSCW"
    3) There should be an XML file generated in that folder. If not, what errors do you get?

    Cheers,
    Amit

  5. #5
    Registered User
    Join Date
    Jun 2006
    Posts
    1

    Re: problem with Code Warrior 5.2

    when i run "devices" at a command prompt
    it gives me a message:
    UIQ_21:com.symbian.UIQ
    UIQ_21:com.symbian.UIQ-runtime

    when "makmake <Game.mmp> cw_ide:WINSCW" :

    To use Symbian OS tools without specifying a device name, a default
    device must be set using the devices -setdefault command.


    My English is very poooooor ,sorry^_^
    Last edited by huboao; 2006-06-22 at 08:40.

Posting Permissions

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