Fl4sh's Elite Question Thread

Started by
3 comments, last by Fl4sh 13 years, 4 months ago
Why an I getting this error?


Error 1 error C1083: Cannot open include file: 'd3dApp.h': No such file or directory c:\users\xx\desktop\c++_projects\src\src\chapter 4\init direct3d\init direct3d.cpp 9 1 Init Direct3D
Error 2 error C1083: Cannot open include file: 'd3dx10.h': No such file or directory c:\users\xx\desktop\c++_projects\src\src\common\d3dutil.h 30 1 Init Direct3D
They hated on Jeezus, so you think I give a f***?!
Advertisement
Because d3dApp.h and d3dx10.h don't exist in any of the compilers search paths. Have you Added the DirectX SDK paths?
Doesn't work...it's weird because I already set the paths from another application. That app works, but this one doesn't seem to pick em up properly. I'm using VS2010 btw.
They hated on Jeezus, so you think I give a f***?!
Quote:Original post by Fl4sh
Doesn't work...it's weird because I already set the paths from another application. That app works, but this one doesn't seem to pick em up properly. I'm using VS2010 btw.
With VS2010 you need to add the paths on a per project basis.
Got it to work now. Thanks. ;o
They hated on Jeezus, so you think I give a f***?!

This topic is closed to new replies.

Advertisement