Dreamer wrote:
> 
> Hello,
> 
> I am new to Linux and new to the Mesa libraries.
> 
> I've just installed :
> Mesa-3.1-3.src.rpm
> Mesa-3.1-3rh61.i386.rpm
> Mesa-demos-3.1-3rh61.i386.rpm
> Mesa-devel-3.1-3rh61.i386.rpm
> Mesa-glut-3.1-3rh61.i386.rpm
> Mesa-glut-devel-3.1-3rh61.i386.rpm
> 
> I am using RedHat 6.1
> 
> when trying to compile using make I get the following
> errors :
> [root@localhost programs]# make template2d
> cc     template2d.c   -o template2d
> /tmp/cck3vFLD.o: In function `display':
> /tmp/cck3vFLD.o(.text+0xc): undefined reference to
> `glClearColor'


I don't think "template2d" is part of Mesa.  Is this your
program?

Anyway, you have to link with several libraries such as -lglu
-lGLU -lGL -lX11 -lm

Probably also need -L/usr/X11R6/lib before the libraries.

-Brian


_______________________________________________
Mesa-bug maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to