【发布时间】:2012-11-18 13:46:16
【问题描述】:
我正在尝试使用 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
如果有人帮助我,那就太好了,因为我的项目需要这个模块。 我在山狮(10.8.2版)
【问题讨论】:
-
不要对 OCaml 问题使用标签“caml”。 CAML 爱好者使用它。 stackoverflow.com/tags/caml/info