I downloaded the Why3 tarball and installed using make and make install-lib as given in the documentation for Why3 API. But still when I do open Why3, ocamlc and utop complain unbound module Why3.
Can someone please help me how to use Whye API from OCaml code?
I am following instructions give here http://why3.lri.fr/doc/install.html.
./configure
make
sudo make install
make byte opt
make install-lib
You need to tell the compiler where to look for why3 and its dependencies. Assuming you installed everything in DIR:
Or more easily if you have ocamlfind (I advise you to, or better, use a build system that supports ocamlfind).