Archived

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

Dx9 Problem

This topic is 5503 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
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