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

Something weird with creating a new project


Something weird with creating a new project

Postby guynemer » Jan 21, 2007 @ 4:01am

I've been trying to create a new project using edge , from scratch.

So far in vain, when I try to use a code entirely remade from scratch, it almost compiles but it ends up in an error :

error LNK2019: symbole externe non résolu _main référencé dans la fonction _mainCRTStartup


in english something like

error LNK2019: external symbal couldn't be resolved no reference to main in function _mainCRTStartup

It appears that it doens't find the entry point Edgemain ....


For the moment I have no other choice than open a project like Blastar, and remove all the parts I don't need, and modify the sources. That way it works....

..but still I would like to know why my method isn't workin :?
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby Dan East » Jan 21, 2007 @ 5:18am

Sounds like you're linking to the wrong runtime binaries.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby guynemer » Jan 21, 2007 @ 1:18pm

In both cases I link to the same libraries :/

But just to be sure , what should I check for that ?
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


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

Hi Guynemer,

It seems the source file containing the EdgeMain function isn't compiled, or edgemain.h isn't included by the source file.

Try adding errors to your source file and make sure it is being compiled (the compiler should show an error message).
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 21, 2007 @ 11:05pm

Strangely, edgemain.h is included.

I 'm joining a simple solution with a code that doesn't compile.
Attachments
edgetest.rar
(222.59 KiB) Downloaded 436 times
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby edge » Jan 22, 2007 @ 9:15am

Hi Guynemer,

The project seems to be a win32 console application which is incompatible with Edge. Try recreating the project as a native win32 windowed application.
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 22, 2007 @ 2:35pm

Oh ok, but when I use the graphic win32 application, it generates a lot of code for opening the graphic part. I'll try to get rid of all the code and import the edge code.
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


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