Jump to content
  • Advertisement
Sign in to follow this  
AaronLLF

d3dx9.h missing (Not solved!)

This topic is 2765 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 was following a Direct3D tutorial on directxtutorial.com and one said I needed d3dx9.h, but it wasn't in "External Dependencies" so I searched it on my computer and it wasn't there. I do have the June 2010 update of DirectX SDK so I don't know what's wrong. Please help :/

[Edited by - AaronLLF on December 24, 2010 12:17:31 PM]

Share this post


Link to post
Share on other sites
Advertisement
Hrm, I manually added d3dx9.h to my headers by finding the code for it on this thread: http://www.gamedev.net/community/forums/topic.asp?topic_id=433782 , but it still won't work. :/

Share this post


Link to post
Share on other sites
As Saruman suggested, have you installed the SDK? Not just downloaded it, but installed it? Do you have a directory somewhere called "Microsoft DirectX SDK (June 2010)"?

Share this post


Link to post
Share on other sites
Like the others suggest you need to install the sdk. Also another thing to check is to make sure visual studio is including the DirectX sdk in the include files and include libs sections of your visual studio ide.

Share this post


Link to post
Share on other sites
If you have the june version it should be located here:

E:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include

Of course the first part of the path depends on where you installed it. Add the include path to included dirs.

Sometimes rebuilding the whole project and/or exit VC++ might help (although I never noticed a problem when including files).

When using property pages. Tihs is what I jotted down for myself:

%(AdditionalLibraryDirectories)
is added in the Linker->General->Additional Library Directories, in the project self. Otherwise the entry there seems to just replace all library paths. Same for C/C++->General->Additional Include Directories

%(AdditionalIncludeDirectories)
Additionally check in solution explorer that the project itself also has %(AdditionalIncludeDirectories) listed (possibly as only entry.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!