Problems with DevC++ Tutorial and current version of IRRLICH

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
maczor
Posts: 1
Joined: Thu Apr 29, 2004 8:27 am

Problems with DevC++ Tutorial and current version of IRRLICH

Post by maczor »

Just to let anyone who may be having the same problems as me know there seems to be a few small errors in the Dev C++ tutorial.

In the ->createDevice line there should be an E in front of DT_SOFTWARE (ie. EDT_SOFTWARE)

and this line:

irrGUIEnv->addStaticText( L"Hello World! This is the Irrlicht software engine!", true, rect<int>(10,10,200,30));

should be replaced with:

irrGUIEnv->addStaticText(L"Hello World! This is the Irrlicht software engine!", rect<int>(10,10,200,30), true, true, 0,-1);

This is what made the tutorial compile for me anyways.....
Domarius
Posts: 178
Joined: Thu Mar 11, 2004 9:51 am
Location: Brisbane, QLD, Australia

Post by Domarius »

Yeah I had to do that too.

But the example that comes with the Irrlicht download is identical to that tutorial (it uses comments for all the descriptions at the appropriate parts of the code), and it compiles fine, so I didn't bother posting about it.
Post Reply