我最近安装了渐近2.78和GhostScript 9.55 (因为MikTeX安装在Windows2.78和Windows9.55上)。我还删除了旧的MikTeX包。我想编译一个包含渐近线代码的LaTeX文件。当我编译它时,MikTeX再次下载旧的渐近线(然后我删除它)并生成一个*.asy文件。我这里有一个无症状的执行程序:C:\Program Files\Asymptote\asy.exe。当我在我的*.asy上运行它(在GIT上)时,它会产生如下的错误:
0 [main] asy (5248) C:\Program Files\Asymptote\asy.exe: *** fatal error - cygheap base
mismatch detected - 0x180349408/0x180346408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.现在,有趣的一点是:我没有在我的Windows机器上安装Cygwin。我甚至用所有的搜索引擎搜索我的电脑。没有其他的cygwin1.dll。但还有一些其他的半知更鸟属于吉特。当我从提示符中运行这些内容时,它可以工作(即使我没有删除MikTeX asy)!这是我在cmd提示符上执行latexmk -pdf *.tex的时候。我不明白这是怎么回事。救命啊!!
发布于 2022-02-27 15:01:31
首先检查msys-2.0.dll的重基(如我之前建议过 )是否有效。(在C:\Program Files\Git\usr\bin和C:\Program Files\Git\bin中完成)
确保使用最新的Windows Git。
另一种选择是使用使用WSL2,并从成熟的Linux环境中获益。
https://stackoverflow.com/questions/71284313
复制相似问题