Re: [Plib-users] Error: can not find working glut
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2003-01-26 21:22:32
|
KSt...@ne... wrote: > but I don't know what to do to get things right. Specifically, I don't have a /usr/include/GL/glut.h header file. I installed glut-3.7-8 via > rpm at RH8 ,so, libglut.so.3.7 appeared in /usr/lib (but no .h file at /usr/include/GL). Any ideas how to work around this problem? Thanks in advance. I suspect an annoying (but growing) trend with distro makers that they have TWO versions of every RPM that relates to libraries - one is the "Development Version" - which comes with headers and binaries, the other contains *just* the binaries. I've seen this with the latest version of SuSE and it's *INCREDIBLY* annoying. The header files take up very little space - and if they install the library without the headers then it can only be used by binary-only applications. When you try to install a source-code based project, it *looks* like the library is installed when you ask RPM about it - but in fact it's only halfway installed. We never used to get this kind of complaint - but now I see them all the time. So, look for a RedHat RPM with "Development" or "Developer" somewhere in it's title - and you'll have what you need. Failing that, you can download GLUT and you can either install it yourself - or (if you prefer not to screw up the existing RPM install) just copy the header files into /usr/include/GL/ GLUT is to be found on www.opengl.org and on www.mesa3d.org - as a part of the Mesa install. You need 'glut.h'...that's all I think. ---------------------------- 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 |