我正在尝试按照ocaml 手册绘制一些东西。但这是来自 Ocaml 顶层的奇怪回应。有人知道为什么吗?谢谢。
# #load "graphics.cma";;
# Graphics.open_graph "foo:0";;
_X11TransSocketINETConnect() can't get address for foo:6000: nodename nor servname provided, or not known
Exception: Graphics.Graphic_failure "Cannot open display foo:0".