Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / error LNK2019

Author
Message
old man
20
Years of Service
User Offline
Joined: 25th Feb 2004
Location:
Posted: 30th Oct 2008 13:46
I am trying to convert a dbp tutorial (Huge Dungeons) into Visual C++ Express using dgk.

I have resolved almost all of the problems encountered, but am at a loss as to the following errors, can anyone help please??

Quote: "
darksdk.lib(DarkSDK.obj) : error LNK2019: unresolved external symbol "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ) referenced in function _WinMain@16
Debug\hugedungeon.exe : fatal error LNK1120: 1 unresolved externals"


Does WinMain@16 mean at line 16 in my source??

uff
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 30th Oct 2008 13:52
Seems like you have missed out the library files.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Oct 2008 15:05
Quote: "void __cdecl DarkGDK(void)"

You haven't got a function called 'void DarkGDK(void)' in your code. It's attempted to link to it from the GDK library and failed to find it.

Login to post a reply

Server time is: 2024-09-30 09:21:26
Your offset time is: 2024-09-30 09:21:26