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 / After installing DarkGDK

Author
Message
installing DarkGDK
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 18th Jan 2009 16:48
Hey all, i just installed DarkGDK, in accordance with all instructions, vc++ 2008, directx Aug07, then DarkGDK.

I even went into the include and library directories under the options menu, and made sure those were set up. But I am still getting the following error:

Compiling...
Main.cpp
Linking...
darksdk.lib(DarkSDK.obj) : error LNK2019: unresolved external symbol "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ) referenced in function _WinMain@16
Debug\Dark GDK - 3D Game2.exe : fatal error LNK1120: 1 unresolved externals

any ideas, much appreciated

Dusty
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Jan 2009 17:37
It looks like you either don't have a DarkGDK function in your code, or you do but you've changed the definition in some way.

Post some code?

installing DarkGDK
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 18th Jan 2009 22:46
This is the code generated by the wizard:



I changed it from:


that is the only change i made. and i get the error message above. I have searched through the forum and found many linker problems. I have tried those remedies and none have worked.

Thanks in advance.

Dusty
CheatCat
17
Years of Service
User Offline
Joined: 7th Mar 2007
Location: Sweden
Posted: 20th Jan 2009 14:48 Edited at: 20th Jan 2009 14:49
Change void main (void) to void DarkGDK (void)
SushiBox
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Ohio
Posted: 20th Jan 2009 23:48
He means change int main ( ) to void DarkGDK (void). This can be confusing to people just starting DarkGDK. All C++ programmers are used to seeing int main(). It messed me up looking at it when I first started ha ha.

I am working on a 2D Side Scrolling MMORPG, the journey is being blogged and I suggest you check it out. Will include all progress, road blocks even drama! http://exoengine.com/blog/
bluntm4n 12_59
15
Years of Service
User Offline
Joined: 22nd Jan 2009
Location:
Posted: 22nd Jan 2009 22:44
this is a slightly different topic, but anyone know why all my .exe's are erroring out with the message "6"? windows isn't very helpful. It compiles clean, debugs, but the .exe is corrupted

We are shadows, we are death, we are anonymous, you cannot stop us, we are coming
bluntm4n 12_59
15
Years of Service
User Offline
Joined: 22nd Jan 2009
Location:
Posted: 22nd Jan 2009 22:45
this is a slightly different topic, but anyone know why all my .exe's keep erroring out with the message "6"? windows is not very helpful. It compiles clean, debugs, but the exe's wont open

We are shadows, we are death, we are anonymous, you cannot stop us, we are coming

Login to post a reply

Server time is: 2024-09-30 15:22:06
Your offset time is: 2024-09-30 15:22:06