Message boards : Server programs : Building graphics libraries: cannot locate -lglut
Message board moderation
Author | Message |
---|---|
Send message Joined: 15 Jun 07 Posts: 7 |
Hi, I'm trying re-install Boinc so that the graphics API libraries and headers are available, i.e. re-building Boinc with OpenGL, GLUT etc. But although -lglut is definitely present in my /usr/lib, ./configure in the boinc download directory doesn't locate -lglut. I even wrote my own program using GLUT code and having to have to link to -lglut while compiling.. which was successful! So I don't know what the problem Boinc has with finding it, especially considering that it can find -lGU and -lGLU in the same directory. Here's the output from Boinc configure: checking for OpenGL library... -lGL checking for OpenGL Utility library... -lGLU checking for main in -lXmu... yes checking for main in -lXi... yes checking for GLUT library... no configure: WARNING: ================================================================================ WARNING: Development libraries and headers ("-dev") of {openGL, GLU, glut} needed! The GL, GLU and glut libraries are required in order to build the graphical parts of the BOINC application API library. ==> only building non-graphical parts of the BOINC API Library for now. HINT: on MacOS X/Darwin you might consider running configure with the option './configure --with-apple-opengl-framework' in order to use the Mac-native openGL framework ================================================================================ I'd very much appreciate any help on this, because as usual it's one of those problems that wastes two days of your time, or rather shortens your life by two days. Cheers. Neil. |
Send message Joined: 15 Jun 07 Posts: 7 |
Found the solution! Well, was told the solution to be more honest. Seems as if there's a little prob/bug with the configure script: when searching for glut libraries, the script looks for lglut AND lglut32. Is this a windows library? Anyway just commenting lglut32 out seems to fix the problem. Take it ham and cheesy. Neil. |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.