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

Newbie "unresolved external symbol " problem


Newbie "unresolved external symbol " problem

Postby JeremyR » Nov 9, 2001 @ 10:27am

I've installed the GAPI files in the correct places (MS sample GAPI app builds and runs ok) but I get the following error (and another 9 similar ones)<br><br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl GXCloseDisplay(void)"<br><br>If I change EasyCE.h to include gx.h, instead of declaring all the GAPI stuff itself, it can't find the following function:<br><br>GXIsDisplayDRAMBuffer();<br><br>This isn't in the gx.h I've got from the eVC CD. What's going on? <br><br>I've seen someone post a similar problem before, but they didn't say how they solved it!.<br><br>Any help appreciated.
JeremyR
pm Member
 
Posts: 3
Joined: Nov 9, 2001 @ 10:27am


Re: Newbie "unresolved external symbol " problem

Postby Dan East » Nov 9, 2001 @ 1:17pm

You need to go into the eVC project settings, Link tab, and add gx.lib to the list of Object/library modules.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Newbie "unresolved external symbol " problem

Postby JeremyR » Nov 9, 2001 @ 1:54pm

Cheers! It worked.<br><br>I'm still a little confused though.<br>I had to use the gx.lib which came with the sampleapp, not the gx.lib that came on the eVC CD, due to not being able to find "GXIsDisplayDRAMBuffer()" in the original version.<br><br>How come easyCE uses a different version of gx.lib?<br>
JeremyR
pm Member
 
Posts: 3
Joined: Nov 9, 2001 @ 10:27am


Re: Newbie "unresolved external symbol " problem

Postby Dan East » Nov 9, 2001 @ 2:17pm

It has been my experience that what is found on installation CD-ROMs is outdated. For example, any game you purchase on CD-ROM invariably needs to be updated online as soon as you install it. There are thousands of eVC++ CD-ROMs out there with the old version of the GAPI library, that MS will not waste money throwing out.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

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