New to directx, need help...
I just bought a book that deals with directx, it also came with the cd-rom that contained the directx 8.0 sdk. Well I installed it but when I try to build some sample code, I get an error about d3d8.h, I already included d3d8.lib but the error still comes up. It says something like ''no such directory...''
I was thinking, could there have been a porblem installing the directx sdk when you have directx 8.1 installed (not the sdk) and not the directx 8.0? Basically what I''m asking is do you have to have the same version of directx and the sdk to install the sdk?
Sorry I know that might be kind of unclear.
No, but you need to make sure you have a higher or equal to
version of DX than the SDK(which you do).
Check your build options and see where the include directories
are pointing to.
-Hyatus
"da da da"
version of DX than the SDK(which you do).
Check your build options and see where the include directories
are pointing to.
-Hyatus
"da da da"
Your error appears during the creation of your program, and not while running it. Thus, it has nothing to do with the version of DirectX you have installed.
From my personal experience with DirectX SDK''s: it doesn''t automaticly get the include directories for the headers right.
Assuming you use VC++(6.0):
Go to: Build -> Options -> Directories
Make sure that platform is Win32, and "Show directories for" is ''Include files''
Now, add the following directory (by clicking on the blank square at the bottom of the list): c:\DXSDK\include (asuming you simply installed it there).
Now set "Show directories for" to "Library files" and add c:\DXSDK\Lib
That should get you on your way ^_^
From my personal experience with DirectX SDK''s: it doesn''t automaticly get the include directories for the headers right.
Assuming you use VC++(6.0):
Go to: Build -> Options -> Directories
Make sure that platform is Win32, and "Show directories for" is ''Include files''
Now, add the following directory (by clicking on the blank square at the bottom of the list): c:\DXSDK\include (asuming you simply installed it there).
Now set "Show directories for" to "Library files" and add c:\DXSDK\Lib
That should get you on your way ^_^
I did that, but it still doesn''t work. There''s also something I noticed during the installation, it stopped at around 22% then says that the installation was complete. But then when I go to the mssdk folder that was created, there are other folders (bin, doc, samples) but there are no files inside the folders.
Any idea on why it stops at 22% I tried re-installing, but it still does the same thing.
Any idea on why it stops at 22% I tried re-installing, but it still does the same thing.
Sounds like it didn''t install right. In your sdk folder u should have a folder "Include" that has d3d8.h etc. Use the find function in windows to search for that file and maybe you''ll find it, and the rest. If not your SDK install .exe might be corrupt?
Still not working.
Seeing that an mssdk folder was created, but nothing is in it, would it be possible to just do: Start > Run > N: (my cd-rom drive)
And then just get all the folders and files there, and maybe just copy them to the empty mssdk folder I have right now. For some reason when I tried to install from the cd, it didn''t include all the files, but when I do Start > Run > N: all the files that should have been installed are listed.
Seeing that an mssdk folder was created, but nothing is in it, would it be possible to just do: Start > Run > N: (my cd-rom drive)
And then just get all the folders and files there, and maybe just copy them to the empty mssdk folder I have right now. For some reason when I tried to install from the cd, it didn''t include all the files, but when I do Start > Run > N: all the files that should have been installed are listed.
Forget the CD, just download the thing instead.
I think there is a link to it on MSDN.
-The porridge is broken.
-Oh my god! How can something like porridge break?
-Weird, no?
I think there is a link to it on MSDN.
-The porridge is broken.
-Oh my god! How can something like porridge break?
-Weird, no?
Abnormally large and solar energy charged!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement