Computer Science Canada

fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory

Author:  chrisciscoioio [ Thu Sep 27, 2007 1:48 pm ]
Post subject:  fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory

Hello,

As the error stated, I am working with dx10, and the d3d10.lib is linked, but it still does not work.

code:
#include <d3d10.h>


I am working with VS 2005 SP1, learning from a book, I have all the requirements met, Vista, Dx10 Card, VS 2005 SP1, Dx10 SDK June 2007 (recommended by the book) that the books states I need. The authors source does not work either so I know I have not make a mistake in the code.

The file uploaded is just the source code.

P.S

Wow, I have not been by here in almost 2 years, the site looks great.

Thanks and any help would be great.

Author:  Tony [ Thu Sep 27, 2007 2:02 pm ]
Post subject:  RE:fatal error C1083: Cannot open include file: \'d3d10.h\': No such file or directory

Sounds like the file is either missing, or the directory is not in the PATH, so the compiler can't find it. You should probably check where the file actually is.

Author:  chrisciscoioio [ Fri Sep 28, 2007 7:58 am ]
Post subject:  Re: fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory

Well Figured out the problem, the oath was set to April 2007 with the installer, not June 2007, changed that and it ran like a charm.

Author:  Mazer [ Fri Sep 28, 2007 9:37 am ]
Post subject:  RE:fatal error C1083: Cannot open include file: \'d3d10.h\': No such file or directory

Oath? I don't actually know a damned thing about DirectX, but this is kind of curious. Could you explain it a little bit? Sounds like it could be useful information.

Author:  chrisciscoioio [ Fri Sep 28, 2007 2:01 pm ]
Post subject:  Re: fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory

Sorry,

That should say Path.


: