01-24-2009, 10:06 PM | #1 |
Pledge
Join Date: Jan 2009
Posts: 2
|
help
ok, my graphics are screwed up.i used this guide http://www.regnumonline.com.ar/forum...72&postcount=7
i did everything and i had like green rocks and tectures missing so i did the next thing.i downloaded the folder near the bottem of the guide and i did "cd /home/andrew/Desktop/libtxc_dxtn/" so it located the file, then i did "make" and it came up with this error. cc -Wall -pedantic -fPIC -O3 -c -o txc_compress_dxtn.o txc_compress_dxtn.c txc_compress_dxtn.c:25:19: error: stdio.h: No such file or directory txc_compress_dxtn.c:26:20: error: stdlib.h: No such file or directory In file included from txc_compress_dxtn.c:27: txc_dxtn.h:25:19: error: GL/gl.h: No such file or directory In file included from txc_compress_dxtn.c:27: txc_dxtn.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GLchan’ txc_dxtn.h:35: error: expected ‘)’ before ‘srcRowStride’ txc_dxtn.h:37: error: expected ‘)’ before ‘srcRowStride’ txc_dxtn.h:39: error: expected ‘)’ before ‘srcRowStride’ txc_dxtn.h:41: error: expected ‘)’ before ‘srcRowStride’ txc_dxtn.h:44: error: expected ‘)’ before ‘srccomps’ txc_compress_dxtn.c:37: error: expected ‘)’ before ‘*’ token txc_compress_dxtn.c:229: error: expected ‘)’ before ‘*’ token txc_compress_dxtn.c:347: error: expected ‘)’ before ‘*’ token txc_compress_dxtn.c:402: error: expected ‘)’ before ‘*’ token txc_compress_dxtn.c:415: error: expected ‘)’ before ‘*’ token txc_compress_dxtn.c:737: error: expected ‘)’ before ‘srcpixels’ txc_compress_dxtn.c:753: error: expected ‘)’ before ‘srccomps’ make: *** [txc_compress_dxtn.o] Error 1 |
01-25-2009, 10:23 AM | #2 |
Count
Join Date: Jun 2007
Posts: 1,186
|
Hi, if you re on 64 system, it seems that headers are moved from standard place.
Googling a little about new locations of them will solve problem. I think you need to install libgl1-mesa-dev or mesa-common-dev. If you still have problem, install libx11-dev too. Just Google a little about error "GL/gl.h: No such file or directory" and you ll find answer. That's how I did it when installing it recently anyway.
__________________
Inquisition |
|
|