Page 1 of 2

Edgelib and Carbide

PostPosted: Mar 19, 2007 @ 4:12pm
by Nacho

PostPosted: Mar 20, 2007 @ 9:26am
by edge
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.

PostPosted: Mar 20, 2007 @ 2:41pm
by Nacho
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

PostPosted: Mar 20, 2007 @ 2:52pm
by edge
Hi Nacho,

To fix these errors you need to add a definition to your workspace. If you're building for S60, define: SERIES60

PostPosted: Mar 20, 2007 @ 3:32pm
by Nacho
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

PostPosted: Mar 22, 2007 @ 10:04pm
by edge
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?

PostPosted: Mar 23, 2007 @ 3:27pm
by Nacho
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. :)

PostPosted: Mar 23, 2007 @ 4:29pm
by edge
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?

PostPosted: Mar 23, 2007 @ 4:43pm
by Nacho
Here is the file, Found under: c:\Symbian\Series60_1_2_CW\epoc32\include\

I didn't find the definition.

PostPosted: Mar 27, 2007 @ 1:19pm
by edge
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?

PostPosted: Mar 27, 2007 @ 1:42pm
by Nacho

PostPosted: Mar 28, 2007 @ 5:58pm
by edge

PostPosted: Mar 29, 2007 @ 3:30pm
by Nacho
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

PostPosted: Mar 30, 2007 @ 8:34am
by edge
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?

PostPosted: Jan 4, 2008 @ 12:42am
by stuff