You have to install gl library. Try to read some README and google the error. <br><br><div class="gmail_quote">2010/8/6 <span dir="ltr"><<a href="mailto:sworainbow2@gmail.com" target="_blank">sworainbow2@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear List,<br><br>I am trying to install Xcrysden-1.5.21-src-all on Ubuntu 10.4 , 32 bit platform.<br>
However, I have not been successful. <br>After extracting the file, I try to compile it by the command of "make all" , where 2 errors occur.<br><br>The errors shown is...<br><br><br>cd C; make "TOPDIR=/home/jason/XCrySDen-1.5.21-src-all" compile<br>
make[1]: Entering directory `/home/jason/XCrySDen-1.5.21-src-all/C'<br>make TOPDIR=/home/jason/XCrySDen-1.5.21-src-all<br>make[2]: Entering directory `/home/jason/XCrySDen-1.5.21-src-all/C'<br>gcc -ansi -funroll-loops -fPIC -DUSE_FONTS -DUSE_FONTS -I/usr/X11R6/include -c detnsplit.c<br>
In file included from detnsplit.c:22:<br>struct.h:44:19: error: GL/gl.h: No such file or directory<br>In file included from detnsplit.c:22:<br>struct.h:275: error: expected specifier-qualifier-list before ‘GLboolean’<br>
struct.h:601: error: expected specifier-qualifier-list before ‘GLfloat’<br>
struct.h:639: error: expected specifier-qualifier-list before ‘GLuint’<br>struct.h:670: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DefAtCol’<br>struct.h:673: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DefFrameCol’<br>
struct.h:675: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DefBg’<br>struct.h:676: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bg’<br>struct.h:683: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dimType’<br>
struct.h:688: error: expected specifier-qualifier-list before ‘GLboolean’<br>struct.h:717: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘atomlabelOffset’<br>struct.h:718: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xyzlabelOffset’<br>
struct.h:859: error: expected specifier-qualifier-list before ‘GLenum’<br>struct.h:944: error: expected specifier-qualifier-list before ‘GLsizei’<br>struct.h:1035: error: expected specifier-qualifier-list before ‘GLdouble’<br>
struct.h:1051: error: expected specifier-qualifier-list before ‘GLfloat’<br>make[2]: *** [detnsplit.o] Error 1<br>make[2]: Leaving directory `/home/jason/XCrySDen-1.5.21-src-all/C'<br>make[1]: *** [compile] Error 2<br>
make[1]: Leaving directory `/home/jason/XCrySDen-1.5.21-src-all/C'<br>make: *** [src-C] Error 2<br><br>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.<br>
_______________________________________________<br>
XCrySDen mailing list<br>
<a href="mailto:XCrySDen@democritos.it" target="_blank">XCrySDen@democritos.it</a><br>
<a href="http://www.democritos.it/mailman/listinfo/xcrysden" target="_blank">http://www.democritos.it/mailman/listinfo/xcrysden</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>陈伟槟<br>Chen Weibing<br>中科院半导体研究所超晶格国家实验室<br>The State Key Laboratory for Superlattices and Microstructures<br>Institute of Semiconductor, Chinese Academy of Science<br>
<br>