PDA

View Full Version : make problems with SDK examples



Nogbit
11-18-2013, 01:03 AM
I am able to build and run the code at this tutorial just fine
g++ p1.cpp -lglut -lGL
www.codeproject.com/Articles/182109/Setting-up-an-OpenGL-development-environment-in-Ub

Im using the Unofficial OpenGL SDK glsdk.sourceforge.net/docs/html/index.html
make config=debug works, but not release.

I get errors with the sdk/examples/simple_glut..anyone have any ideas. My end goal is to get up and running with Jason McKesson's tutorials, but first I think the examples in this sdk should build.

I ran premake4 gmake, then make config=debug
...glsdk_0_5_2 $ make config=debug
==== Building glload (debug) ====
==== Building glimg (debug) ====
==== Building glfw (debug) ====
==== Building freeglut (debug) ====
==== Building glutil (debug) ====
==== Building glmesh (debug) ====


...glsdk_0_5_2/examples/simple_glut $ ./simple_glutD
X Error of failed request: GLXBadFBConfig
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 34 ()
Serial number of failed request: 34
Current serial number in output stream: 33


...glsdk_0_5_2/examples/simple_glut $ ./simple_glut
X Error of failed request: GLXBadFBConfig
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 34 ()
Serial number of failed request: 34
Current serial number in output stream: 33