Closed liweijian closed 8 years ago
Check your .ocamlinit
, you must have something mentionning camlp4 in there which is not compatible with ppx.
@trefis
$ cat ~/.ocamlinit
#use "topfind";;
#thread;;
#require "core.top";;
#require "core.syntax";;
#require "core_bench";;
(* Added by OPAM. *)
let () =
try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH")
with Not_found -> ()
;;
open Core.Std
open Core_bench.Std
Does there anything mention camlp4?
I believe core.syntax
is camlp4-related.
Try requiring ppx_jane
instead?
Great thanks, it works now:)
I just
opam update
andopam upgrade
, here's the errorThe version of
ppx_sexp_conv
:OCaml version is: 4.02.3