Jump to content

Need help installing libtxc_dxtn


Recommended Posts

Tried to install 0 A.D. on Ubuntu on another laptop.

Got an error message pointing to CompressedTextures. Needless to say, performance is laggy in the extreme.

I downloaded the tar.gz. and extracted, then tried to install with sudo make install and got this:

cc -Wall -pedantic -fPIC -O3 -c -o txc_compress_dxtn.o txc_compress_dxtn.c
In file included from txc_compress_dxtn.c:27:
txc_dxtn.h:25: fatal error: GL/gl.h: No such file or directory
compilation terminated.
make: *** [txc_compress_dxtn.o] Error 1

A friend said I'm missing a header that belongs to "mesa", but I have a hard time installing anything that's not just a click through the software center. Can anyone walk me through installing this?

Also I was told that installing mesa will impair performance anyway, is this true?

Link to comment
Share on other sites

I had a similar issue with Ubuntu and a fairly powerful computer. ~2.8 ghz processor, 2GB of ram should have been more than enough to at least load the menu, but even the menu was slow. I'd move my mouse and it would only update every second or so.

I finally gave up, and bought Windows 7 :-P

Link to comment
Share on other sites

I had a similar issue with Ubuntu and a fairly powerful computer. ~2.8 ghz processor, 2GB of ram should have been more than enough to at least load the menu, but even the menu was slow. I'd move my mouse and it would only update every second or so.

Can you also post your glxinfo output?

Link to comment
Share on other sites

Works on my netbook on Ubuntu without shadows at a few fps. Will use that for my demonstration unless my Mom gets a computer with better performance on Sunday.

Thanks for your help, everybody.

Edited by Jeru
Link to comment
Share on other sites

You should also add "fancywater=false" into the local.cfg file (just in case it's managing to use that mode), and maybe experiment with reducing the resolution (put "xres=320" and "yres=200" or whatever resolution you want), and you could also try "renderpath=fixed" and see whether that makes any difference. I used an Intel 945G some years ago and I think it's always going to be quite slow, though :ok:

Link to comment
Share on other sites

I want a new trailer. We won't have one by Tuesday. :ok:

I will probably just go over some of the maps on Alpha 2 and show the biomes. Would be nice to show shiny water, but there is already a specific video for that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...