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

Link error on WM5 compiled with vs2005


Link error on WM5 compiled with vs2005

Postby enry » Jun 4, 2007 @ 6:10pm

I'm getting a link error on vs2005 compiling my app for WM5 pocket pc device....

1>Linking...
1>edge.lib(emod_std.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
1>edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
1>edge.lib(emod_sound.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
1>edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
1>edge.lib(esurf_2d.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
1>edge.lib(edge.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
1>edge.lib(esurf_2drgba.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
1>edge.lib(emod_file.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
1>edge.lib(emod_console.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_sound.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_register.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(eldr_tga.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(eldr_bmp.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_memory.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_device.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_input.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(eldr_gif.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(eldr_ms3d.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(eldr_jpg.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_file.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(eldr_png.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(eldr_3ds.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_std.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(esurf_2d.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(edge.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck
1>edge.lib(emod_ini.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck

Now before anyone googles this and makes silly suggestions like adding or removing any combinations of libcmt, libcmtd, the std c++ library, /GS, /GS-, save your keyboard some wear because I've tried it.

Do I have to install VS.2005 SP1?
enry
pm Member
 
Posts: 1
Joined: Jun 4, 2007 @ 5:00pm


Postby edge » Jun 5, 2007 @ 8:06am

Hi Enry,

All libraries for EDGELIB 3.00 compiled with Visual Studio 2005 are made with service pack 1 installed. It seems that service pack 1 changes the format of the libraries.

You need to install service pack 1 to resolve the linker errors. I will add an FAQ entry on www.edgelib.com as well.
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 Ryumaster » Jun 18, 2007 @ 8:34pm

I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Postby edge » Jun 19, 2007 @ 2:23pm

Hi Ruymaster,

That's strange, perhaps rebuilding the application may solve the linker errors (use build -> rebuild solution from the menu)?

Are you able to successfully rebuild the Helloworld sample, delivered with the SDK, or does it give the same result?
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 Ryumaster » Jun 20, 2007 @ 10:00am

Helloword gives me the same result. HMMM, this error has nothing to do with edglib - that is for sure, so I'll try reinstalling everything - maybe it will help :(. Very strange...
I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Postby edge » Jun 25, 2007 @ 1:24pm

Hi Ruymaster, Enry,

Were you able to solve the problem in the mean time?
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 Ryumaster » Jun 26, 2007 @ 1:06pm

Hi! Nope. There is solution on official Microsoft MSDN, stating that I need to force include libcmt.lib. I did it, but with no luck again. At this moment I'm downloading pirate version ov VS2005 Pro and Service Pack seperatly to check out is the prolem really in my version of VS.
I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Postby edge » Jun 26, 2007 @ 3:17pm

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 Ryumaster » Jun 27, 2007 @ 7:52pm

Yes, the path was set correct. Anyway, afted I installed VS2005 PRo Sp1, it worked for me. Probably smthng not right with Team Suit version, or I do not know.
I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Postby edge » Jun 28, 2007 @ 10:54am

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