Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't find d3dx8.h 2

Status
Not open for further replies.

BlackDice

Programmer
Mar 1, 2004
257
US
I'm trying to run a project I made using the directx 8 SDK. This is a whole different computer and I have installed DirectX 9.0 on it. When I tried to compile the project the first error I got was telling me that there was no D3D8.h found. It wasn't so I searched the DXSDK include folder and found a file named D3D.h and put the name of that one in its place. Now It's telling me it can't find D3dx8.h - I don't know which filename to replace this one with. The already compiled .exe I have works fine, but I need to make some changes to the project and can't seemt to get past this point

bdiamond
 
Odd, I just looked at the DirectX9 SDK and noted that both D3D8.h and D3dx8.h were both still in the includes directory. So then I went and looked in the DirectX9b SDK because I thought maybe they were dropped later on and found them there too. Are you just trying to find newer include files that are equivalent or do the files just not exist in the SDK you have installed?

boyd.gif

craig1442@mchsi.com
"Whom computers would destroy, they must first drive mad." - Anon​
 
I had a similar problem a while ago. On the menu, go to tools, then click Options. Go to the Directories tab, then the Include files, and add C:\DX90SDK\INCLUDE (assuming this is the path to the SDK's include directory). You should then drag that so it's at the top of the include list. Similarly, go to the Library files (still in the Directories tab), and add C:\DX90SDK\LIB to the top of the list. This should fix your problems.
 
Thanks Timmay 3141! Your post helped a lot. Problem is fixed

bdiamond
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top