<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I have compiled the source distribution of xcrysden v 1.5.60 on CentOS 6.3 and the compilation and installation appears to proceed without errors.<br><br></div>When I run xcrysden, it briefly opens an X11 splash window, but then crashes with the following messages:<br><br>$ xcrysden <br><br>+-----------------------------------------------------------------+<br>|*****************************************************************|<br>|* *|<br>|* XCrySDen -- (X-Window) CRYstalline Structures and DENsities *|<br>|* = === = === *|<br>|*---------------------------------------------------------------*|<br>|* *|<br>|* Anton Kokalj (<a href="mailto:tone.kokalj@ijs.si">tone.kokalj@ijs.si</a>) *|<br>|* Jozef Stefan Institute, Ljubljana, Slovenia *|<br>|* *|<br>|* Copyright (c) 1996--2014 by Anton Kokalj *|<br>|* *|<br>|*****************************************************************|<br>+-----------------------------------------------------------------+<br><br> Version: 1.5.60<br><br> Please report bugs to: <a href="mailto:tone.kokalj@ijs.si">tone.kokalj@ijs.si</a><br><br><br> TERMS OF USE:<br> -------------<br> XCRYSDEN is released under the GNU General Public License.<br><br> Whenever graphics generated by XCRYSDEN are used in scientific<br> publications, it shall be greatly appreciated to include an explicit<br> reference. The preferred form is the following:<br><br> [ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.<br> Code available from <a href="http://www.xcrysden.org/">http://www.xcrysden.org/</a>.<br><br>XCRYSDEN_TOPDIR=/software/CentOS-6/applications/xcrysden-1.5.60/share/xcrysden-1.5.60<br>XCRYSDEN_SCRATCH=/home/tfosrgm/xcrys_tmp<br><br>Running on platform : unix<br> Operating system : Linux<br>Package ImageMagick's convert: /usr/bin/convert<br>Package ImageMagick's import: /usr/bin/import<br>Package Ppmtompeg: /usr/bin/ppmtompeg<br>Package Xwd: /usr/bin/xwd<br>Executing: /software/CentOS-6/applications/xcrysden-1.5.60/lib/xcrysden-1.5.60/ftnunit<br>X Error of failed request: BadWindow (invalid Window parameter)<br> Major opcode of failed request: 3<br> ResourceID in failed request: 0xffffffff<br> Serial number of failed request: 799<br>X Error of failed request: BadWindow (invalid Window parameter)<br> Major opcode of failed request: 3<br> ResourceID in failed request: 0xffffffff<br> Serial number of failed request: 801<br>Error in startup script: Togl: couldn't get visual<br> while executing<br>"togl .mesa -width 400 -height 400 -ident .mesa -rgba true -redsize 1 -greensize 1 -blu..."<br> (procedure "PlaceGlobWin" line 105)<br> invoked from within<br>"PlaceGlobWin 0 [expr round(650 * $fac1)] [expr round(650 * $fac1)]"<br> (procedure "ViewMol" line 25)<br> invoked from within<br>"ViewMol ."<br> invoked from within<br>"if { [llength $argv] > 2 } {<br> parseComLinArg [lrange $argv 2 end]<br>} else {<br> ViewMol .<br>}"<br> (file "/software/CentOS-6/applications/xcrysden-1.5.60/share/xcrysden-1.5.60/Tcl/xcInit.tcl" line 609)<br>X Error of failed request: BadWindow (invalid Window parameter)<br> Major opcode of failed request: 12<br> ResourceID in failed request: 0xffffffff<br> Serial number of failed request: 804<br><br></div>I do not have problems with other OpenGL or X11 programs. I first tried linking against libraries (including mesa) on the system, but got this error. Then, I tried downloading and compiling the external libraries by activating the required flags in Make.sys. However, I again got the above error.<br><br></div>I am not sure of the reason for the error. If someone can help me to debug the issue and complete my installation of xcrysden, it would be appreciated.<br><br clear="all"><div><div><div><div><div><br></div><div>-Dan<br></div><div><br>
</div></div></div></div></div></div>