Pages: [1]
|
|
|
Author
|
Topic: Which openGL libraries to use? (Read 3115 times)
|
TigTigger
Zebranky food
Offline
Posts: 41
|
Good day,
Sorry if this has come up before... I didn't find a previous topic on this.
I'ld like to compile uqm with openGL, but, I am not sure which libraries would be the best to use. The docs suggest several that I could try out, but again, I am not sure which would be best for my setup.
If it matters any, it's a Red Hat 9.0 machine, which has been set up with nVidia's video drivers.
Thanks in advance!
|
|
|
Logged
|
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
I can personally vouch for nVidia's Linux drivers; they're what I use myself (though it's Gentoo, not Red Hat.) Make sure you're getting that nVidia splash screen when you start X, though, or you won't actually be using the things.
|
|
|
Logged
|
|
|
|
|
TigTigger
Zebranky food
Offline
Posts: 41
|
Hey, I didn't know there was a way to turn that off.
OK, I will try to find nVidia's drivers (assuming they are on their site someplace) and give those a shot.
|
|
|
Logged
|
|
|
|
TigTigger
Zebranky food
Offline
Posts: 41
|
Sorry, that last statement should have been "libraries", not "drivers".
Which, I think may have been a point of confusion from my first post. I _already_ have the nVidia drivers installed. But I need the _libraries_ to compile openGL support. Currently the configure program notes:
/usr/bin/ld: cannot find -lGL
Although I do have a /usr/lib/libGL.so , etc... I guess I'm not quite sure what else I need...
Regardless, I haven't found any (additional) openGL development libraries by nVidia. Am I missing something else?
Thanks,
|
|
|
Logged
|
|
|
|
TigTigger
Zebranky food
Offline
Posts: 41
|
Ah, I managed to fix the problem.
I turns out that while I did have a libGL.so file, it was a broken symlink. Broken, I might add, due to the nVidia driver installer! A bug report to nVidia will be due after this.
Anyway, I remade the link by hand and compiled. It works wonderfully. Excellent job, guys!
|
|
|
Logged
|
|
|
|
|
TigTigger
Zebranky food
Offline
Posts: 41
|
That's what had happened. I was left with a stale (broken) symlink after I had installed their drivers. But, at the time I thought that I was missing a package or something with the libraries.
Yeah, they have you run a script that does the install work for you. It will look at your kernel build and see if they have a precompiled module available for download. If they don't, then it will compile one for you, assuming you have the kernel sources. You still have to edit your X config by hand, though.
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|