Page 1 of 1

tutorial Quake3Map problem

Posted: Fri Mar 12, 2004 10:42 pm
by Kim
Hi all,

I try to learn Quake3Map tutorial. I compile the file and it is okay. When I run the executable file i get this message:

Irrlicht Engine version 0.6
Microsoft windows XP personal service pack 1 (build 2600)

quake3map.exe has encountered a problem and needs to close.

I test the tutorial helloworld and CustomSceneNode, both working fine. I suspect something related to window xp.

I use dev-c++ on window xp. If anyone can help i appreciated... thanks

Run through debug get this message

Posted: Sat Mar 13, 2004 3:22 am
by Guest
Warning:

An access violation (segmentation fault) raised in your program.

I don't understand what the problem is. If anyone have any idea please let me know. thanks.

Posted: Sat Mar 13, 2004 4:07 am
by kim
I find the problem.. i need to change EDT_DIRECTX TO EDT_OPENGL.

Posted: Mon Mar 15, 2004 6:52 am
by Domarius
Seems like my problem is not unique.

I had the exact same error, and changing to OpenGL fixed it for me too.

Kim, were you using Bloodshed Dev-C++?

Segmentation Fault

Posted: Thu Mar 18, 2004 8:36 pm
by Gonzo
Hi there, I have the same problem with DirectX-Mode.

I´m using Dev-Cpp with mingw 3.2.3

I found the lines in the debugger output regarding the problem, maybe it will help the experts amongst us to solve it (esply. Niko :D )

" ...

signal
program received signal
signal-name
SIGSEGV
signal-name-end
.
signal-string
Segemntation fault
signal-string-end
.
frame-begin 0 0x6a510c41
frame-address
0x61510c41
frame-address-end
in
frame-function-name
irr::gui::CGUIEnvironment(irr::io::IFileSystem*,irr::video::IVideoDriver*,irr::IOSOperator*)
frame-args
()
frame-end
stopped

..."

I get the error in every program i compile at the following code

IVideoDriver* viddriver = device->getVideoDriver();

So I think there´s a bug in the DirectX segment of the VideoDriver, because all non-DX modes work.

In addition, there´s another problem I have:

If I turn off the Code Profiling option in Dev-Cpp I suddendly get serveral linker errors when compiling. Turning it on again fixes it ... what the hell could that be?

Cheers!

Posted: Thu Mar 18, 2004 9:23 pm
by thesmileman
You can not use directX with the Dev C++ dll that comes with irrlicht without recompiling. This issue is a known fact and one I do not know if will be fixed anytime soon as it has existed for a while. It is not too hard to recompile irrlicht to allow this and there are many many many topics on doing so as well as how to get directX working with Dev C++.

Hope this helps. I did not want you searching for a solution in Dev C++ because you will not find it.

Posted: Thu Mar 18, 2004 9:28 pm
by gonzo
Thanks! It´s hard to search a forum for a specific thing unless you know the words to search for :) Recompiling Irrlicht? Oh well, looks like my first big Dev-C++ adventure! :D

K, thats leaving the profiler problem ...

Posted: Fri Mar 19, 2004 5:13 am
by Domarius
thesmileman wrote:You can not use directX with the Dev C++ dll that comes with irrlicht without recompiling. This issue is a known fact and one I do not know if will be fixed anytime soon as it has existed for a while. It is not too hard to recompile irrlicht to allow this and there are many many many topics on doing so as well as how to get directX working with Dev C++.

Hope this helps. I did not want you searching for a solution in Dev C++ because you will not find it.
Thanks again, thesmileman. Ah, I thought this was related to my old problem, and forgot to check the "FAQ" forum.