What's new

C++ d3d8.h HELP!!!

M

mann

Guest
i just finished writing some code that involves d3d and i know i put in the include thingy but still when i compile it gives me this bs

--------------------Configuration: tutorial - Win32 Debug--------------------
Compiling...
tutorial1.cpp
c:\program files\microsoft visual studio\myprojects\tutorial\tutorial1.h(2) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
Error executing cl.exe.

tutorial.exe - 1 error(s), 0 warning(s)


and here is the included files

#include <windows.h> // Windows header file
#include <d3d8.h> // Direct3d header file

What do i do?!!?!!?!?!?!


the include thingies dont show up for some odd reason buts theyre windows.h and d3d8.h
 
Last edited:

Malcolm

Not a Moderator
you don't have the DirectX8 SDK, or you don't have the include directory properly configured.
 
OP
M

mann

Guest
i fixed it...i forgot to include the a folder
 

Top