[xcrysden] Xcrysden on Ubuntu 10.4 32bit

陈伟槟 bingmou2004 at gmail.com
Fri Aug 6 05:58:06 CEST 2010


You have to install gl library. Try to read some README and google the
error.

2010/8/6 <sworainbow2 at gmail.com>

> 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.
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden
>
>


-- 
陈伟槟
Chen Weibing
中科院半导体研究所超晶格国家实验室
The State Key Laboratory for Superlattices and Microstructures
Institute of Semiconductor, Chinese Academy of Science
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20100806/66be6df0/attachment.htm 


More information about the XCrySDen mailing list