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 / Just got DGSDK and came to my first day with an error

Author
Message
DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 6th Jan 2005 04:46 Edited at: 6th Jan 2005 05:13
I just now got Dark Game SDK downloaded and I tried to just try a simple helo world program and typed in

I left

at the top.

and my error is

Quote: "--------------------Configuration: Main - Win32 Debug--------------------
Compiling...
Main.cpp
c:\program files\the game creators\dark game sdk - freeware edition\include\darksdkdisplay.h(17) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
Error executing cl.exe.

Main.obj - 1 error(s), 0 warning(s)"


Can anyone explain my error?

Computers are stupid all they do is calculate. Your the one that makes the computer do stuff
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Jan 2005 04:58
I presume you are kidding, right ?

Visit http://homepages.nildram.co.uk/~nickk/
I have no signature.
DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 6th Jan 2005 05:13
I am not kidding I will give you a screen-shot too

Computers are stupid all they do is calculate. Your the one that makes the computer do stuff
Joncom2000
21
Years of Service
User Offline
Joined: 3rd Aug 2003
Location:
Posted: 6th Jan 2005 05:51
Quote: "Cannot open include file: 'd3d9.h': No such file or directory"

You have to have the Directx9 SDK installed and setup correctly for one thing, that error message suggests you haven't.

The reason some think your kidding is because:
Quote: "print "hello world"
wait key"

Isn't going to work as thats basic code, you would need to call the correct db commands from the DarkgameSDK, I can't help you there as I don't have it myself yet.
DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 6th Jan 2005 06:18 Edited at: 6th Jan 2005 06:19
okkk I have DirectX 9.0c and I didn't know that.

Computers are stupid all they do is calculate. Your the one that makes the computer do stuff
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 6th Jan 2005 06:33
You need the DirectX SDK - not just DirectX installed (as you would for games or DBPro). Get the SDK from the Microsoft web site and install it. It's massive (some 220MB+) so you'll know for sure when you've found it.

The reason people think you were joking is because you cannot use basic commands in a C++ compiler. You need to use C++ commands along with the appropriate Dark SDK functions.

Super Joe crack combat soldier fights a long battle against overwhelming odds.
Dragonslayer
21
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 6th Jan 2005 06:44 Edited at: 6th Jan 2005 06:45
If you are using Microsoft vc++ 6 there are at least a few threads here that tell how to set it up. You have to have DX9 and the DX9 SDK installed and in the include section in vc++. I can't tell how to do it right out of my head because I don't have the program open but I know there is a thread here on it because TCA or what ever he is calling himself now posted it in a thread I started about setting up vc++ 6.

Dragonslayer

Squdigy the Brick is what he calls himself now!
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 6th Jan 2005 07:52 Edited at: 6th Jan 2005 07:56
If you ask nicely, I will give you the links for the Visual Studio 6.0 DirectX 9.0c Library and Header files. Total download is 19 megs.

Your code should have looked something like this:


-This...is my boomstick!
DrakeX
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 6th Jan 2005 08:30
Rich - if I might make a suggestion, it might be in your best interest to distribute just the DX libs/headers with DGSDK, as not everyone will be able (or willing) to download the 230MB SDK. I don't know if there are licensing issues with that, but I don't see why there would be - the DX SDK is free, after all, and there are several "conversion" projects out there for using the DXSDK with Delphi, Borland etc.

"when it's done" means "we have no idea, we forgot to do that; we were hoping you would all forget we promised <insert exotic promise here>"
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Jan 2005 16:06
I think there will because it would mean splitting the SDK up.

Visit http://homepages.nildram.co.uk/~nickk/
I have no signature.
DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 8th Jan 2005 03:45
please??? please post the link for DXSDK??

thanks

Computers are stupid all they do is calculate. Your the one that makes the computer do stuff
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 8th Jan 2005 04:30
Quote: "It's massive (some 220MB+) so you'll know for sure when you've found it."


So you know it is 222mb.

I just got it recently on a 56k modem, took about 12-14 hours to get it.

Soon to come...
Dark IDE, New IDE for DarkBASIC Pro!
Two plug-ins, A Time/Date and New File commands.
Dragonslayer
21
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 8th Jan 2005 08:37
DSL about 6 or 7 min
DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 9th Jan 2005 04:31 Edited at: 9th Jan 2005 04:31
it would take bout round an hour on mine maybe less. DBP 90mb downloaded in 20 minutes

Computers are stupid all they do is calculate. Your the one that makes the computer do stuff
DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 9th Jan 2005 06:46
took 2 hours and it is done now but I hiave a question can I remove the sync command without messing anything up?

Computers are stupid all they do is calculate. Your the one that makes the computer do stuff
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 9th Jan 2005 08:30
No - the sync is always needed for proper display that is.

Visit http://homepages.nildram.co.uk/~nickk/
I have no signature.
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 14th Jan 2005 00:15
What are those?

Computers are stupid all they do is calculate. Your the one that makes the computer do stuff

Login to post a reply

Server time is: 2024-11-18 23:35:50
Your offset time is: 2024-11-18 23:35:50