The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message



Forums
MIssing GLU library - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: MIssing GLU library (/showthread.php?tid=82)

Pages: 1 2


MIssing GLU library - jaddin - 08-28-2005

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


MIssing GLU library - thelusiv - 08-28-2005

What distribution are you running? Are you able to compile other programs that require GL/GLU?


MIssing GLU library - jaddin - 08-28-2005

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.


MIssing GLU library - FFuser - 08-28-2005

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?


MIssing GLU library - jaddin - 08-28-2005

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.


MIssing GLU library - thelusiv - 08-28-2005

Well everything sounds right to me. Are you sure you have all the right packages? Might want to check with other Mandriva users, mandrakeusers.org is a good place I found to start with Mandrake issues.


MIssing GLU library - joevenzon - 08-28-2005

Configure checks for GLU via the following C file:<pre>#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char gluLookAt ();intmain (){gluLookAt (); ; return 0;}</pre>pop that into a glutest.c file and run:g++ glutest.c -lGLU -o glutesthopefully, that will generate an error telling you what the problem is.


MIssing GLU library - fizz - 08-29-2005

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).


MIssing GLU library - jaddin - 08-30-2005

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.


MIssing GLU library - fizz - 08-30-2005

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...


MIssing GLU library - joevenzon - 08-30-2005

Run ldconfig as root, just to be safe.Note that if your libGLU.so is in a path other than /usr/X11R6/lib, you'd want to modify fizz's export commands to be:<pre>export CFLAGS=-L/your/path/hereexport CXXFLAGS=-L/your/path/here</pre>(replacing /your/path/here with the actual path to libGLU.so)Also, if you find libGLU.so, do my glutest.c with the following:<pre>g++ glutest.c -lGLU -L/your/path/here -o glutest</pre>


MIssing GLU library - jaddin - 08-31-2005

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!


MIssing GLU library - Nille - 09-09-2005

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.


MIssing GLU library - jaddin - 10-11-2005

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?


MIssing GLU library - thelusiv - 10-11-2005

jaddin Wrote: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?
That's odd, I added -L/usr/X11R6/lib to the SCons setup just because of this problem, so it should work. Is the path to your GLU libraries something else?[QUOTE BY=building vdrift]g++ -o build/vdrift build/main.o build/backdrop.o build/camera.o build/controls.o build/font.o build/gamestate.o build/keyman.o build/logo.o build/menu.o build/messageq.o build/model.o build/mouse.o build/multiplay.o build/net.o build/objects.o build/particles.o build/quat.o build/replay.o build/settings.o build/sound.o build/terrain.o build/timer.o build/trees.o build/utility.o build/vamosworld.o build/weather.o build/configfile.o -Lbuild -Lsrc -Llib -L/usr/lib -Lbuild/vamos -Lsrc/vamos -L/usr/X11R6/lib -lGL -lGLU -lopenal -lSDL -lpthread -lSDL_image -lSDL_net -lvamos[/QUOTE](emphasis mine)edit: reading back over the thread I think I see the problem. I'm adding this path thus:<pre>local_env.Append(LIBPATH = ['vamos', '/usr/X11R6/lib'])</pre>this is line 61 in src/SConscript. Try changing it thus:<pre>local_env.Append(LIBPATH = 'vamos')local_env.Append(CCFLAGS = '-L/usr/X11R6/lib')</pre>