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 / Problem Running DARK GDK Sample Window

Author
Message
lego666
15
Years of Service
User Offline
Joined: 2nd Apr 2009
Location:
Posted: 2nd Apr 2009 20:49
I just installed dark gdk, it required Visual C++ express 2008, i already have visual studio 2008, so i didn't install anything new,
it also required directX sdk, i downloaded and installed it fine, i then installed DARK GDK...it was installed fine...
then i went to visual studio 2008, i started new project, wizards, dark gdk game.... i want to test the sample window of the game, i then press Start Debug... it doesn't run, it gived me an error:: cannot include "darkdgk.h" header file.... what is the problem and what is the solution...plz help...

BrainMech
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 2nd Apr 2009 21:47 Edited at: 2nd Apr 2009 21:49
You have to include the lib and include files for DarkGdk in the visual c++ IDE.

1) Open visual studio.
2) Click Tools...Options.
3) Click the [+] next to the Projects and Solutions option.
4) Click on VC++ Directories.
5) In the combobox in the right-hand corner, select 'include' from the drop-down menu.
6) Click the 'new folder' icon to make a new entry.
7) Click the [...] button on the right side of the new entry.
8) Navigate to ...\The Game Creators\Dark GDK\Include
9) Select 'OK' to set that new entry to the include folder.
10) Select 'lib' from the drop-down menu of the combobox.
11) Repeat steps 6-9, but for step 8, navigate to ...\The Game Creators\Dark GDK\Lib\vs9
12) Click 'OK' until all windows are closed.
13) Now try to compile a DarkGDK project.

#ifdef _DEBUG
FixBugs(All);
#endif
lego666
15
Years of Service
User Offline
Joined: 2nd Apr 2009
Location:
Posted: 2nd Apr 2009 22:40
thanks friend for your help... now my adventure really begin...

BrainMech
lego666
15
Years of Service
User Offline
Joined: 2nd Apr 2009
Location:
Posted: 2nd Apr 2009 22:57
ok, i thanked u but the problem wasn't all resolved,,, now when i run the sample window via debug, the old problem ( inlude darkgdk.h) didn't appear again, but a new similar problem appear that is::: cannot include <d3dx9.h> ,,?? what now?? shoul i include directx sdk lib and include?? i tried to include them, plz tell me how, becuse i got a lot of problems when i icluded them....
and thx again

BrainMech
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Apr 2009 15:13
read the install DGK file will tell you what to do.

Dark Physics makes any hot drink go cold.
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 4th Apr 2009 15:32
Make sure that you have installed the DirectX August 2007 version. You must have installed a different version.

#ifdef _DEBUG
FixBugs(All);
#endif
DarthVader 335
17
Years of Service
User Offline
Joined: 18th May 2007
Location: Cyberspace
Posted: 5th Apr 2009 01:03
You need to download the DirectX August 2007 and then in VC++ link it to the Include and Library folders. When you link it it should have these paths.

C:\DxSDK\Include
C:\DxSDK\Library

Note: DxSDK is just whatever the name of the folder you saved the SDK too.

Once you have them linked it should compile and run if it doesn't then uninstall the DxSDK then reinstall it and try again.

The only limit to creating video games is your imagination

Login to post a reply

Server time is: 2024-09-30 23:21:10
Your offset time is: 2024-09-30 23:21:10