![]() That what you do by adding the second path to Library Directories. But sole inclusion of headers is (in most cases) not enough - you need to tell your linker where to look for precompiled binaries described by those headers. VC++ Directories is one way of doing that in Visual Studio. 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. For those people who do not know much about DirectX - it is a low-level C++ class/method interface to hardware - thats all it is. A lot of people come here to download the Microsoft DirectX 7.0a SDK. ![]() 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 Download the DirectX v7.0a SDK: Download the Borland C++ Builder Rapid Application Development Compilers. 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): ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |