Windows XP error when I run compiled quake example

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
hopeful

Windows XP error when I run compiled quake example

Post by hopeful »

I got the hello world thing in tutorial one to compile into an exe, and then ran the .exe just fine.

I loaded up the one for quake, and it compiled perfectly. When I went to run the .exe though, it just says "Windows encountered an error and has to shut this down" or something like that.

I upgraded my Dev-Cpp to the latest version today. Windows XP is fully upgraded, so as direct x, and opengl, and my GeForce2 card as well.

Any idea what is going on?
[dx/x]=HUNT3R
Posts: 271
Joined: Sat Aug 23, 2003 5:52 pm
Location: Hurricane Central, Florida

Post by [dx/x]=HUNT3R »

do you have the Irrlicht.dll in the same directory as the .exe :?:
madinitaly
Posts: 92
Joined: Sat Nov 29, 2003 8:30 pm
Contact:

Post by madinitaly »

I guess there's still that problem with Dev-C++ and the DirectX 8 renderer, so just change:

Code: Select all

createDevice (video::DT_DIRECTX8, ...
with:

Code: Select all

createDevice (video::DT_OPENGL, ...
Hope it will help.
hopeful

yep

Post by hopeful »

Yes. I put it in the same directory, as well as the directory dev-c++ was in, and in windows/system/ and windows/system32/ directories as well. Its copied everything, because I read some people had a problem with it. I did this before trying to run it, so that isn't it.

Did anyone compile the quake example into something that ran without error? Did you use Windows XP?

I just did it again to copy what it says.
example.exe has encountered a problem and needs to close. We are sorry for the inconvenience.

To see what data this error report contains, click here.

I clicked there and it says:

Error signature
AppName: example.exe AppVer: 0.0.0.0 ModName: irrlicht.dll ModVer: 0.0.0.0 Offset: 0000db0e

To view technical infomration about the error report click here.
hopeful

solved it

Post by hopeful »

madinitaly that solved the problem. Thanks.


Changed it, hit Rebuild All, and all was well.

Now the fun begins.
ruggi
Posts: 2
Joined: Tue Dec 16, 2003 9:08 pm

Hello World tutorial failure. CodeWarrior/Windows XP

Post by ruggi »

I have a similair problem as posted by 'hopeful'. And all advise seems not to help so far. I am using CodeWarrior v 8.3. I followed the steps in the CodeWarrior HowTo by Andre Simon.

The simpelest 'Hello world' example does not work properly. The output is:

Irrlicht Engine version 0.4
Loaded mesh:../../media/sydney.md2

and then it causes Windows to report the usual message on sending a bug report.

If I comment the following line

Code: Select all

node->setMaterialTexture( 0, driver->getTexture("../../media/sydney.bmp") );
the programs works (except for a sydney with no texture ofcoures)

Does anybody have any suggestions?
- am I doind something stupid?
- any other issues I should consider using CodeWarrior
- Windows XP?

any help appreciated.[/url]
Post Reply