TheName
Local
External
Configuring Visual Studio
- Add the Include dir to
{Tools -> Options -> Directories -> Include Files}
It is was at one time C:\DXSDK\include
- Add the following libs as the first ones at
{ Project -> Settings -> Link General -> As 'All Configurations' }
dxguid.lib d3d8.lib d3dx8.lib winmm.lib
Note that this was for DirectX 8, you will need to modify the lib names to match the version you are using.
- Use the following include in your files:
#include "d3d8.h"
Update it to the version your are using.