Advertisement

Linux: fail open window

Started by May 02, 2007 04:58 AM
0 comments, last by Perost 17 years, 6 months ago
Hello everybody. I'm a newbie of OpenGL (though i know C++ and some other languages). I always used Windows: not a choice of mine, but i've worked for a couple of years with .Net. Now, i'm trying to test OpenGL under Linux (Ubuntu 7.04 is my distro), though i'm not an expert Linux user (i have a basic knowledge of the system). I managed to install, make and locate all library and programs compile correctly -using Anjuta and autotools-; but during runtime i get the error freeglut (/home/stefano/Projects/TestOpenGL_1/src/testopengl_1): Unable to create direct context rendering for window 'Hello' This may hurt performance. X Error of failed request: GLXBadContext Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 29 Current serial number in output stream: 29 I'm trying the first example that i found in the Red Book (drawing a rectangle... i know, it's trivial, but i'm starting...). Is there somebody that could explain me what's wrong and/or how to solve the problem? Thanks, Zak
Are you sure that you have installed drivers for your graphic card? You need them to get 3D acceleration. Consult the Ubuntu documentation about how to do that.

This topic is closed to new replies.

Advertisement