Skip to main content
gamedev.net
🔒 Locked

Dx9 Problem

Started by Luke1 0 replies 650+ views
Original Post
Luke1
Luke1
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 ?
oordeel
oordeel
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).

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.