Directx and vs05 question
Hello,
I've programmed C++ for a couple of years now and have finally decided to get into DirectX. Bearing that, I purchased "Ultimate Game Programming with DirectX" by Allen Sherrod. However, I have run into a stump. When I compile my first program, (which I've checked line per line against the book example), I get an error that "Cannot open include file: 'd3d9.h': No such file or directory"
I've gone into the properties and added (in the Linker/input/additional dependencies) d3d9.lib and d3dx9.lib...
However, I still receive the error message after the rebuild.
What am I missing here?
You have to add the header files.
Add them in the properties too, they are in the include folder.
[Edit]
You have to add the header files in the compiler properties, not the linker.
Add them in the properties too, they are in the include folder.
[Edit]
You have to add the header files in the compiler properties, not the linker.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement