在 CYGWIN 中安装 XCRYSDEN 时出现问题

在 CYGWIN 中安装 XCRYSDEN 时出现问题

我正在尝试在我的计算机(Windows)上安装 XCrySDen,并且为此使用 cygwin。我完全按照说明进行操作:

> $ tar xvf xcrysden-1.5.53.tar.gz
$ cd xcrysden-1.5.53/
$ cp system/Make.sys-shared Make.sys
$ make all
$ ./xcrysden

我收到以下错误消息:

 +-----------------------------------------------------------------+
|*****************************************************************|
|*                                                               *|
|*  XCrySDen -- (X-Window) CRYstalline Structures and DENsities  *|
|*               =         ===         =              ===        *|
|*---------------------------------------------------------------*|
|*                                                               *|
|*    Anton Kokalj ([email protected])                          *|
|*    Jozef Stefan Institute, Ljubljana, Slovenia                *|
|*                                                               *|
|*    Copyright (c) 1996--2019 by Anton Kokalj                   *|
|*                                                               *|
|*****************************************************************|
+-----------------------------------------------------------------+

  Version: 1.6.2

  Please report bugs to: [email protected]


  TERMS OF USE:
  -------------
  XCRYSDEN is released under the GNU General Public License.

  Whenever graphics generated by XCRYSDEN are used in scientific
  publications, it shall be greatly appreciated to include an explicit
  reference. The preferred form is the following:

  [ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.
        Code available from http://www.xcrysden.org/.

XCRYSDEN_TOPDIR=/cygdrive/c/Users/itsas/Downloads/xcrysden-1.6.2
XCRYSDEN_SCRATCH=/tmp

./xcrysden: line 275: /cygdrive/c/Users/itsas/Downloads/xcrysden-1.6.2/bin/xcrys: No such file or directory

我尝试安装较新版本的 XCrySDen,但出现相同的错误。我不确定如何解决这个问题。我也尝试过在 WSL (Ubuntu) 中执行此操作,但仍然给出相同的输出。

答案1

这是 Mac 的解决方案

  1. 下载并解压源码包这里
  2. 下载二进制包这里,除了源码包,并解压。
  3. 在 x window 中运行(我通过运行从终端打开 XQuartz 来完成此操作xterm
  4. cdxcrysden-1.6.2-bin-shared
  5. 然后输入./xcrysden

相关内容