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

Visual Studio 2005


Visual Studio 2005

Postby guynemer » Jan 18, 2007 @ 2:02pm

Hello, I wondered if it was possible to use the edge sdk with VS2005. I'm asking because i just can't get to install the 2003 version :?


Do I absolutely need to install Carbide_vs package to use the edge SDK with Visual Studio ?[/i]
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby edge » Jan 18, 2007 @ 4:31pm

Hi Guynemer,

Can you tell me for which platform you like to build?

Edge provides libraries for Visual Studio 2005 for both Windows Mobile and Windows Desktop.
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 guynemer » Jan 18, 2007 @ 5:06pm

Ok , I would like to try Edge lib to develop a game for Nokia 6680 (S60 Symbian 2nd edition FP2) using Visual Studio.

And i would like to do so with either VS 2003 or 2005. (I think I might have to use 2003 since Carbide_vs doesn't work with 2005).

Actually i'm not sure what to do. DO I need the SDK from Symbian ? Do I need Carbide_vs ? I'm not even sure ...

I've tried to find a complete tutorial on how to do so , but in vain until now...


The complete example given on the website seems to be used with command line programs :?
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby edge » Jan 18, 2007 @ 7:02pm

Hi Guynemer,

To target the Nokia 6680 we recommend using the Series 60 first edition SDK from Nokia. It contains the compiler and all needed OS libraries.

CarbIDE unfortunately, doesn't work yet with Visual Studio 2005. You may want to try Carbide.c++ express. If you don't want to use CarbIDE, we recommend using the Edge IDE tool to build your Symbian applications.

Please see the following page for more information about the Edge IDE:
http://www.edgelib.com/index.php?node=712

Please let us know if you need any more help.
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 guynemer » Jan 18, 2007 @ 7:12pm

CarbIDE doesn't work with Visual Studio, yes , but there's a module caleld carbide_vs which allow to use VS...

I've tried the Edge IDE (well it's jsut a compilation tool, right ? Not something like VS ; right ? just askin) , but when i try to compile it goes looking for gcc.Exe in a path that looks like "c:\symbian\6.1\...epoc32\...\gcc.exe" .

But since i installed the sdk elsewhere , it doesn't work and i haven't found how to configure this in the menus.


Furthermore I believe 6680 is S60 2nd ed , and not first ... that might be a problem since in Edge IDE it's proposed only 1rst and 3rd ed :?
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby guynemer » Jan 18, 2007 @ 7:26pm

Oh I forgot to say that right now i'm using the blastar souce code as the base.

I'm trying to use it and compile it myself with the EDGE IDE.


Theere's a "build setup" command, but it ends in an error :

Fatal error: Can't execute command '"C:\Symbian\6.1\Shared\EPOC32\Tools\makesis.exe" "D:\blastar_source\workspace_eide_320x240\release\Series 60 (1st edition)\Blastar.pkg"'
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby guynemer » Jan 18, 2007 @ 9:08pm

Sorry i didn't read correctly the help for the Edge IDE.

I correctly configured the .ini files, but i still have problems :/

I've downloaded the "1st Edition, FP1, WINS" SDK from forum.nokia. and installed it to d:\Symbian\6.1\... path.

I've configured the .ini file in the directorythe s60 1rst ed.

Now it correctly find gcc.exe , but i still have errors :





---------------- Building: Blastar - Series 60 (1st edition) Release ----------------
blastar.cpp
In file included from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\coeaui.h:10,
from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\eikappui.h:10,
from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\aknappui.h:13,
from d:\\edge\\include\\edgedevice.h:84,
from d:\\edge\\include\\edge.h:20,
from d:\\edge\\include\\edgemain.h:15,
from blastar.cpp:16:
D:\\Symbian\\6.1\\Series60\\epoc32\\include\\e32std.h:3012:Type' was not declared in this scope
...

