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 / sdk visual studio 6 error question

Author
Message
Dragonslayer
19
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 14th Dec 2004 01:04
I just received my copy of the sdk. I put the DX SDK include and lib files at the top of the list in the respective lists that they belong in followed by the Dark game includes and lib files. I compiled the animation example and I only got 1 error this is it,

c:\dxsdk\include\d3dx9math.h(1380) : fatal error C1083: Cannot open include file: 'd3dx9math.inl': No such file or directory

Did I not include something I needed to? Also when I get this fixed WHERE DO I START I just barely know some of the basics of c++.

I do have the book Game Programming with Dark Basic and I just bought the book C++ Primer Plus fifth edition(great book) should I go through these books and convert the programs to Dark Game just to learn some things or should I just jump in blind and try to write my own?

My c++ knowledge is very limited!!!

Dragonslayer
IanM
Retired Moderator
20
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Dec 2004 01:16
Did you download the latest DX SDK? The location is in the FAQ sticky post at the top of this forum

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
Dragonslayer
19
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 14th Dec 2004 01:17
Yes I followed that link and installed 9C from Microsoft
Dragonslayer
19
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 14th Dec 2004 01:24
I just tried most of the examples even example 1 which is an untextured box spinning slowly and I get the same error for them all so I must need to add something to my lib or include list. Any ideas

thanks
Dragonslayer
IanM
Retired Moderator
20
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Dec 2004 01:25
In that case, either:
- something didn't install correctly,
- you didn't install everything (you need the full sdk + extras)
- or you've deleted something by accident.

That missing file should exist in the same folder - you should have these two files side by side:

c:\dxsdk\include\d3dx9math.h
c:\dxsdk\include\d3dx9math.inl

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 14th Dec 2004 01:27
Make sure the DX headers appear before the DarkSDK ones and before anything else.

Beware the cat... The alien... The heretic...
Dragonslayer
19
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 14th Dec 2004 01:33
I looked through the include folder and found the math.h file but no math.inl files any place in the include dir or lib dir
Dragonslayer
19
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 14th Dec 2004 01:34
My DX headers are at the top of the list
IanM
Retired Moderator
20
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Dec 2004 01:57
I would try reinstalling the DX SDK first - even if someone sends the header files to you, there's no guarantee that they are the only things missing.

If your email a/c can handle 10.5mb, I can send you all of the headers and libs via email in a rar file - I know that these are complete because I am using them right now

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
Dragonslayer
19
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 14th Dec 2004 02:04
I will try to reinstall from MS first. Should I uninstall all direct X files first?
Cellbloc Studios
18
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 14th Dec 2004 02:22
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 14th Dec 2004 02:26
In which case the file is either elsewhere or wasn't installed.
You may need to re-install the SDK again.

Beware the cat... The alien... The heretic...
Dragonslayer
19
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 14th Dec 2004 02:31
Well I'm downoading a new DX 9 the dx 9 sdk and SP5 for visual c++.
I don't think I have delt with rar files before how do I open and install them?, also if I reinstall direct x and the sdk do I need to uninstall the old DX and old SDK first?
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 14th Dec 2004 02:41
WinZip should be able to deal with RAR files. If not, use WinRar.

[quote]also if I reinstall direct x and the sdk do I need to uninstall the old DX and old SDK first?
It would be best to uninstall the old SDK (you cant uninstall DX).
Be care when you install the SDK - it has a nasty tendancy to install the debug version of DirectX 9.0

Beware the cat... The alien... The heretic...

Login to post a reply

Server time is: 2022-12-04 16:10:43
Your offset time is: 2022-12-04 16:10:43