[Dev-C++] Problems with starting Tutorial 2 (memory error)

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
eve

[Dev-C++] Problems with starting Tutorial 2 (memory error)

Post by eve »

So i just got into messing arrounf with this engine.

I followed the step by step instruction to setup Dev-C++ to use the irrlicht engine.

Then i started by trying out the tutotials. The first one (hello world) comiled well, started and did what it was inteneded to do (it said hello world :) ).

But after that i tried to go on with the next tutorial (quake3map). I have no errors when i compile but when i hit Ctrl+F10 to run the application i encounter an error:

First of all i see i black cmd like window in the back saying something about irrlicht 0.6 and the os im using (im running win xp sp2 beta build 2096). But the irrlicht engine won't start. A windows apperas but with no content. Instead of the content a littl error box says something wrong memory allocation (i think i translated it correctly). But if you can read german here is the whole error message:

---
Die Anweisung in "0x6a510c41" verweist auf Speicher in "0x5357f44". Der Vorgang "read" konnte niht auf dem Speicher ausgeführt werden.

Klciken sie OK um das Programm zu beenden.
---

Is it because i run xp sp2. Does anybody else have this problems or is something else wrong?

I put the irrlicht.dll from the devcpp folder into my system32 folder. That is right, is it? Perhaps a reboot would help..

But any help from you guys would be greatly appreciated!

MfG.Eversor
eve

Post by eve »

So i tried it again this day and it didn't get much better. But i got another error in the cmd like window. It reads:

---
Irrlicht Engine version 0.6
Microsoft Windows XP Professional Service Pack 2, v.2096 (Build 2600)
DirectX Driver was not compiled into this dll. Try OpenGL.
Error: Coul not load built.in font.
Could not load mesh, because file could not be opened 20kdm2.bsp
---

Could anyone help me out?
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

The answer is in your question:
DirectX Driver was not compiled into this dll. Try OpenGL.
eve

Post by eve »

Allright then. Changed it OpenGL and downloaded the pk3 file from urbanbase.net and it works (some textures are missing of course)

But how would i use DirectX then? Not that i have something against OpenGL but only to know it..

And thanks! I go into my corner now and cry silently for being too dumb to read error codes properly...
eve

Post by eve »

Uh and quake3 isn't by any chance avaialable for free is it? If not i gotta pick up a copy on ebay or soemthing...
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

How to get Direct X 8 in Dev-CPP:
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1700

Quake3 avaialable for free? You want install it only for few missing textures?
eve

Post by eve »

Got a point there!

Anyway back here in germany quake3 is indexed.I hope that is the correct translation; its not available for people under 18 and you have to ask for it in shops. But that means for the most shop (99,99%) they won't sell it anyway cause only few people will buy it (no ebay, no amazon, even the shops i checked that were linked directly to from a german quake3 fan page did not sell quake3)

So yeah! Missing textures for me. Got to build/collect my own stuff anway i guess.

And thanks for pointing me the way to the DirectX topic!
Post Reply