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??? ------------------ |
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. ------------------ 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. ------------------ |
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 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 ------------------ |
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? ------------------ |
MastaLlama Member Posts: 671 From: Houston, TX USA Registered: 08-10-2005 |
here's 210 through 230
/* ------------------ |
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 ------------------ |
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. ------------------ |
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 *)'
------------------ |
buddboy Member Posts: 2220 From: New Albany, Indiana, U.S. Registered: 10-08-2004 |
lol... ------------------ |
Briant Member Posts: 742 From: Stony Plain, Alberta, Canada Registered: 01-20-2001 |
http://irrlicht.sourceforge.net/tut001b.html ------------------ |
MastaLlama Member Posts: 671 From: Houston, TX USA Registered: 08-10-2005 |
yeah, i found that, first i gotta update my Dev-C++
------------------ |
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!!!! ------------------ |
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++ ------------------ Blessed are those who suffer for doing what is right. PM ME YOUR DESCRIPTION OF ME! ILL PUT IT HERE! |