Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Luke1

Dx9 Problem

This topic is 5690 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

when i go to load the sample c++ code i get: --------------------Configuration: CreateDevice - Win32 Debug-------------------- Compiling... CreateDevice.cpp D:\DXSDK\Samples\C++\Direct3D\Tutorials\Tut01_CreateDevice\CreateDevice.cpp(10) : fatal error C1083: Cannot open include file: ''d3d9.h'': No such file or directory Error executing cl.exe. CreateDevice.obj - 1 error(s), 0 warning(s) for all of the c++ directx9 samples, any ideas on how to fix this ?

Share this post


Link to post
Share on other sites
Advertisement
Make sure that in VC++ your compiler has been set to include the DX header files. Go to tools->options->directories and check the include option and lib option. (your_DX9_PATH/include and your_DX9_PATH/lib).

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!