I have irrlicht 1.6 on my computer and I use codeblocks + tdm-gcc MinGW 4.7. What the situation is is that when I compile an example program, it compiled fine, but when I try to run it, it always give me a segmentation fault error. It returns with code -1073741819 (0xC0000005). It always has a segmentation fault at any attempt to use the graphics drivers. This is where the sementation fault occurs.
guienv->addStaticText(L"Hello World! This is the Irrlicht Software renderer!",
rect<int>(10,10,200,22), true);