[GRASSLIST:9137] Re: compiling GRASS with OpenGL

Glynn Clements glynn at gclements.plus.com
Fri Nov 18 06:51:49 EST 2005


Ulrich Leopold wrote:

> while compilinmg GRASS 6.0.1 on SuSE Linux 9.3 I get the following error:

> checking whether to use OpenGL... yes
> checking for location of OpenGL includes...
> checking for GL/gl.h... yes
> checking for GL/glu.h... yes
> checking for location of OpenGL library... /usr/X11/lib
> checking for glBegin in -lGL... no
> checking for glBegin in -lGL... no
> configure: error: *** Unable to locate OpenGL library.
> 
> Which OPenGL libraries are needed and where do they usually occur? I thought I
> located them in /usr/X11/lib or /usr/lib but none of these directories work.

There needs to be a file called libGL.so or libGL.a. libGL.so is
usually a symlink to e.g. libGL.so.1.2; the file to which the symlink
refers must exist.

If you can't see any obvious problems, check the config.log file for
any relevant error messages. It may be that one of the libraries which
libGL requires doesn't exist.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list