I'm running the latest version of Manjaro with all dependencies installed.
Trying to get into Ogre3D and compiled the latest 2.1 branch on bitbucket following the tutorial. Took a few jinks to get it all working but it did.
Running the samples after I go through the shell a segmentation fault happens.
I ran gdb on the sample and here's the log:
Code: Select all
******************************
*** Starting GLX Subsystem ***
******************************
GL3PlusRenderSystem::_createRenderWindow "Tutorial 01: Initialization", 800x600 windowed miscParams: FSAA=0 gamma=true parentWindowHandle=75497486 title=Tutorial 01: Initialization vsync=No
Thread 1 "Sample_Tutorial" received signal SIGSEGV, Segmentation fault.
0x00007fffebc7492e in Ogre::GLXWindow::create (this=<optimized out>, name="Tutorial 01: Initialization",
width=<optimized out>, height=<optimized out>, fullScreen=<optimized out>, miscParams=<optimized out>)
at /home/kesuda/Programming/ogre-src/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXWindow.cpp:357
357 attr.colormap = XCreateColormap(xDisplay, DefaultRootWindow(xDisplay), visualInfo->visual, AllocNone);
Code: Select all
attr.colormap = XCreateColormap(xDisplay, DefaultRootWindow(xDisplay), visualInfo->visual, AllocNone);
Any clues on why this is happening? same source works fine on Windows. Quite a newbie to all of this so I'm not sure how X works that much or Graphics in general.
Thanks!