×

Discussion Board

Results 1 to 2 of 2

Thread: Whats missing?

  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    Oxford - London
    Posts
    6

    Whats missing?

    Hello...

    I am trying to compile/link/debug simple helloworld program for Symbian UIQ 3.
    I having problem from VS 2003 .NET ->Eclipse's->Symbian Addin program generated. When compile the following error thrown

    Updating HelloALK.mmp based on Deb_UIQ_3_WINSCW
    Update of mmp file not needed
    WINS (emulator) build
    ------ Build started: Project: HelloALK, Configuration: Deb_UIQ_3_WINSCW Win32 ------

    Performing Pre-Build Event...
    * Current build configuration: WINSCW UDEB
    Warning: UID cpp file can not be fixed. Template does not exist.
    Performing Custom Build Step
    * Current build configuration: WINSCW UDEB
    Warning: UID cpp file can not be fixed. Template does not exist.
    Performing Custom Build Step
    * Current build configuration: WINSCW UDEB
    Warning: UID cpp file can not be fixed. Template does not exist.
    Performing Custom Build Step
    * Current build configuration: WINSCW UDEB
    Warning: UID cpp file can not be fixed. Template does not exist.
    Compiling...
    epocroot =
    * C:\Nokia\Tools\NDS_for_SymbianOS_VS\WINSCW\Symbian_Tools\Command_Line_Tools\mwccsym2.exe -c -g -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -O0 -nostdinc -i- -d "__DLL__" -d "__SYMBIAN32__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_WINDLL" -i "j:\Work\Project2\HelloALK\HelloALK\group" -i "j:\Work\Project2\HelloALK\HelloALK\inc" -i "C:\Symbian\UIQ3SDK\\epoc32\include" .\group\helloalk.uid.cpp -o j:\Work\Project2\HelloALK\HelloALK\Deb_UIQ_3_WINSCW/"helloalk.uid.obj
    group\helloalk.uid.cpp:4: undefined identifier '__WINS_UID'
    group\helloalk.uid.cpp:4: illegal initialization
    Errors caused tool to abort.
    epocroot =
    * C:\Nokia\Tools\NDS_for_SymbianOS_VS\WINSCW\Symbian_Tools\Command_Line_Tools\mwccsym2.exe -c -g -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -O0 -nostdinc -i- -d "__DLL__" -d "__SYMBIAN32__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_WINDLL" -i "j:\Work\Project2\HelloALK\HelloALK\group" -i "j:\Work\Project2\HelloALK\HelloALK\inc" -i "C:\Symbian\UIQ3SDK\\epoc32\include" .\src\HelloALKDocument.cpp -o j:\Work\Project2\HelloALK\HelloALK\Deb_UIQ_3_WINSCW/"HelloALKDocument.obj
    inc\HelloALKDocument.h:15: the file 'akndoc.h' cannot be opened
    inc\HelloALKDocument.h:27: undefined identifier 'CAknDocument'
    inc\HelloALKDocument.h:33: undefined identifier 'CEikApplication'
    inc\HelloALKDocument.h:38: declaration syntax error
    inc\HelloALKDocument.h:40: declaration syntax error
    inc\HelloALKDocument.h:42: declaration syntax error
    inc\HelloALKDocument.h:45: declaration syntax error
    inc\HelloALKDocument.h:47: declaration syntax error
    inc\HelloALKDocument.h:52: ')' expected
    inc\HelloALKDocument.h:55: declaration syntax error
    inc\HelloALKDocument.h:61: declaration syntax error
    inc\HelloALKAppui.h:15: the file 'aknappui.h' cannot be opened
    C:\Symbian\UIQ3SDK\epoc32\include\EikEnv.h:41: typename redefined
    C:\Symbian\UIQ3SDK\epoc32\include\EikEnv.h:41: (included from:
    C:\Symbian\UIQ3SDK\epoc32\include\EikEnv.h:41: C:\Symbian\UIQ3SDK\epoc32\include\eikdialg.h:14
    C:\Symbian\UIQ3SDK\epoc32\include\EikEnv.h:41: J:\Work\Project2\HelloALK\HelloALK\inc\HelloALKAppui.h:16
    C:\Symbian\UIQ3SDK\epoc32\include\EikEnv.h:41: J:\Work\Project2\HelloALK\HelloALK\src\HelloALKDocument.cpp:13)
    inc\HelloALKAppui.h:30: undefined identifier 'CAknAppUi'
    src\HelloALKDocument.cpp:18: undefined identifier '?0'
    src\HelloALKDocument.cpp:19: ';' expected
    src\HelloALKDocument.cpp:20: declaration syntax error
    src\HelloALKDocument.cpp:24: undefined identifier '?1'
    src\HelloALKDocument.cpp:30: undefined identifier 'ConstructL'
    src\HelloALKDocument.cpp:34: undefined identifier 'CHelloALKDocument'
    src\HelloALKDocument.cpp:36: declaration syntax error
    src\HelloALKDocument.cpp:42: declaration syntax error
    src\HelloALKDocument.cpp:43: declaration syntax error
    src\HelloALKDocument.cpp:51: undefined identifier 'CreateAppUiL'
    Errors caused tool to abort.
    epocroot =
    * C:\Nokia\Tools\NDS_for_SymbianOS_VS\WINSCW\Symbian_Tools\Command_Line_Tools\mwccsym2.exe -c -g -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -O0 -nostdinc -i- -d "__DLL__" -d "__SYMBIAN32__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_WINDLL" -i "j:\Work\Project2\HelloALK\HelloALK\group" -i "j:\Work\Project2\HelloALK\HelloALK\inc" -i "C:\Symbian\UIQ3SDK\\epoc32\include" .\src\HelloALKDialog.cpp -o j:\Work\Project2\HelloALK\HelloALK\Deb_UIQ_3_WINSCW/"HelloALKDialog.obj
    src\HelloALKDialog.cpp:15: the file 'avkon.hrh' cannot be opened
    src\HelloALKDialog.cpp:16: the file 'aknappui.h' cannot be opened
    src\HelloALKDialog.cpp:35: undefined identifier 'EAknSoftkeyOptions'
    src\HelloALKDialog.cpp:37: undefined identifier 'iAvkonAppUi'
    src\HelloALKDialog.cpp:39: undefined identifier 'EAknSoftkeyBack'
    src\HelloALKDialog.cpp:41: undefined identifier 'iAvkonAppUi'
    Errors caused tool to abort.
    epocroot =
    * C:\Nokia\Tools\NDS_for_SymbianOS_VS\WINSCW\Symbian_Tools\Command_Line_Tools\mwccsym2.exe -c -g -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -O0 -nostdinc -i- -d "__DLL__" -d "__SYMBIAN32__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_WINDLL" -i "j:\Work\Project2\HelloALK\HelloALK\group" -i "j:\Work\Project2\HelloALK\HelloALK\inc" -i "C:\Symbian\UIQ3SDK\\epoc32\include" .\src\HelloALKAppUi.cpp -o j:\Work\Project2\HelloALK\HelloALK\Deb_UIQ_3_WINSCW/"HelloALKAppUi.obj
    inc\HelloALKAppui.h:15: the file 'aknappui.h' cannot be opened
    inc\HelloALKAppui.h:30: undefined identifier 'CAknAppUi'
    src\HelloALKAppUi.cpp:14: the file 'HelloALK.rsg' cannot be opened
    src\HelloALKAppUi.cpp:17: the file 'avkon.hrh' cannot be opened
    src\HelloALKAppUi.cpp:28: undefined identifier 'BaseConstructL'
    src\HelloALKAppUi.cpp:31: function call '[CHelloALKDialog].SetMopParent({lval} CHelloALKAppUi *)' does not match
    src\HelloALKAppUi.cpp:31: 'CCoeControl::SetMopParent(MObjectProvider *)' (non-static)
    src\HelloALKAppUi.cpp:32: undefined identifier 'R_HELLOALK_DIALOG'
    src\HelloALKAppUi.cpp:33: undefined identifier 'AddToStackL'
    src\HelloALKAppUi.cpp:46: undefined identifier 'RemoveFromStack'
    src\HelloALKAppUi.cpp:87: undefined identifier 'Exit'
    src\HelloALKAppUi.cpp:92: undefined identifier 'iCoeEnv'
    Errors caused tool to abort.
    epocroot =
    * C:\Nokia\Tools\NDS_for_SymbianOS_VS\WINSCW\Symbian_Tools\Command_Line_Tools\mwccsym2.exe -c -g -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -O0 -nostdinc -i- -d "__DLL__" -d "__SYMBIAN32__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_WINDLL" -i "j:\Work\Project2\HelloALK\HelloALK\group" -i "j:\Work\Project2\HelloALK\HelloALK\inc" -i "C:\Symbian\UIQ3SDK\\epoc32\include" .\src\HelloALKApp.cpp -o j:\Work\Project2\HelloALK\HelloALK\Deb_UIQ_3_WINSCW/"HelloALKApp.obj
    inc\HelloALKApp.h:15: the file 'aknapp.h' cannot be opened
    inc\HelloALKApp.h:19: warning: implicit 'int' is no longer supported in C++
    inc\HelloALKApp.h:19: ';' expected
    inc\HelloALKApp.h:28: undefined identifier 'CAknApplication'
    inc\HelloALKApp.h:38: undefined identifier 'CApaDocument'
    inc\HelloALKApp.h:44: undefined identifier 'TUid'
    inc\HelloALKDocument.h:15: the file 'akndoc.h' cannot be opened
    inc\HelloALKDocument.h:27: undefined identifier 'CAknDocument'
    inc\HelloALKDocument.h:33: undefined identifier 'CEikApplication'
    inc\HelloALKDocument.h:38: declaration syntax error
    inc\HelloALKDocument.h:40: declaration syntax error
    inc\HelloALKDocument.h:42: declaration syntax error
    inc\HelloALKDocument.h:45: declaration syntax error
    inc\HelloALKDocument.h:47: declaration syntax error
    inc\HelloALKDocument.h:52: ')' expected
    inc\HelloALKDocument.h:55: declaration syntax error
    inc\HelloALKDocument.h:61: declaration syntax error
    src\HelloALKApp.cpp:22: undefined identifier 'TUid'
    src\HelloALKApp.cpp:34: undefined identifier 'CreateDocumentL'
    src\HelloALKApp.cpp:46: undefined identifier 'EXPORT_C'
    src\HelloALKApp.cpp:47: declaration syntax error
    src\HelloALKApp.cpp:57: undefined identifier 'GLDEF_C'
    src\HelloALKApp.cpp:58: declaration syntax error
    Errors caused tool to abort.
    HelloALK : error PRJ0002 : error result returned from 'cl.exe'.
    Project : warning PRJ0018 : The following environment variables were not found:
    $(RESOURCE_TARGET_PATH)

    Build Time 0:06
    Build log was saved at "file://j:\Work\Project2\HelloALK\HelloALK\\BuildLog.htm"
    HelloALK - 1 error(s), 1 warning(s)


    ---------------------- Done ----------------------

    Build: 0 succeeded, 1 failed, 0 skipped

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Whats missing?

    In general, pls post issues related to UIQ's Carbide support package on the UIQ discussion boards.

    However in this case it seems that your Carbide.vs installation is totally broken, the error messages relate to missing files that should have been added by the installation... Pls uninstall both Carbide.vs and the UIQ plugin, read the Installation guide and then reinstall.

Similar Threads

  1. header files missing in the 3rd edition
    By laxman_shankar in forum Symbian
    Replies: 7
    Last Post: 2007-07-20, 01:25
  2. MMS SDK : missing transaction id header
    By vincent.czerniak in forum General Messaging
    Replies: 1
    Last Post: 2006-01-27, 08:53
  3. ant run-mms-send-with-mm7 and ant run-mms-receive-with-mm7
    By tomerbd in forum General Messaging
    Replies: 0
    Last Post: 2005-11-10, 06:32
  4. 6260 missing libraries??
    By ppiggy in forum Symbian
    Replies: 1
    Last Post: 2004-10-20, 16:09
  5. Nokia Mobile Server 1.3 SDK mmsc mm7 API (1/2)
    By kehong in forum General Messaging
    Replies: 4
    Last Post: 2004-02-09, 11:45

Posting Permissions

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