我正在尝试使用 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)上
最佳答案
关于ocaml - 使用 OPAM 安装 camlimages,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13440741/