我正在尝试使用 opam 安装模块 camlimages。当我opam install camlimages
在我的 shell 中启动时,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)