Sign in to follow this  
striker87

Need help with DirectX error

Recommended Posts

striker87    119
I'm following the Beginning Directx 9 book that I had gotten from a class I had taken as need to freshen up on DirectX and am getting a compiling error as it can't find the header file d3dx9tex.h I tried look online and couldn't find any solutions to fix the problem and tried adding the d3dx9.lib but that doesn't work as I also can't add the d3dx9.h header file. Not sure as to why it's not letting me when I added the library. If anyone knows a solution that might be able to fix this I would appreciate it so that I can continue with the book.

Share this post


Link to post
Share on other sites
Buckeye    10747
Somewhere in your IDE (Visual Studio?), you should be able to set project properties. Among those properties is "Include Directory." That's the location where your header files are located.

The following code tells the IDE [i]what[/i] to include, but you need to tell it [i]where[/i] the files are.

[code]
#include "d3dx9.h"
[/code]


Share this post


Link to post
Share on other sites

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