Linjie Xu
Linjie Xu

Reputation: 61

An Opam package has been installed but fail to find when compile

I have installed Ocaml and Opam. To compile a project I Opam install a package named menhir and successful. But when I try to make the source file, the error shows The error

I have run the eval '...' and I find it in the package list. I have tried earlier version, but still.

The makefile equals to: $ ocamlbuild -use-ocamlfind -use-menhir -I srz -I lib main.ml

Upvotes: 0

Views: 648

Answers (1)

Linjie Xu
Linjie Xu

Reputation: 61

It seems that I need to restart my PC after installing these things. I may start from the install of ocaml so after I restart my machine, it works fine.

Upvotes: 0

Related Questions