Edgelib and Carbide
Hi,
Is it possible to use Carbide to develop, debug, generate sis files, etc for Symbian with edgelib ?
In this case, what configuration i have to have in the ide? i mean, include paths, libs, etc.
For now, I read the page "Getting started with Symbian" on the edge site, i installed nS60_v1_2_for_MW, copy the lib files as the page says and added the include directories for edge.
Thanks a lot.
Hi Nacho,
Yes, you can use Carbide to develop Symbian applications using Edge.
If you get linker errors, I suggest editing the carbide project file with a text editor instead of adding them in eclipse, because editing the file directly can be done more quickly.
Im getting these errors when i try to complile a release version:
Severity Description Resource In Folder Location Creation Time Id
2 *** [C:/Symbian/Carbide/workspace/testEdge2/install/testEdge2_EKA1.sis] Error 1 testEdge2 20 de marzo de 2007 10:40:55 483
2 *** [src/testEdge2.o] Error 1 testEdge2 20 de marzo de 2007 10:40:55 481
2 #error "Edge only supports Symbian (Series 60, 80, 90 & UIQ), Windows Mobile (Pocket PC & Smartphone), Linux (GP2X) and Desktop PC's"[C:\Archivos de programa\Edge\include\edgedevice.h] testEdge2 line 51 20 de marzo de 2007 10:40:55 474
2 C:\Archivos de programa\Edge\include\edgedevice.h #error "Edge only supports Symbian (Series 60, 80, 90 & UIQ), Windows Mobile (Pocket PC & Smartphone), Linux (GP2X) and Desktop PC's" testEdge2 line 51 20 de marzo de 2007 10:40:55 473
2 C:\Archivos de programa\Edge\include\edgedevice.h winsock2.h: No such file or directory testEdge2 line 207 20 de marzo de 2007 10:40:55 475
2 winsock2.h: No such file or directory[C:\Archivos de programa\Edge\include\edgedevice.h] testEdge2 line 207 20 de marzo de 2007 10:40:55 476
2 C:\Archivos de programa\Edge\include\edgedevice.h windows.h: No such file or directory testEdge2 line 208 20 de marzo de 2007 10:40:55 477
2 windows.h: No such file or directory[C:\Archivos de programa\Edge\include\edgedevice.h] testEdge2 line 208 20 de marzo de 2007 10:40:55 478
2 C:\Archivos de programa\Edge\include\edgedevice.h ws2bth.h: No such file or directory testEdge2 line 209 20 de marzo de 2007 10:40:55 479
2 ws2bth.h: No such file or directory[C:\Archivos de programa\Edge\include\edgedevice.h] testEdge2 line 209 20 de marzo de 2007 10:40:55 480
2 file not found testEdge2_EKA1.pkg testEdge2/install line 21 20 de marzo de 2007 10:40:55 482
Hi Nacho,
To fix these errors you need to add a definition to your workspace. If you're building for S60, define: SERIES60
Thx, i put the define and now im getting these:
Severity Description Resource In Folder Location Creation Time Id
2 *** [C:/Symbian/Carbide/workspace/testEdge2/install/testEdge2_EKA1.sis] Error 1 testEdge2 20 de marzo de 2007 11:17:54 603
2 *** [src/testEdge2.o] Error 1 testEdge2 20 de marzo de 2007 11:17:54 601
2 C:\Archivos de programa\Edge\include\edgedevice.h Etel3rdParty.h: No such file or directory testEdge2 line 139 20 de marzo de 2007 11:17:54 595
2 C:\Archivos de programa\Edge\include\edgedevice.h stdlib.h: No such file or directory testEdge2 line 150 20 de marzo de 2007 11:17:54 597
2 C:\Archivos de programa\Edge\include\edgemain.h eikstart.h: No such file or directory testEdge2 line 128 20 de marzo de 2007 11:17:54 599
2 eikstart.h: No such file or directory[C:\Archivos de programa\Edge\include\edgemain.h] testEdge2 line 128 20 de marzo de 2007 11:17:54 600
2 Etel3rdParty.h: No such file or directory[C:\Archivos de programa\Edge\include\edgedevice.h] testEdge2 line 139 20 de marzo de 2007 11:17:54 596
2 file not found testEdge2_EKA1.pkg testEdge2/install line 21 20 de marzo de 2007 11:17:54 602
2 stdlib.h: No such file or directory[C:\Archivos de programa\Edge\include\edgedevice.h] testEdge2 line 150 20 de marzo de 2007 11:17:54 598
Console output:
make -k all
'Building file: ../src/testEdge2.cpp'
'Invoking: GCC98 Compiler'
gcc.exe -nostdinc -pipe -c -s -fomit-frame-pointer -O -march=armv4t -mthumb-interwork -DNDEBUG -D_UNICODE -D__SYMBIAN32__ -D__EXE__ -D__GCC32__ -D__EPOC32__ -D__MARM__ -D__MARM_ARMI__ -DSERIES60 -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -MD -I "C:\Symbian\Carbide\workspace\testEdge2\inc" -I "C:\Symbian\Series60_1_2_CW\epoc32\include" -I "C:\Archivos de programa\Edge\include" -o src/testEdge2.o ../src/testEdge2.cpp
In file included from C:\Archivos de programa\Edge\include\edge.h:20,
from C:\Archivos de programa\Edge\include\edgemain.h:15,
from ../src/testEdge2.cpp:17:
C:\Archivos de programa\Edge\include\edgedevice.h:139: Etel3rdParty.h: No such file or directory
In file included from C:\Archivos de programa\Edge\include\edge.h:20,
from C:\Archivos de programa\Edge\include\edgemain.h:15,
from ../src/testEdge2.cpp:17:
C:\Archivos de programa\Edge\include\edgedevice.h:150: stdlib.h: No such file or directory
In file included from ../src/testEdge2.cpp:17:
C:\Archivos de programa\Edge\include\edgemain.h:128: eikstart.h: No such file or directory
make: *** [src/testEdge2.o] Error 1
'Building file: install/testEdge2_EKA1.pkg'
'Invoking: MakeSis (Installation File Generator)'
makesis.exe "install/testEdge2_EKA1.pkg" C:/Symbian/Carbide/workspace/testEdge2/install/testEdge2_EKA1.sis
Processing install/testEdge2_EKA1.pkg...
install/testEdge2_EKA1.pkg(21) : error: file not found
make: *** [C:/Symbian/Carbide/workspace/testEdge2/install/testEdge2_EKA1.sis] Error 1
make: Target `all' not remade because of errors.
Build complete for project testEdge2
Hi Nacho,
It seems like you're missing a number of header files. Can you tell me which Series 60 SDK you're using?
If you look in the Symbian SDK installation folder, are you able to find these files?
Sure, Im using Series60_1_2_CW (the page says V1.2 for Codewarrior or Carbide.c++), i downloaded it from
http://www.newlc.com/Nokia-Series-60-SDK.html.
I couldn't find these files in the sdk directory:
eikstart.h
Etel3rdParty.h
testEdge2_EKA1.pkg
stdlib.h found in:
c:\Symbian\Series60_1_2_CW\epoc32\include\libc\
Thx.

Hi Nacho,
It seems like a definition has been added to an old Symbian SDK which messes up a few things (we used this to determine the SDK version).
Would you like to check your avkon.hrh file in the Symbian SDK and search for the following definition: EAknListBoxStylusMarkableList? Also, would you like to attach the file to this topic?
Here is the file, Found under: c:\Symbian\Series60_1_2_CW\epoc32\include\
I didn't find the definition.
Hi Nacho,
Can you tell me if you have multiple Symbian SDK's installed?
If you enter 'devices' at the command prompt, you see a list of installed Symbian SDK's. Can you post the output of this command in this topic?
I installed just that one.
This is the output:
Series60_1_2_CW:com.Nokia.Series60_1_2_CW - default
Hi Nacho,
I think I've found the cause of the error. Would you like to open edgedevice.h and comment out this code?
- Code:
// #ifdef __EXE__
// #define DEVICE_SYMBIANEXE
// #endif
Done. I compiled and i had to add c:\Symbian\Series60_1_2_CW\epoc32\include\libc\ to the include paths because it couldn't find stdlib.h. Is this ok?
Now is throwing this:
Severity Description Resource In Folder Location Creation Time Id
2 *** [C:/Symbian/Carbide/workspace/testEdge2/install/testEdge2_EKA1.sis] Error 1 testEdge2 29 de marzo de 2007 11:29:05 668
2 *** [testEdge2.bas] Error 1 testEdge2 29 de marzo de 2007 11:29:05 666
2 file not found testEdge2_EKA1.pkg testEdge2/install line 21 29 de marzo de 2007 11:29:05 667
Hi Nacho,
Great to hear that the compiler errors have been resolved now. Adding libc to the include paths is fine as well.
Unfortunately, I can't really tell what the remaining error message is. Do you have console output?
I can't manage to compile a single helloworld sample, what an humiliation :)
Here is the error in console:
- Code:
make[1]: *** No rule to make target `\SDK\Symbian\9.2\S60_3rd_FP1_2\EPOC32\RELEASE\WINSCW\UDEB\edge.lib', needed by
`\SDK\Symbian\9.2\S60_3rd_FP1_2\EPOC32\RELEASE\WINSCW\UDEB\helloworld.exe'. Stop.
who can help ?
Hi,
To solve this issue you need to copy all EDGELIB libraries for your target platform into the library folder of the SDK.
In your case you probably need to copy the files from c:\projects\edge\lib\symbian-s60_e3rd-emu to \SDK\Symbian\9.2\S60_3rd_FP1_2\EPOC32\RELEASE\WINSCW\UDEB.
If it still doesn't work, you need to download a different version of the Symbian SDK. We recommend the first build of the S60 third edition SDK.