[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: opengl (mesa) compiling problem.




On 19 May 2001, Felix Natter wrote:

> Jan Krupa <krupa@alpha.sggw.waw.pl> writes:
> 
> > I would like to use the mesa (opengl) library in C or C++.
> > 
> > I installed (debian2.2 potato) 
> > mesa-glide2 3.1-17
> > mesa-widget 3.1-17
> > mesademos
> > 
> > or tried (instead)
> > mesa-dev
> > mesag3
> > 
> > I tried to compile some example of using opengl (mesa) library
> > with the following heather:
> > 
> > #include <GL/glut.h>
> > 
> > and using the following command:
> > 
> >  gcc  -lglut -lMesaGLU -lMesaGL -lXi -lXmu -lX11 -lXext -lm -o 
> > triangle triangle.c
> 
> the Mesa-prefixes have been dropped to make it easier to port
> applications to MesaGL.
> I compile with, for example:
> gcc -Wall -o gluttest gluttest.c -lGLU -lglut -lGL -lm -L/usr/X11R6/lib -lXi -lXext -lX11 -lXmu

Thanks. It works. But how to configure Linux to be able compiling
without -L/usr/X11R6/lib ?

> 
> you might have to install a "glut"-package as well.
> 

Which of the following set of  components would you think is better to
install?:

 mesa-glide2 3.1-17
 mesa-widget 3.1-17
 mesademos
...? (what else?)
 
 or (instead)
 mesa-dev
  mesag3
 ...(what else?)
      
Jan



Reply to: