Setting up DirectX

ThePentiumGuy

Well-known member
Joined
May 21, 2003
Messages
1,113
Location
Boston, Massachusetts
hey,
i recently installed .net and the directX sdk on an old computer.
however, im trying to do some unmanaged directx and im having trouble setting it up with vs.net 2002

i went to tools -> options >projects >VC++ directories and added C:/DX90SDK (Wehre i installed it)

then i wen tto project settings Linker > input and in Additional Dependencies i added:
d3d9.lib d3dx9.lib

well now i go back to my program and i just added 1 line:
#include <d3dx9.h>

it gives the following error twice:
fatal error C1083: Cannot open include file: d3dx9.h: No such file or directory

fatal error C1083: Cannot open include file: d3dx9.h: No such file or directory

i remember on my old comp i did somethig to fix this but i dont remember it now lol,

does anyone know what to do?

pent







 
Have you also added the include directories for DirectX on the same tab? (change the drop down on the top right to Include Files)
 
Hello,

I have the same problem. Could you tell me, what can I do, to use d3d9.h header.
I am new in directx, and new in C++. Could you tell me in so many words?

fatal error C1083: Cannot open include file: d3d9.h: No such file or directory

Thank you!
 
Back
Top