RE: [Plib-users] error in compile
Brought to you by:
sjbaker
From: Pete H. <pet...@st...> - 2000-02-29 12:14:53
|
Fixed! As you suspected, libglut.a was still in my Mesa src directory. I made a link in /usr/lib and it all worked fine. Thanks guys. Pete FROM: Steve Baker DATE: 02/28/2000 23:09:35 SUBJECT: RE: [Plib-users] error in compile Norman Vine wrote: > > Pete Hodgson writes: > > > >I`m having trouble compiling PLIB 1.0.20 Mandrake 7 Linux. > > > >`./configure` works fine, but when I run `make` it chokes > >compiling simple.cxx, > >talking about loads of undefined references to glut functions (i.e. > >glutInitWindowSize, glutPassiveMotionFunc etc.) I have got > >glut installed, and > >it`s worked fine with other stuff. Could anybody possibly > >shead any light on > >the reason for this? TIA > > > > Try adding > > -DGLUT_IS_PRESENT > > to the gcc command line > > Steve changed things recently to have a choice between > the glut or the freeglut libraries I don`t think that`s the case for PLIB 1.0.20, (I made *that* mistake in 1.1.6 and fixed it in 1.1.7). It`s more likely that GLUT is installed somewhere weird. What did the output from ./configure say? (You may need to remove config.cache to see it re-run properly) Where is glut.h and libglut.a? I`d expect them to be in /usr/include/GL/glut.h and /usr/lib/libglut.a -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) _______________________________________________ plib-users mailing list pli...@li... http://lists.sourceforge.net/mailman/listinfo/plib-users |