Not finding modules that opam appears to have installed.
"Hendrik Boom [email protected] [ocaml_beginners]" <[email protected]> Tue, 12 Apr 2016 20:14:27 -0400
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
I uninstalled and then installed glMlite using opam, just to be sure I
knew what was there. I subsequently trid once again to ocmpile my
trivial game.
hendrik@notlookedfor:~/dv/ocaml/wander$ make wander
ocamlfind ocamlopt -package glMLite -package unix -linkpkg
loader-libpng.c png_loader.ml wander.ml -o wander
File "wander.ml", line 1:
Error: No implementations provided for the following modules:
Glut referenced from wander.cmx
Makefile:6: recipe for target 'wander' failed
make: *** [wander] Error 2
hendrik@notlookedfor: ~/dv/ocaml/wander$
Evidently it is not finding Glut.
What could it be looking for by the nae of Glut that it doesn't find
it in the glMlite that opam installed? To my eyes, it's right there
where opam installed it:
hendrik@notlookedfor:~/dv/ocaml/wander$ ls /home/hendrik/.opam/4.02.3/lib/glMLite/
dllFunGL.so FunGlut.cmx Glut.cma libVBO.a
dllgl_stubs.so FunGlut.cmxa Glut.cmi libvertArray.a
dllGlu.so FunGlut.o Glut.cmx META
dllGlut.so GL.a Glut.cmxa opam.config
dlljpeg_loader.so GL.cma Glut.o VBO.a
dllVBO.so GL.cmi jpeg_loader.a VBO.cma
dllvertArray.so GL.cmx jpeg_loader.cma VBO.cmi
FunGL.a GL.cmxa jpeg_loader.cmi VBO.cmx
FunGL.cma GL.o jpeg_loader.cmx VBO.cmxa
FunGL.cmi Glu.a jpeg_loader.cmxa VBO.o
FunGL.cmx Glu.cma jpeg_loader.o vertArray.a
FunGL.cmxa Glu.cmi libFunGL.a vertArray.cma
FunGL.o Glu.cmx libgl_stubs.a vertArray.cmi
FunGlut.a Glu.cmxa libGlu.a vertArray.cmx
FunGlut.cma Glu.o libGlut.a vertArray.cmxa
FunGlut.cmi Glut.a libjpeg_loader.a vertArray.o
hendrik@notlookedfor:~/dv/ocaml/wander$
-- hendrik