Problem in compiling Code \Examples\stdlib\guiapp in SDK Ser 60/ Code Warrior
Dear All,
I am getting compilation errors, while trying to compile the Example code in the path \Series60_v21_CW\Examples\stdlib\guiapp.
The errors are
Error : illegal use of incomplete struct/union/class 'CEikDialog'
guiapp.h line 66
Error : illegal use of incomplete struct/union/class 'CEikDialog'
guiapp.h line 79
Error : undefined identifier 'CEikFileNameSelector'
guiapp.cpp line 32
Error : undefined identifier 'Control'
guiapp.cpp line 33
Error : undefined identifier 'CEikFolderNameSelector'
guiapp.cpp line 34
Error : undefined identifier 'Control'
guiapp.cpp line 35
Error : undefined identifier 'CEikDriveNameSelector'
guiapp.cpp line 36
Error : undefined identifier 'Control'
guiapp.cpp line 37
Error : undefined identifier 'folderNameSelector'
guiapp.cpp line 38
Error : undefined identifier 'driveNameSelector'
guiapp.cpp line 39
Error : undefined identifier 'driveNameSelector'
guiapp.cpp line 42
Error : undefined identifier 'SetTitleL'
guiapp.cpp line 44
Error : undefined identifier 'CEikFileNameSelector'
guiapp.cpp line 51
Error : undefined identifier 'Control'
guiapp.cpp line 52
Error : undefined identifier 'fileNameSelector'
guiapp.cpp line 53
Error : undefined identifier 'fileNameSelector'
guiapp.cpp line 55
Error : undefined identifier 'iCoeEnv'
guiapp.cpp line 63
Error : undefined identifier 'iCoeEnv'
guiapp.cpp line 70
Error : undefined identifier 'iCoeEnv'
guiapp.cpp line 78
Error : undefined identifier 'CEikTextListBox'
guiapp.cpp line 91
Error : undefined identifier 'listbox'
guiapp.cpp line 92
Error : undefined identifier 'CEikScrollBarFrame'
guiapp.cpp line 99
Error : undefined identifier 'scrollbarFrame'
guiapp.cpp line 101
Error : undefined identifier 'CEikScrollBarFrame'
guiapp.cpp line 102
Error : undefined identifier 'SetCornerAndSize'
guiapp.cpp line 109
Error : illegal implicit conversion from 'CExampleChecksumDialog *' to 'CEikDialog *'
guiapp.cpp line 252
Error : illegal use of incomplete struct/union/class 'CEikDialog'
guiapp.cpp line 253
Error : ';' expected
guiapp.cpp line 257
Error : declaration syntax error
guiapp.cpp line 259
Error : illegal implicit conversion from 'CExampleListBoxDialog *' to 'CEikDialog *'
guiapp.cpp line 264
Error : illegal use of incomplete struct/union/class 'CEikDialog'
guiapp.cpp line 265
Error : Compile failed
Could not find or load the file "EIKFILE.LIB" for target "WINSCW UDEB" for project "guiapp.mcp".
Please help me out.
Thanks in Advance.
Senthil
Re: Problem in compiling Code \Examples\stdlib\guiapp in SDK Ser 60/ Code Warrior
i m facing the same problem, but i m not able to resolve them.
Re: Problem in compiling Code \Examples\stdlib\guiapp in SDK Ser 60/ Code Warrior
You may try to include the necessary headers. Check the SDK Help, and search in the epoc32\include directory when the SDK Help does not help (e.g. search for "class CEikDialog" - without the quotes - if the SDK you use does not contain it in the Help).
In general forget examples in the Examples folder, they are more like readings. The examples in Series60Ex (or S60Ex) are more runnable.
Re: Problem in compiling Code \Examples\stdlib\guiapp in SDK Ser 60/ Code Warrior
source code in example folders are not for s60. they r developed for testing purpose. It may not compile properly. But the source can be used as a reference.