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 / Linker erros

Author
Message
Marmot
15
Years of Service
User Offline
Joined: 27th Nov 2008
Location:
Posted: 10th Dec 2008 04:13
I've just installed dark GDK and when I try to compile something it has error



I think it might have something to do with the compiler not being set correctly for using dark GDK, but I don't know how to fix it.
Swordsman
16
Years of Service
User Offline
Joined: 12th Nov 2008
Location: Wigan, England
Posted: 10th Dec 2008 13:43
Did you remember to start Visual C++ at least once before installing DarkGDK?
Achnie
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location:
Posted: 10th Dec 2008 18:08
i have almost the same error :S
1>LINK : fatal error LNK1104: cannot open file 'd3dx9.lib'

i installed everything correctly, i included every necessary file and i already added;
C:\Documents and Settings\*****\My documents\Lib\VS9
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\x64
C:\Program Files\Microsoft DirectX SDK (August 2007)\Lib

to the libary files, but the system still errors. I checked if d3dx9.lib was in the folder and it was.

If its important, i use windows xp and copied a dark gdk sample file (so there cant be an error in it)

You just wasted 3 seconds of your life.
Marmot
15
Years of Service
User Offline
Joined: 27th Nov 2008
Location:
Posted: 11th Dec 2008 14:14
I've had visual studio for some time now, so yes I have started it at least once.
DarthVader 335
17
Years of Service
User Offline
Joined: 18th May 2007
Location: Cyberspace
Posted: 8th Apr 2009 18:45
You have to set Visual studio to include the directors of include and library.

In visual studio goto
Tools->Options->Projects and Solutions->VC++ Directorys
From the drop down menu select Include Files Double click the open spot at the bottom and type the install path of the DarkGDK
(in my case its D:\DarkGDKinstall) It should look something like this
D:\DarkGDKinstall\Include

Once thats included in the drop down box select Library Files
Then goto your DarkGDK install path and you'll see the folder Lib inside it is VS9, set it to include that folder.

D:\DarkGDKinstall\Lib\VS9

After that it should compile with no errors

If none of these worked you have to reinstall the DarkGDK and possibly DX-SDK august 2007.

The only limit to creating video games is your imagination

Login to post a reply

Server time is: 2024-11-25 14:26:49
Your offset time is: 2024-11-25 14:26:49