Computer Science Canada

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

Author:  mccarre [ Sun Jan 04, 2009 1:11 am ]
Post subject:  fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory

I'm using vista x64 and I installed the direct x SDK for November 2008, although last time I tried I had the SDK for april 2008.

Anyways I always get the subject error when I try to compile something. When I search for an answer I get people saying things like "change your PATH" and I'm just like "wat?". Most of the development I've done with school, or I've done using the knowledge gained from it has been on a unix based system, so windows pretty much just pisses me off, because I don't know what I'm doing when programming on it =P.

So, I want to solve the the error I stated in the subject, and I'm pretty sure it has something to do with this PATH variable thing.

Thanks for your time, and hopefully eventually in time I can be post some cool things here, rather than just posting questions. =)

Author:  Tony [ Sun Jan 04, 2009 1:56 am ]
Post subject:  RE:fatal error C1083: Cannot open include file: \'d3d10.h\': No such file or directory

Windows' %PATH% is effectively the same as UNIX's $PATH. Any changes to it, if needed, should be outlined in the SDK install instructions.

http://letmegooglethatforyou.com/?q=set+PATH+windows

Author:  A.J [ Mon Jan 05, 2009 12:06 am ]
Post subject:  Re: fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory

You seem to like that website a lot, dont u tony Laughing

Author:  btiffin [ Mon Jan 05, 2009 12:55 am ]
Post subject:  Re: fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory

mccarre; I don't have my Vista boxes here; but do you know about Cygwin?

There were issues with Cygwin on Vista 64, but I'd think by now that most of the major problems should be resolved. ?? Question marks ?? I don't know, I'm guessing.

Cygwin gives you a near GNU/Linux mini experience on your Windows box. Not for the faint of heart, as there are some configurations to tweak and the package manager setup.exe isn't a hand holding application.

http://cygwin.com

Or if you like bleeding edge http://cygwin.com/setup-1.7.exe (which works fine on the XP/Pro partition here, but with GRUB dual boot I spend all my time in GNU/Linux. I only use Cygwin when I'm test building the OpenCOBOL 1.1 system I'm helping out on. So far the only failcase was a POSIX Message Queue extension for OC, but the Cygwin team sent us a note that they'd fix that up).

You'll get the GNU toolchain and a plethora of other apps. NOT Native Windows binaries. Anything you compile will require the cygwin.dll The homepage explains things if you read up. If you go whole hog, Cygwin even gives you an X11 environment. If you do go this route, I suggest rxvt as the console; with or without X11. Just nicer than the default WinConsole and a more reasonable bash experience, in my humble opinion.

Cheers


: