Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

wolfmah

Can't find include files

This topic is 5368 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have just installed the DirectX 9.0 Update SDK.exe (184 Mb) and I just can''t compile any examples made in C++ because VS.NET 2003 can''t find the reference to d3dx9.h (and others DirectX header files). ex.: VS.NET 2003 always return a bug on this line #include <d3dx9.h> Does anyone know how to fix this thing? You think a minor thing like the end of the world was gonna do me in?

Share this post


Link to post
Share on other sites
Advertisement
may sound stupid but you have told Visual Studio the directories to the DX9 SDK includes/library files?

sometimes you have to tell it the directory yourself, and make sure its the top of the list aswell...it sometimes doesnt like being anything other than top...silly microsoft..lol

Share this post


Link to post
Share on other sites
1) Go to the Tools->Options menu

2) From the options, select Projects->VC++ Directories

3) Select "Include files" from the "Show directories for:"

4) Add the path to the DX SDK include files to the list (e.g. "C:\DX90SDK\Include"). Ensure that path is at the **TOP** of the list.

5) Do the same for Library files (the path will be something like "\DX90SDK\Lib").



--
Simon O''Connor
3D Game Programmer &
Microsoft DirectX MVP

Share this post


Link to post
Share on other sites
Goddamn it! This is the most silly thing I''ve ever seen... At least, it''s working now. Thanks! :D

You think a minor thing like the end of the world was gonna do me in?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!