<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear Prof. Kokalj and Respectful users,</div><div><br></div><div>These days I tried to install the XCrySDen on the Mac Intel with OSX Snow Leopard. </div><div>I downloaded <span class="Apple-style-span" style="font-family: arial, helvetica, verdana, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://www.xcrysden.org/download/xc-1.5.21-src-all.tar.gz" style="color: rgb(0, 0, 255); ">xc-1.5.21-src-all.tar.gz</a> from <a href="http://www.xcrysden.org/Download.html">http://www.xcrysden.org/Download.html</a>.</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, verdana, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, verdana, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">I have already installed Tcl, Tk, and Mesa through fink. </span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, verdana, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br></span></div><div><font class="Apple-style-span" face="arial, helvetica, verdana, sans-serif"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">The OpenGL for "include" stuff is in /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers</span></font></div><div><font class="Apple-style-span" face="arial, helvetica, verdana, sans-serif"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></font></div><div>However, when I execute the command </div><div>make all</div><div><br></div><div><div>Many errors (as copied/pasted below) came out when the C-code was compiled. </div><div><br></div><div><br></div><div><br></div><div>....</div><div>#------------------------------#</div><div># #</div><div># Compiling XCRYSDEN C-code #</div><div># #</div><div>#------------------------------#</div><div><br></div><div>cd C; make "TOPDIR=/Users/jxzhu/XCrySDen" compile</div><div>make TOPDIR=/Users/jxzhu/XCrySDen</div><div>gcc -ansi -fwritable-strings -funroll-loops -fPIC -DUSE_FONTS -dynamic -DMAC_OSX -DUSE_FONTS -I/usr/X11R6/include -c detnsplit.c</div><div>In file included from /usr/X11R6/include/GL/gl.h:1386,</div><div> from struct.h:44,</div><div> from detnsplit.c:22:</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:37: error: expected identifier or '(' before '/' token</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:38: error: stray '#' in program</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2427: error: expected ')' before 'op'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2428: error: expected ')' before 'func'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2431: error: expected ')' before 'mode'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2432: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2435: error: expected ')' before 'mode'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2436: error: expected ')' before 'modeRGB'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2437: error: expected ')' before 'sfactor'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2439: error: expected declaration specifiers or '...' before 'GLenum'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2446: error: expected ')' before 'plane'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2480: error: expected ')' before 'face'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2481: error: expected declaration specifiers or '...' before 'GLenum'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2482: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2483: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2484: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2485: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2486: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2487: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2488: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2489: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2490: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2491: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2492: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2493: error: expected ')' before 'target'</div><div>/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2494: error: expected ')' before 'target'</div></div><div><br></div><div><br></div><div>...</div><div><br></div><div><div>In file included from struct.h:44,</div><div> from detnsplit.c:22:</div><div>/usr/X11R6/include/GL/gl.h:1407: error: expected ')' before 'op'</div><div>/usr/X11R6/include/GL/gl.h:1408: error: expected ')' before 'func'</div><div>/usr/X11R6/include/GL/gl.h:1411: error: expected ')' before 'mode'</div><div>/usr/X11R6/include/GL/gl.h:1412: error: expected ')' before 'target'</div><div>/usr/X11R6/include/GL/gl.h:1415: error: expected ')' before 'mode'</div><div>/usr/X11R6/include/GL/gl.h:1416: error: expected ')' before 'modeRGB'</div><div>/usr/X11R6/include/GL/gl.h:1417: error: expected ')' before 'sfactor'</div><div>/usr/X11R6/include/GL/gl.h:1419: error: expected declaration specifiers or '...' before 'GLenum'</div><div>/usr/X11R6/include/GL/gl.h:1426: error: expected ')' before 'plane'</div><div>/usr/X11R6/include/GL/gl.h:1460: error: expected ')' before 'face'</div><div>/usr/X11R6/include/GL/gl.h:1461: error: expected declaration specifiers or '...' before 'GLenum'</div><div>/usr/X11R6/include/GL/gl.h:1462: error: expected ')' before 'target'</div><div>/usr/X11R6/include/GL/gl.h:1463: error: expected ')' before 'target'</div><div>/usr/X11R6/include/GL/gl.h:1464: error: expected ')' before 'target'</div><div>/usr/X11R6/include/GL/gl.h:1465: error: expected ')' before 'target'</div><div>/usr/X11R6/include/GL/gl.h:1466: error: expected ')' before 'target'</div><div>/usr/X11R6/include/GL/gl.h:1467: error: expected ')' before 'target'</div></div><div>...</div><div><br></div><div><div>In file included from /usr/X11R6/include/GL/gl.h:1993,</div><div> from struct.h:44,</div><div> from detnsplit.c:22:</div><div>/usr/X11R6/include/GL/glext.h:5226: error: 'PFNGLCHECKFRAMEBUFFERSTATUSPROC' declared as function returning a function</div><div>/usr/X11R6/include/GL/glext.h:7613: error: 'PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC' declared as function returning a function</div><div>/usr/X11R6/include/GL/glext.h:8393: error: 'PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC' declared as function returning a function</div><div>In file included from detnsplit.c:22:</div><div>struct.h:859: error: field 'shademodel' declared as a function</div><div>make[2]: *** [detnsplit.o] Error 1</div><div>make[1]: *** [compile] Error 2</div><div>make: *** [src-C] Error 2</div></div><div><br></div><div><br></div><div><div>This kind of errors were not seen on Mac Intel with Leopard. </div><div><br></div><div>I very much appreciate your help. </div><div><br></div><div>Thanks, </div><div><br></div><div>Jianxin</div><div><br></div></div><div><br></div></body></html>