![]() 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. Still, the DirectX June 2010 sdk is deprecated for years, you miss some revised API that are useful to write Windows Apps for the Metro interface and mixing the two will give you conflicts and a strong headache. Also make sure you added d3d11.lib (and maybe d3dx11.lib as well) to Linker | Additional Dependencies. An application built with the June 2010 SDK and D3DX will of course work on all windows with the proper redist. If you installed other version of SDK or installed it to non-default directory change given paths accordingly. Microsoft has deprecated use of SHA-1 signing. Cannot open include file: d3drmwin.h Cannot open include file: Cannot open include file: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 Im trying to run the sample code from the book Physics for Game Programmers.I have installed the DirectX SDK June 2010 but get the following errors. Next you are most likely to get a linker's error (missing. Note that this package does not modify the DirectX Runtime installed on your Windows OS in any way. 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 The Microsoft DirectX® End-User Runtime installs a number of runtime libraries from the legacy DirectX SDK for some games that use D3DX9, D3DX10, D3DX11, XAudio 2.7, XInput 1.3, XACT, and/or Managed DirectX 1.1. 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. |