There has been a whole discussion on the caml-list, with in particular this message:
that gives a link to a repository containing camlimages that should compile on Mac OS X.
Question
I'm trying to install the module camlimages with opam. When I launch opam install camlimages
in my shell, the compilation of camlimages failed and I have this message :
* pngwrite.c: In function ‘write_png_file_rgb’:
* pngwrite.c:65: error: dereferencing pointer to incomplete type
* pngwrite.c: In function ‘write_png_file_index’:
* pngwrite.c:174: error: dereferencing pointer to incomplete type
* *** omake: targets were not rebuilt because of errors:
* src/pngwrite.o
* depends on: src/pngwrite.c
'opam install camlimages' failed
If someone helps me, it's gonna be cool because I need this module for a project. I'm on Moutain Lion (version 10.8.2)
Solution
There has been a whole discussion on the caml-list, with in particular this message:
that gives a link to a repository containing camlimages that should compile on Mac OS X.