使用OPAM安装camlimages

时间:2012-11-18 13:46:16

标签: ocaml opam

我正在尝试使用opam安装模块camlimages。当我在我的shell中启动opam install camlimages时,camlimages的编译失败了,我收到了这条消息:

* 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

如果有人帮助我,那会很酷,因为我需要这个模块用于项目。 我在Moutain Lion(版本10.8.2)

1 个答案:

答案 0 :(得分:4)

对caml-list进行了全面的讨论,特别是这条消息:

Message on Caml-list

提供指向包含可在Mac OS X上编译的camlimages的存储库的链接。