The demos crash. What am I doing wrong?

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
Guest

The demos crash. What am I doing wrong?

Post by Guest »

HelloWorld.exe and CustomSceneNode run ok. All the others say 'Error initialising Direct3D'. Yet D3D works fine for games on my system. What's the problem?

I'm using:
- Win98SE
- DX8 installed
- Duron 1.1GHz processor
- generic GeForce 2 MX.

PS. I tried to search the forum for this error but it crashed in search.php :)
Guest

Post by Guest »

Never mind, it was just that I had DX 8.0 instead of 8.1. Upgrading fixed it. It would be nice to have a better error message rather than a crash though. :)
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

The examples do not check if the device was not initialized, for making the tutorials easier to understand. That's why they crash if the engine is not able to start up the renderer. Sorry.
The Cusp

Post by The Cusp »

I\m having the same problem using directx 9.0. The example compile but when i run i get "Warning: DirectX driver was notcompiled into this dll. Try opengl"

Any ideas on what i can do to get these example work?
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

Most likely you are using Dev C++ (right), if so, you need to modify the engine slightly to get directx to work in it.
The Robomaniac
Project Head / Lead Programmer
Centaur Force
THe CUsp

Post by THe CUsp »

ok, after further searching, it appears irrlicht is not compatible with dx9, only dx8.1

So it looks like i'll bone up on my other skills such as creating 3d chars and such while i anxiously away the new release
Post Reply