irrlicht crashing on Dev C++

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
darkone

irrlicht crashing on Dev C++

Post by darkone »

Hi

I am using irrlich on Dev C++ and I am getting some trouble.

I already runned some examples working, but it crashed twice here.

the 1st crash happen when i try to use DirectX 8 or 9. I put video::EDT_DIRECTX9 (or 8) in createDevice but it crashes. it works great with EDT_SOFTWARE or EDT_OPENGL.

the 2nd crash is happening when i try to run the 4th tutorial (http://irrlicht.sourceforge.net/tut004.html). It is happening when i try to use (creating is ok) the IAnimatedMeshSceneNode object.

The problem in the tutorial 4 is happening in these lines:

anms->addAnimator(anim);
anim->drop();
anms->setMaterialFlag(video::EMF_LIGHTING, false);
anms->setFrameLoop(320, 360);
anms->setAnimationSpeed(30);
anms->setRotation(core::vector3df(0,180.0f,0));
anms->setMaterialTexture(0, driver->getTexture("../../media/sydney.BMP"));

anms is the IAnimatedMeshSceneNode object. then i coment these lines the program work fine.

I am not getting any debug messages then it crashes.

Here are the versions im using:

- Dev C++ 4.9.9.2
- Windows XP
- irrlicht 0.12.0
- DirectX 9.0c (4.09.0000.0904)

Please help!!! :cry:
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

Why that part of tutorial 4 is crashing, I don't know.
I do know however, that the GCC version of the dll doesn't have directX.
A search of the faqs and tooltips forum will get you to a thread where recompiling the dll with directX is.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
darkone

Post by darkone »

I found out that my model file sydney was defective. Strangely in gave no warning and just crashed the program. Now its working fine.

Thanks for the help.
zip
Posts: 6
Joined: Mon Jun 27, 2005 9:58 pm

Post by zip »

I have a very similar problem, any of the examples I compile myself will immediately exit if I choose DirectX, but they run on software.
Do I need to get the DirectX SDK to work with Irrlicht then?
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

Only if you are using Dev-Cpp. You would have to recompile the dll for dX to work.
If you are using a windows compiler, "visual studio, and such" then you don't need to recompile.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
zip
Posts: 6
Joined: Mon Jun 27, 2005 9:58 pm

Post by zip »

Would anyone care to release a directX enabled DLL for us Dev++ users?
zip
Posts: 6
Joined: Mon Jun 27, 2005 9:58 pm

Post by zip »

Anyone? 170+ mb Direct X SDK on dialup = Pain.
Incidentally, /why/ does the Win32 GCC DLL in the irrlicht SDK not have Direct X?
Guest

Post by Guest »

Yeah man, why? Let us discuss the responsibilities of DevCpp and Irrlicht developpers until we are going to vomit. I really don't know why nobody has mercy. Maybe there is some money involved? I always have trouble with DevCpp and DX in Irrlicht. I wonder which one is the right DevPak. The huge one is out of reach for 56k users, so please something smaller.
Post Reply