Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-18-2008, 01:08 PM   #1
Baseband Member
 
Chaosenemy's Avatar
 
Join Date: Jul 2007
Posts: 40
Send a message via AIM to Chaosenemy Send a message via MSN to Chaosenemy Send a message via Yahoo to Chaosenemy
Default Cannot open include file: 'd3d9.h'

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.
__________________

__________________
Let there be CHAOS!
Chaosenemy is offline   Reply With Quote
Old 02-18-2008, 07:54 PM   #2
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Cannot open include file: 'd3d9.h'

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.
JogaBonito1502 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:29 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0