I am very new to all this directx stuff. I have the latest direct x sdk downloaded and i am trying to include <d3dx11.h> and <d3dx10.h>. But neither header file can be found it says any help?
Running VS 2010
Printable View
I am very new to all this directx stuff. I have the latest direct x sdk downloaded and i am trying to include <d3dx11.h> and <d3dx10.h>. But neither header file can be found it says any help?
Running VS 2010
You should add these header files into your installation directory (Visual Studio 2010). May be directx doesn't automatically include header files into...
You should be able to point MSVS to the installation of your DirectX SDK. Alternatively you can setup your project so that it uses the DirectX SDK. Do not add the header files to your install folder. Keep the SDK where you installed it. It is no different than using other 3rd party libraries with MSVS.
You need to add an include directory to where your files are. Surely there should be some tutorial on the web. I don't have VS10 handy at the moment, so I cannot point out where it is.
Thanks guys got it.
It would be better, if you'll tell here, how your problem was solved, so in future it will be helpful for others too.
He most likely followed Elysia's advice and set his project up to use the correct include paths and linker paths.
You just need to tell your project to look in the include path of your DX SDK and the linker path for the libs. Keep in mind that DX comes with x64 and x32 libs so linking with the correct one is important.