fatal error C1083: Cannot open include file: 'irrlicht.h':

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
wind19
Posts: 4
Joined: Mon Jun 26, 2006 2:48 am

fatal error C1083: Cannot open include file: 'irrlicht.h':

Post by wind19 »

I download the tree source code,and when I build it,there is a error:fatal error C1083: Cannot open include file: 'irrlicht.h': No such file or directory,why? what can i do?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Probably because you didn't tell your compiler where the include files are to be found.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

@wind19: Could you please remove your posting on this topic from the TreeSceneNode thread, and stop coss posting such issues?
t0mmy
Posts: 10
Joined: Wed Jun 21, 2006 9:44 am
Location: Tuebingen, Germany
Contact:

Post by t0mmy »

Have a look at the html-file in the first Irrlicht-tutorial.
hellbound
Posts: 51
Joined: Sat Jun 24, 2006 7:39 am

Post by hellbound »

If you work in Visual C++ 7 or later (2003 or later) , you go to the Tools tab. From there you select Options. A window is going to appear. There is a list there, on the left. Scroll down and open the tab Projects and Solutions. From the list that appears under the tab, select VC++ Directories.

On the upper right part of the window there is going to be a box . Above it is a label named : Show Directories For:
<1> Beneath that there is a scroll box.
click on it and select "Include Files".

Ok. Now. Beneath the scroll box there is a button that looks like a folder that has an * in the upper right of it. (the new button :D)

ok. click on it.

in the box beneath the button there is going to appear a blank space and on it's right side a button labeled "..."

click on it and browse to the path : <irrlicht directory>\include\

ok. now go back to the <1> label that i put in this post.

from there do exactly what it says next, except for:

instead of "Include Files" go to the tab "Library Files"
and then browse to the path <irrlicht directory>\lib\win32-visualstudio\

. that's it

now follow the tutorials
Post Reply