haloguy222
01-24-2009, 10:06 PM
ok, my graphics are screwed up.i used this guide http://www.regnumonline.com.ar/forum/showpost.php?p=171072&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
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