Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 01-24-2009, 10:06 PM   #1
haloguy222
Pledge
 
Join Date: Jan 2009
Posts: 2
haloguy222 is on a distinguished road
Default 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
haloguy222 no ha iniciado sesión   Reply With Quote
Old 01-25-2009, 10:23 AM   #2
Anpu
Count
 
Anpu's Avatar
 
Join Date: Jun 2007
Posts: 1,186
Anpu will become famous soon enough
Default

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
Anpu no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:17 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved