This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Edgelib and Carbide


Edgelib and Carbide

Postby Nacho » Mar 19, 2007 @ 4:12pm

Nacho
pm Member
 
Posts: 9
Joined: Oct 27, 2006 @ 2:54pm


Postby edge » Mar 20, 2007 @ 9:26am

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.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho » Mar 20, 2007 @ 2:41pm

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
Nacho
pm Member
 
Posts: 9
Joined: Oct 27, 2006 @ 2:54pm


Postby edge » Mar 20, 2007 @ 2:52pm

Hi Nacho,

To fix these errors you need to add a definition to your workspace. If you're building for S60, define: SERIES60
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho » Mar 20, 2007 @ 3:32pm

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
Nacho
pm Member
 
Posts: 9
Joined: Oct 27, 2006 @ 2:54pm


Postby edge » Mar 22, 2007 @ 10:04pm

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?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho » Mar 23, 2007 @ 3:27pm

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. :)
Nacho
pm Member
 
Posts: 9
Joined: Oct 27, 2006 @ 2:54pm


Postby edge » Mar 23, 2007 @ 4:29pm

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?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho » Mar 23, 2007 @ 4:43pm

Here is the file, Found under: c:\Symbian\Series60_1_2_CW\epoc32\include\

I didn't find the definition.
Attachments
avkon.rar
avkon.hrh, found under: c:\Symbian\Series60_1_2_CW\epoc32\include\
(9 KiB) Downloaded 534 times
Nacho
pm Member
 
Posts: 9
Joined: Oct 27, 2006 @ 2:54pm


Postby edge » Mar 27, 2007 @ 1:19pm

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?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho » Mar 27, 2007 @ 1:42pm

Nacho
pm Member
 
Posts: 9
Joined: Oct 27, 2006 @ 2:54pm


Postby edge » Mar 28, 2007 @ 5:58pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho » Mar 29, 2007 @ 3:30pm

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
Nacho
pm Member
 
Posts: 9
Joined: Oct 27, 2006 @ 2:54pm


Postby edge » Mar 30, 2007 @ 8:34am

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?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby stuff » Jan 4, 2008 @ 12:42am

stuff
pm Member
 
Posts: 41
Joined: Feb 2, 2003 @ 5:22pm


Next

Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron