Compiling OpenGL apps with H/W acceleration
Hi everyone,
This one has me stumped...
I'm running a slightly tweaked version of Mandrake 9.0 at the moment, and something I wanted to do was install Celestia, an open source 3d space simulator.
I downloaded it in source form, and compiled it ok, but when I tried to run it up for this first time, it looked like it had hung my box. It hadn't actually, but everything was running at a snail's pace, and it took me some time to restore order.
I *think* that what was happening was it was trying to run the thing in software GL, using the Mesa libs, rather than nicely accelerated, using the nVidia Riva TNT2 I have installed in the machine.
Thinking this to the case, I did a bit of digging on the net, and come across someone's page that mentioned changing the default GL include files for the ones which come with nVidia's XFree86 driver.
This I duly did (stupidly though, I didn't back up the old ones) and now nothing GL related will compile.
I've attempted to re-install all GL related rpms to correct this problem, but nothing seems to work.
Anyone else have any experience of this at all, and know what I'm doing wrong ?
Cheers in advance,
Bryan
|