Re: [Plib-users] Installation woes
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-03-21 18:50:48
|
Samuel Mc Kee wrote: > I do a make install as root. Here's the output I get: g++ -DPACKAGE=\"plib\" -DVERSION=\"1.8.0\" -DHAVE_LIBPTHREAD=1 -DHAVE_LIBGL=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -I. -I. -I../../src/sg -I../../src/pui -I../../src/fnt -I../../src/util -g -O2 -Wall -c -o puAux.o `test -f puAux.cxx || echo './'`puAux.cxx In file included from ../../src/pui/pu.h:2139, from puAux.h:27, from puAux.cxx:26: ../../src/pui/puGLUT.h:36:22: GL/glut.h: No such file or directory > I'm running Mandrake 9.2. > > Any clues? Well, it's complaining that GLUT (or freeglut) isn't installed. So installing freeglut will fix things up just fine. That's a simple thing to do - you can get freeglut from http://freeglut.sf.net - and it installs very easily. However, we're supposed to have fixed PLIB so it doesn't NEED GLUT/freeglut from version 1.8.0 onwards. I think what's happening is that when end-user applications do a '#include <plib/pu.h>', we try to deduce which window library he's using - and if he doesn't say - we fall back and assume he's using GLUT. What I think is the problem is that the 'pu' library code knows to include puLocal.h instead of using the public interface in order to avoid the 'assumption' of GLUT. Looks like we forgot to make that change to the puAux library. I'll fix it in the next release...but for this release it looks like you need GLUT in order to install PLIB even if you aren't using it. Sorry about that! -- ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |