ocaml-toplevel

ocaml command line cannot find “topfind”

て烟熏妆下的殇ゞ 提交于 2019-12-24 02:13:59
问题 I've installed opam , run opam init , run opam switch 4.06.0 which created a 4.06.0 directory inside ~/.opam , run "eval opam confing env " which exports $OCAML_TOPLEVEL_PATH as ~/.opam/4.06.0/lib/toplevel amongst other things, when launching ocaml I get the dreaded: $ ocaml OCaml version 4.06.0 Cannot find file topfind. Unknown directive `camlp4o'. # I've looked at this and this neither of which address my issue and I'm at my wits' end (first time setting up OCaml). This is my ~/.ocamlinit :

ocaml command line cannot not find “topfind”

穿精又带淫゛_ 提交于 2019-12-10 14:22:18
问题 I have top-level installed, and have $OCAML_TOPLEVEL_PATH setup. export OCAML_TOPLEVEL_PATH=/Users/smcho/.opam/system/lib/toplevel I checked that the directory exists, and has one file topfind . This is my ~/.ocamlinit file content. #use "topfind" #camlp4o #thread #require "core.top" #require "core.syntax" The issue is that I have the error message saying it can't find topfind. > ocaml OCaml version 4.02.1 Cannot find file topfind. Unknown directive `camlp4o'. # With "ustop", I have no error