Re: [Plib-users] Having trouble with ./compile
Brought to you by:
sjbaker
From: Martin L. M. <exa...@ba...> - 2001-03-01 22:30:43
|
Hey again. Okay, I've determined that I haven't got glut. I went and got the newest stable ver, 3.6, and unpacked it to its own directory. Following the linux-specific directions, I set everything up for creating a make file... but I don't have xmkmf! I _think_ xmkmf is part of the Xwindows library, so how can I not have this? I realize this isn't exactly in the direct purvue of this list, but since you all (most of you) got PLIB to compile, I'm hoping you can help me again. Thanks for your time! Martin On Friday 19 January 2001 06:57, you wrote: > "Martin L. Metke" wrote: > > Hi! > > I've been trying to get PLIB to ./compile and make for nearly a > > month, off and on, with the following problem: on ./compiling, I'm > > told that PLIB can't find any GL commands or GLU/GLUT commands, but > > I can't find GLUT and FreeGLUT won't install either. This is > > actually a step forward, however, because I had to track down and > > compile from scratch all the newest versions and libs of GCC/Glibc > > just to get to this point... and that's wreacked havoc on my system > > in and of itself, but that's another story. > > Hmmm - what distro do you have? > > I'm suprised that you'd need a particular GCC/Glibc unless your > system is *very* old. > > > Now, when I try to make from my compile, it gets as far as making > > pui, then pops up an error saying that it can't find glx.h, gl.h, > > or glu.h. I assume this means that various OpenGL includes are not > > around, > > Yes - or you have it installed in the wrong place. > > You should have the following files: > > /usr/include/GL/gl.h > /usr/include/GL/glu.h > /usr/include/GL/glut.h > > /usr/lib/libGL.so.<version_numbers> > /usr/lib/libGLU.so.<version_numbers> > /usr/lib/libglut.so.<version_numbers> ...or /usr/lib/libglut.a > > You should *not* have other versions in other directories - you > should not have any libMesa<anything>'s...unless they are symbolic > links to the files above - or vice versa. You should use the Linux > 'find' command to search out all the strange versions stuck in places > like /usr/local/lib, /usr/X11R6/lib and so on. If you don't do that, > you'll find that some programs pick up the "correct" OpenGL/Mesa and > others will find ancient versions that have the wrong drivers or > something. > > Be *RUTHLESS*! > > > but I know I have the latest Mesa or OpenGL, 'cause my Mandrake > > update disk has all the newest drivers on it. > > Weeeeelllll.....*maybe*. > > > Do I need to track down GLUT, or is this another problem? > > GLUT is normally distributed with Mesa - and is probably on your > Mandrake distro. Why it's not installed - I don't know. Maybe > it *is* installed - but since the GLUT header #include's the > OpenGL headers, that could be enough to screw up the ./configure > script into thinking that GLUT isn't correctly installed. > > You should also be able to get it from http://www.opengl.org - or > with Mesa at http://www.mesa3d.org...and as you said, "freeglut" > can be a reasonable replacement - get it at > http://freeglut.sourceforge.net > > However, freeglut won't install if your OpenGL is broken. > > > I'm looking forward to finally getting this library installed so > > I can try my hand at some flight simming on Linux :) > > I can imagine! But having your OpenGL/Mesa correctly installed is > an ESSENTIAL first step. > > When you think you have it right - run some Mesa sample programs and > be sure you are actually getting hardware accelleration. Once that's > working, try again with PLIB (and 'freeglut' if you want). -- ---,-@ Martin L. Metke Exa...@ba... Sl...@ho... "I laughed, I cried, I fell down, it changed my life... it was good!" |