[xcrysden] Xcrysden on Ubuntu 10.4 32bit

sworainbow2 at gmail.com sworainbow2 at gmail.com
Thu Aug 5 22:55:00 CEST 2010


Dear List,

I am trying to install Xcrysden-1.5.21-src-all on Ubuntu 10.4 , 32 bit  
platform.
However, I have not been successful.
After extracting the file, I try to compile it by the command of "make  
all" , where 2 errors occur.

The errors shown is...


cd C; make "TOPDIR=/home/jason/XCrySDen-1.5.21-src-all" compile
make[1]: Entering directory `/home/jason/XCrySDen-1.5.21-src-all/C'
make TOPDIR=/home/jason/XCrySDen-1.5.21-src-all
make[2]: Entering directory `/home/jason/XCrySDen-1.5.21-src-all/C'
gcc -ansi -funroll-loops -fPIC -DUSE_FONTS -DUSE_FONTS -I/usr/X11R6/include  
-c detnsplit.c
In file included from detnsplit.c:22:
struct.h:44:19: error: GL/gl.h: No such file or directory
In file included from detnsplit.c:22:
struct.h:275: error: expected specifier-qualifier-list before 'GLboolean'
struct.h:601: error: expected specifier-qualifier-list before 'GLfloat'
struct.h:639: error: expected specifier-qualifier-list before 'GLuint'
struct.h:670: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'DefAtCol'
struct.h:673: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'DefFrameCol'
struct.h:675: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'DefBg'
struct.h:676: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'bg'
struct.h:683: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'dimType'
struct.h:688: error: expected specifier-qualifier-list before 'GLboolean'
struct.h:717: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'atomlabelOffset'
struct.h:718: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'xyzlabelOffset'
struct.h:859: error: expected specifier-qualifier-list before 'GLenum'
struct.h:944: error: expected specifier-qualifier-list before 'GLsizei'
struct.h:1035: error: expected specifier-qualifier-list before 'GLdouble'
struct.h:1051: error: expected specifier-qualifier-list before 'GLfloat'
make[2]: *** [detnsplit.o] Error 1
make[2]: Leaving directory `/home/jason/XCrySDen-1.5.21-src-all/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/jason/XCrySDen-1.5.21-src-all/C'
make: *** [src-C] Error 2

Could someone please help me on this? I am not familiar with the linux or  
unix system. So I would very much appreciate if the tips were as detail as  
possible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20100805/f5899154/attachment.htm 


More information about the XCrySDen mailing list