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
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
Last edited by omGeeK; 03-10-2011 at 07:35 PM.
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.
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.
I don't care if someone doesn't like me, i was not put on earth to entertain everyone.
No King, no Queen, I am the ACE of battle.
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.