Discussion:
include file D3dx9.h
(too old to reply)
EricFa
2009-11-30 01:01:37 UTC
Permalink
I wanted to compile a Project from the SDK direct X. But I got this
error message: fatal error C1083 Cannot open include file D3dx9.h
What can I do? Do I have to install something?
Direct X 9.0c is already installed on my Computer.
Tom Handal
2009-11-30 02:28:05 UTC
Permalink
Post by EricFa
I wanted to compile a Project from the SDK direct X. But I got this
error message: fatal error C1083 Cannot open include file D3dx9.h
What can I do? Do I have to install something?
Direct X 9.0c is already installed on my Computer.
Did you add the DirectX SDK to your include directories? Try going to
Tools --> Options in Visual Studio and go to Projects and Solutions,
then go to VC++ Directories. Make sure you add the SDK Include and Lib
directories.

Hope this helps
Tom Handal
legalize+ (Richard)
2009-12-01 01:29:58 UTC
Permalink
[Please do not mail me a copy of your followup]
Post by EricFa
I wanted to compile a Project from the SDK direct X. But I got this
error message: fatal error C1083 Cannot open include file D3dx9.h
What can I do? Do I have to install something?
Direct X 9.0c is already installed on my Computer.
As Tom Handal pointed out, its probably your search settings for
libraries and headers.

I cover how to setup your development environment for Direct3D
programming in "Direct3D Programming Tip #1: Getting Started"
<http://tinyurl.com/yf5m2gv>

You may find other entries on my blog useful, particularly the other
Direct3D programming tips: <http://tinyurl.com/yg29hwf>
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

Legalize Adulthood! <http://legalizeadulthood.wordpress.com>
Loading...