Re: [Plib-devel] Tadaaaa ... or not
Brought to you by:
sjbaker
From: steve <sjb...@ai...> - 2007-01-17 14:12:44
|
John Denker wrote: > On 01/17/2007 01:37 AM, Martin Spott wrote: > >> Usually I configure PLIB with: >> >> --with-GL=/usr/X11R6 >> >> .... which works on almost every Unix; I didn't say that PLIB really >> compiles on every Unix, but detection of OpenGL libraries does. > > > Thanks for the suggestion ... but it doesn't work on my system. > Same gag: > > checking for glNewList in -lGL... no > checking for glNewList in -lMesaGL... no > configure: error: could not find working GL library You need to find out where the darned thing is hiding. The Linux standard is to install it in /usr/include/GL and /usr/lib - sometimes they may be found in /usr/X11/include/GL and /usr/X11/lib (which is very non-standard) - but if they are anywhere else then you don't have GL installed correctly because those are the two places where 99% of programs look. BSD generally follows the same rules - IRIX and Solaris use the same conventions as Linux. > It compiles and links under either of the commands: > g++ test.c -lGL > gcc test.c -lGL > > This is under Debian "etch". Hmmm - that is odd. What configure does is to write programs like yours and test whether they compile OK. So you'll need to look in config.log (towards the end) and see precisely which commands failed. |