\\include\\e32std.inl: In method `TIdentityRelation<T>::TIdentityRelation(TBool (*)(const T &, const T &))':
In file included from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\e32std.h:3304,
from D:\\Symian\\6.1\\Series60\\epoc32\\include\\coeaui.h:10,
from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\eikappui.h:10,
from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\aknappui.h:13,
from d:\\edge\\includeedgedevice.h:84,
from d:\\edge\\include\\edge.h:20,
from d:\\edge\\include\\edgemain.h:15,
from blastar.cpp:16:
D:\\Symbian\\6.1\\Series60\\epoc32\\include\\e32std.inl:1485: parse error before `;'
...

In file included from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\coeaui.h:14,
from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\eikappui.h:10,
from D:\\Symbian\\6.1\\Series60\\epoc32\\include\\aknappui.h:13,
from d:\\edge\\include\\edgedevice.h:84,
from d:\\edge\\include\\edge.h:20,
from d:\\edge\\include\\edgemain.h:15,
from blastar.cpp:16:
D:\\Symbian\\6.1\\Series60\\epoc32\\include\\e32base.h:160: `TIdentityRelation<T>::CArrayFix' does not declare a template type
...

P.S. : By the way by using this method i think it's impossible to have an emulation of the program, like it owuld be possible with VS... AM I wrong ?

And it's also impossible to cross-compile for x86 Platforms and s60 , right ?
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby edge » Jan 18, 2007 @ 9:32pm

Hi Guynemer,

The errors are the cause of a bug in the Symbian SDK header files. Read more about it here:
http://discussion.forum.nokia.com/forum ... hp?t=31240

You can fix it by running the dos2linux command as mentioned in the topic, or you can download the codewarrior SDK and replace these header files (e32std.h, e32std.inl and e32base.h).

The Edge IDE isn't capable of creating Symbian emulator builds yet, we recommend using the Windows Desktop native lib of Edge for Windows Desktop development.
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 guynemer » Jan 18, 2007 @ 11:47pm

Damn I've applied dos2unix on the .h files ; e32base and e32std and it still doesn't work.

I've applied it then on e32std.inl and still errors ...

I've tried to download the codewarrior SDK from the link given in the tutorials but it doesn't work ...

On the forum nokia website, there's no CW version for s60 1rst ed , it only starts with 2nd ed :/


What should I do ? (BTW , i need to install the CW just to get the 3 files you mentionned and replace the one existent in the "regular" SDK?)

Sorry for beeing such a newbie :p
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby guynemer » Jan 19, 2007 @ 5:32am

OK after many tries, I switched computer.

I succedeed in compiling the Blastar example using VS2003 for x86 architecture.

I've been trying to compile the same project in EdgeIDE (target being s60 1rst ed).

Strangely, I didn't have the same errors about the SDK and the problem with \r\n which needs dos2unix.

I still got an error for the compilation (Rebuild all command_):

---------------- Building: Blastar - Series 60 (1st edition) Release ----------------
aif.mbm
Blastar.rsc

Blastar.aif

Reading resource file...
Adding icons
Reading icons
Adding captions
Adding capability
Adding data types
Adding view data
Adding file ownership info
Saving
blastar.cpp
Cannot set device 'Series60_1_2_CW:com.Nokia.Series60_1_2_CW' as default; device not known.

After looking for the possible causes, I've commented the following line in the ini file called symbian-s60_e1st.ini :

commandlink = "devices -setdefault @Series60_1_2_CW:com.Nokia.Series60_1_2_CW"

After that the compilation process seems to have succedeed BUT I don't get a .sis file.

I got a .obj, .aif, .app.map, .rsc, .rpp files and etc...

Am I supposed to build the sis after that or should it be done by EdgeIDE ?
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby edge » Jan 19, 2007 @ 8:37am

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 guynemer » Jan 19, 2007 @ 10:10am

guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby guynemer » Jan 20, 2007 @ 5:16pm

guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby edge » Jan 21, 2007 @ 6:30pm

Hi Guynemer,

You need to download the Platform SDK as described here: http://www.edgelib.com/index.php?node=45

This contains bluetooth support as well as headers/libraries for Visual Studio 2005 express.
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


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