我想按照ocaml manual來畫東西。但是這是Ocaml頂層的一個奇怪的迴應。任何人看到爲什麼謝謝。Ocaml的Graphics.open_graph不起作用
# #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".