ocamlfind cannot see installed package

后端 未结 2 1810
醉话见心
醉话见心 2021-02-06 04:15

I wanted to compile my project using command:

ocamlfind ocamlopt -package ocamlnet -package batteries -package unix -linkpkg oauth.ml

but I\'m

2条回答
  •  走了就别回头了
    2021-02-06 04:37

    Do a:

    eval $(opam config env)
    

    That should fix the problem.

    # Edit 1:

    If it still does not work remove the dir

    /home/user/.opam/4.00.1

    and try it again.

提交回复
热议问题