General Discussions

problems with Irrlicht – mastallama

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
Hey everybody,

After takin' a look at steveth45.net, i decided to download Irrlicht and see what tutorials it came with. The only problem is, I can't get anything - even the HelloWorld program to compile. I'm using Dev-C++ and I tried setting the compiler options to point to the irrlicht files and I tried copying the irrlicht files into the Dev-C++ folders (\bin\, \lib\, \include\) and it still didn't work.

Any ideas???

------------------

http://www.jeremysouthard.org

crazyishone

Member

Posts: 1685
From:
Registered: 08-25-2004
i have been having that same issue. It sucks because there doesn't seem to be any reason why it shoudn't work.

------------------
"I bleed black tears"

Will the emo kids be my friends now?

Briant

Member

Posts: 742
From: Stony Plain, Alberta, Canada
Registered: 01-20-2001
I've never used it, but what exactly are the error messages you get? It's probably just a matter of configuring include and lib paths properly.

------------------
Brian

"OOP programmers have a lot of class"

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
Well, I dunno, because the errors I'm getting aren't on the .cpp file, they're errors in the .h files that come with Irrlicht.

Here's the errors from the Compiler tab of Dev-C++

Line Unit Message
33 e:\dev-c~1\include\irrlicht.h from e:\progra~1\irrlic~1\examples\01_hel~1\main.cpp:42:

217 e:\dev-c~1\include\aabbox3d.h unknown escape sequence '\D'

217 e:\dev-c~1\include\aabbox3d.h unknown escape sequence '\I'

Like i said...i dunno

------------------

http://www.jeremysouthard.org

Briant

Member

Posts: 742
From: Stony Plain, Alberta, Canada
Registered: 01-20-2001
Well, line 33 of irrlicht.h is the #include for aabbox3d.h, so the next two error messages are where the problem really is. I've looked at line 217 of aabbox3d.h, and it's blank in the copy I found (right before some ascii art of a cube), so maybe you have a different version of the file. What does your copy of that file say from lines 210 to 225?

------------------
Brian

"OOP programmers have a lot of class"

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
here's 210 through 230


//! stores all 8 edges of the box into a array
//! \param edges: Pointer to array of 8 edges
void getEdges(vector3d<T> *edges) const
{
core::vector3df middle = (MinEdge + MaxEdge) / 2;
core::vector3df diag = middle - MaxEdge;

/*
Edges are stored in this way:
Hey, am I an ascii artist, or what? niko.
/1--------/3
/ | / |
/ | / |
5---------7 |
| 0- - -| -2
| / | /
|/ | /
4---------6/
*/

------------------

http://www.jeremysouthard.org

Briant

Member

Posts: 742
From: Stony Plain, Alberta, Canada
Registered: 01-20-2001
That's what I see too. Bizarre. You'll have to ask on the forum: http://irrlicht.sourceforge.net/phpBB2/index.php

------------------
Brian

"OOP programmers have a lot of class"

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
yeah, i'll do that. I'm hopin' steveth45 sees this topic too, he's using irrlicht on his current project.

------------------

http://www.jeremysouthard.org

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
whoa...i just took out the comments in that section, and it compiled! But, now in the Compiler & Linker output i get:

C:\DOCUME~1\Jeremy\LOCALS~1\Temp\ccADaaaa.o(.text+0x172):main.cpp: undefined reference to `import stub for irr::createDevice(irr::video::E_DRIVER_TYPE, irr::core::dimension2d<int> const &, unsigned int, bool, bool, bool, irr::IEventReceiver *, unsigned wchar_t const *)'


nothing in the error window though

------------------

http://www.jeremysouthard.org

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
lol...

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Briant

Member

Posts: 742
From: Stony Plain, Alberta, Canada
Registered: 01-20-2001
http://irrlicht.sourceforge.net/tut001b.html

------------------
Brian

"OOP programmers have a lot of class"

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
yeah, i found that, first i gotta update my Dev-C++

------------------

http://www.jeremysouthard.org

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
wooo! after about 7 tries messing with settings, i got it! only problem is, i had to give the full path to the .h file...

#include "E:\irrlicht-0-12-0\include\irrlicht.h"

but then it turned out i had a "\" at the end of the path in the Project Options dialog, it had to be E:\irrlicht-0-12-0\include not E:\irrlicht-0-12-0\include\

hee hee, thanks guys!!!!

------------------

http://www.jeremysouthard.org

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
Ahh Irrlichit... i must upgrade my comp so i can get better Gfx... and keep working with C++

------------------
yeah, im a little crazy

Blessed are those who suffer for doing what is right.
The kingdom of heaven belongs to them.-Matthew 5:10

PM ME YOUR DESCRIPTION OF ME! ILL PUT IT HERE!

Here's all the comments!