我正在尝试使用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)
答案 0 :(得分:4)