Building Irrlicht under FreeBSD

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
anarkavre
Posts: 27
Joined: Mon Mar 08, 2004 9:57 pm
Location: PA
Contact:

Building Irrlicht under FreeBSD

Post by anarkavre »

I did get it to build and it works with the software renderer but when I try to use the OpenGL renderer it segfaults in the createDevice function. Anyone have any ideas on how to fix it? I build both static and dynamic libraries for it, both get the same result.
"Without curiosity and knowledge, the mind is a vast void. Without the mind, curiosity and knowledge are nonexistent."
hybrid

Post by hybrid »

Maybe you can compile Irrlicht using -g and use gdb to find the position it segfaults. Which version of OpenGL libraries do you use, and did you check your hardware with other running examples before? Try to use software OpenGL emulation by runtime linking with Mesa to determine whether it's a problem of OpenGL in general or of your system/hardware.
anarkavre
Posts: 27
Joined: Mon Mar 08, 2004 9:57 pm
Location: PA
Contact:

Post by anarkavre »

Well, I tried a test by writing a quick SDL OpenGL program and building it. It ran just fine and rendered a triangle without segfaulting. So it must be something with Irrlicht.
"Without curiosity and knowledge, the mind is a vast void. Without the mind, curiosity and knowledge are nonexistent."
Post Reply