Sign in to follow this  

d3dx9.h missing (Not solved!)

This topic is 2547 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
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
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

This topic is 2547 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this