08-28-2005, 12:15 AM,
|
|
jaddin
Junior Member
|
Posts: 12
Threads: 2
Joined: Aug 2005
|
|
MIssing GLU library
I am attempting to compile Vdrift. However, during the configure process, I get the messages :checking for gluLookAt in -lGLU... noconfigure: error: *** GLU library not found!I do have all of the Mesa GLU and GLUT libraries and headers installed. I have all of the other libs listed in the docs. glxinfo reports that GLU 1.3 is loaded and that direct rendering is active. What could be wrong?Thanks
|
|
08-28-2005, 03:23 PM,
|
|
jaddin
Junior Member
|
Posts: 12
Threads: 2
Joined: Aug 2005
|
|
MIssing GLU library
Mandriva 10.2 . I don't normally compile games. The few I have that use OpenGL, I got pre-packaged. I'll download something else and try it.I just downloaded PlanetPenguin Racer that required OpenGL and successfully compiled and installed it.
|
|
08-28-2005, 04:33 PM,
|
|
FFuser
Member
|
Posts: 147
Threads: 10
Joined: Jul 2005
|
|
MIssing GLU library
As far as I know PPRacer don't use GLut (is not the same as OpenGL)you need the development packages of GLut (in synaptic glut-dev or something) do you have them?
|
|
08-28-2005, 04:46 PM,
|
|
jaddin
Junior Member
|
Posts: 12
Threads: 2
Joined: Aug 2005
|
|
MIssing GLU library
Ok. Like I said, I don't usually go for many games, so these libs are new for me. As stated before, I do have the Mesa GLU libs and devel pack installed. Is this not correct? Thanks.
|
|
08-29-2005, 05:50 AM,
|
|
fizz
Junior Member
|
Posts: 14
Threads: 0
Joined: Jul 2005
|
|
MIssing GLU library
You might simply need<pre>export LD_FLAGS=-L/usr/X11R6/lib</pre>before running configure (replace /usr/X11R6 with wherever Madrive puts the GLU lib if necessary).
|
|
08-30-2005, 01:44 AM,
|
|
jaddin
Junior Member
|
Posts: 12
Threads: 2
Joined: Aug 2005
|
|
MIssing GLU library
Thanks everyone for the assistance. Unfortunately, the problem persists. The code joevenzon gave returns this.../usr/bin/ld: cannot find -lGLUcollect2: ld returned 1 exit statusI also tried sending the correct path to configure with --libdir as well as the Export method fizz gave but none help.I physically checked to make sure the library files existed and even reinstalled them just to make sure. I can't imagine what else to try.
|
|
08-30-2005, 02:44 AM,
|
|
fizz
Junior Member
|
Posts: 14
Threads: 0
Joined: Jul 2005
|
|
MIssing GLU library
Do you have libGLU.so or just libGLU.so.xyz?If you do have libGLU.so also try<pre>export CFLAGS=-L/usr/X11R6/libexport CXXFLAGS=-L/usr/X11R6/lib</pre>You should just need the CXXFLAGS part, but I'm not sure cdrift sets the language correctly so you better try both just to be safe.If that doesn't work, either, I'm out of ideas...
|
|
08-31-2005, 12:58 AM,
|
|
jaddin
Junior Member
|
Posts: 12
Threads: 2
Joined: Aug 2005
|
|
MIssing GLU library
Those export commands did the trick. I don't really understand why though since my libGLU.so is in the following path /usr/X11R6/lib and the ld.so.conf file does contain the path. Thanks for the help with getting it going!
|
|
09-09-2005, 07:06 AM,
|
|
Nille
Junior Member
|
Posts: 1
Threads: 0
Joined: Sep 2005
|
|
MIssing GLU library
Well i'm to lazy for the export lines :pSo i only do it like this.<pre>./configure CFLAGS=-L/usr/X11R6/lib CXXFLAGS=-L/usr/X11R6/lib</pre>Only add it to the readme file so ppl won't come here asking about it.
|
|
10-11-2005, 01:39 AM,
|
|
jaddin
Junior Member
|
Posts: 12
Threads: 2
Joined: Aug 2005
|
|
MIssing GLU library
Well, I guess there's a new trick now. The 10.2 release gives me the same problem as before with the 'missing GLU' library that isn't really missing. This time though, those export commands don't work. What now?
|
|
|