Re: [Plib-users] error in compile
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-02-29 06:10:16
|
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) |