
我有更新的 Asymptote(版本 2.86)和 Ghostscript(版本 10.02),但無法使用 Asymptote 來標記 3 維圖。例如,
settings.outformat="pdf";
import three;
size(4cm,0);
currentprojection=orthographic(5,4,2,center=true);
draw(unitbox,red);
dot((7,2,0), red);
label("(1,0,0)",(1,0,0),S);
給我一個錯誤
讀取長度為 0 且越界索引為 0 的陣列
但如果我只是註解掉最後一行,它就可以正常運作。我使用的是 Windows 10.0.19045。難道是我的 Ghostscript 應用程式的設定不正確?