DiscussionsIssue archiveOther usage issues

Archived discussion

opengl libraries on linux system

Other usage issuesMon, 06/13/2005 - 12:403 replies

Browse this forum
QuestionAuthor

Hi,

I try to compile examples given with OOC5.2. I use an Ubuntu distribution (based on debian) and I have some problems with OpenGl library.

./configure says that it can't fin opengl library :

checking for OpenGL... configure: error: OpenGL (libraries) not found.

The folowing libraries are present on my system :
/usr/incluse/GL/gl.h
/usr/X11R6/lib/libGL.so
/usr/X11R6lib/libGLU.so

So , according to me, the opengl libraries are installed.

Is someone have an idea ?

Best regards

Laurent

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

Opencascade's configure script uses some predefined paths to discover includes and libraries of OpenGL (and other 3dparty tools TclTK, ...).
The pathes of your OpenGL implementation are the common paths, but you can try to give the pathes direct as input:

export INCL_GL=/usr/incluse
export LIB_GL=/usr/X11R6/lib
>./configure --with-gl-include=$INCL_GL --with-gl-libraries=$LIB_GL

if you have a look in the configure script, you will see that some paths elements will be added per default in the search pathes.

good luck
Commenter-1

02Commenter-2

I had already try this, but with no success :-(

03Commenter-3

/usr/incluse/GL/gl.h, or... /usr/include/GL/gl.h ?