I’m trying to test the cubes example of js_of_ocaml.
While in the cubes directory, I enter
ocamlfind ocamlc -package js_of_ocaml -package js_of_ocaml.ppx -linkpkg -o cubes.byte cubes.ml
in the terminal, then RET, which produces the below output:
Error : Unbound module Js_of_ocaml_lwt
What step(s) do I need to take to resolve this?
Thank you!
UPDATE:
I was able to get it working by using:
ocamlfind ocamlc -package js_of_ocaml -package js_of_ocaml-ppx -package js_of_ocaml-lwt -linkpkg -o cubes.byte cubes.ml
instead of the tutorial-provided:
ocamlfind ocamlc -package js_of_ocaml -package js_of_ocaml-ppx -linkpkg -o cubes.byte cubes.ml