ocaml batteries compiling : Unbound module Toploop

前端 未结 1 1985
孤独总比滥情好
孤独总比滥情好 2021-01-22 08:25
**Build mode: shared
ocamlbuild -no-links syntax.otarget byte.otarget src/batteries_help.cmo META shared.otarget

Finished, 0 targets (0 cached) in 00:00:00.

+ ocamlfin         


        
相关标签:
1条回答
  • 2021-01-22 08:52

    You appear to be compiling Batteries (which version?) with OCaml 4.00, which introduced the new compiler-libs directory (but some distributions had one before so that may be off). toploop used to be at the root of the OCaml stdlib's directory, but you should now add a -I +compiler-libs option somewhere, or use the corresponding ocamlfind packaging (-package compiler-libs.toplevel).

    0 讨论(0)
提交回复
热议问题