Cannot open include file: 'd3d9.h'

Chaosenemy

Baseband Member
Messages
60
I'm using Microsoft Visual Studio 2005 and just installed the DirectX SDK (Nov 2007). I've gone into the solution properties and added the DirectX SDK's \include and \lib\x86 directories, but VS refuses to find d3d9.h. What am I doing wrong?

Solved: I was putting the directories into the wrong list.
 
You need to make sure these header files are in the same directories as the "primary" headers. So pretty much in the same directory as MSV05 looks for header files. Else, I think you have to include the whole path.
 
Back
Top Bottom