Re: [Plib-users] error compiling plib
Brought to you by:
sjbaker
From: Guy B. <gba...@ct...> - 2001-03-04 20:28:58
|
Hello! I put the headers and libraries in the proper directory, but it didn't work since I tried the new Plib1.3. which works fine. Now I'm trying to compile FlightGear. Thanks Guy Steve Baker wrote: > Guy BARBIER wrote: > >> I'm sure to have mesa3d installed on a Mandrake 7.2 but it seems not to be recognized >> or is GLUT the thame thing than mesa3d? I don't know. I have files like gl.h, glu.h, >> ... in the directory: /usr/X11R6/lib/include/GL; one of them contains GLUT_LEFT_BUTTON;... . > > > Aha! Your headers are installed in the wrong place. > > There is a standard for this (search for "OpenGL ABI for Linux" in Google and you'll find it). > > You need (as a minimum): > > /usr/include/GL/glut.h > /usr/include/GL/glu.h > /usr/include/GL/gl.h > /usr/include/GL/glext.h > > /usr/lib/libglut.so {with optional version numbers) > /usr/lib/libGLU.so {ditto} > /usr/lib/libGL.so {ditto} > > Distributions that install these things in /usr/X11/lib are in violation > of the OpenGL specification for Linux...your should email the Mandrake guys > and complain. > > Mandrake will claim that OpenGL is a part of X and so should be installed > in the X11 area - but they are wrong - there are versions of OpenGL that > run without X and /usr/include/GL is the "official" place. > |