Trouble building Irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mhoot80
Posts: 3
Joined: Thu Apr 16, 2009 3:20 am

Trouble building Irrlicht

Post by mhoot80 »

So I downloaded Irrlicht and tried to build the solution in VS 2005 Professional but I get this error:

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

from some of the files. I know that means that it can't find the include file, but I have already downloaded the March 2009 Directx 9 SDK and set the project to include it...do I have to download a Directx 8 SDK to get this thing to build properly? If so...why doesn't Directx 9 support applications like this one that use a previous version...or is it just because Microsoft wants to make programmers waste their lives downloading ancient software?
moekkog
Posts: 44
Joined: Tue Feb 24, 2009 6:02 am

there are some troubles compiling it

Post by moekkog »

if you doesnt have installed dx8 and 9 it will not compile just compile de examples and if you need it in your project copy de irrlicht.dll and that it
a precompiled irrlicht so you dont have to compile it and get that error just copy the .dll
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Which Irrlicht version do you use? I actually don't know what the last release needed, but if you build Irrlicht yourself then you can build it without dx8 support by out-commenting _IRR_COMPILE_WITH_DIRECT3D_8_ in IrrCompileConfig.h
Actually I think it's already out-commented by default, which is why I'm wondering with which version this does happen.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
mhoot80
Posts: 3
Joined: Thu Apr 16, 2009 3:20 am

Post by mhoot80 »

I'm using the latest version I suppose...Irrlicht 1.5. I just downloaded it yesterday.
twilight17
Posts: 362
Joined: Sun Dec 16, 2007 9:25 pm

Post by twilight17 »

Comment out _IRR_COMPILE_WITH_DIRECT3D_8_ in IrrCompileConfig.h as CuteAlien said.
Post this userbar I made on other websites to show your support for Irrlicht!
Image
http://img147.imageshack.us/img147/1261 ... wernq4.png
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Oh yeah, the official SDKs usually have the DX8 enabled, it's only disabled in SVN :)
Post Reply