

General rule is that any time you #include files your IDE needs to know where to find them. Also make sure you added d3d11.lib (and maybe d3dx11.lib as well) to Linker | Additional Dependencies. If you installed other version of SDK or installed it to non-default directory change given paths accordingly. Just go to your project's properties | Configuration Properties | VC++ Directories again, but this time edit Library Directories and add to one of the following paths:ģ2 bit Win: C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86Ħ4 bit Win: C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\圆4 Next you are most likely to get a linker's error (missing. As for June 2010 SDK it may be something like:ģ2 bit Win: C:\Program Files\Microsoft DirectX SDK (June 2010)\IncludeĦ4 bit Win: C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include Edit line called Include Directories by adding path to DirectX header files. Go to your project's properties | Configuration Properties | VC++ Directories.

That's what you need to do in VS 2010 (it looks a bit different in VS 2008 and earlier):
