我真的想不出如何在Windows上安装cairo!
我需要它来使用Haskell Charts,但是当我按照设置说明进行操作并运行时:
cabal install gtk
我遇到了这个错误:
Linking dist/setup-wrapper\setup.exe ...
Configuring glib-0.12.2...
setup.exe: The program pkg-config version >=0.9.0 is required but it could not
be found.
cabal.exe: Error: some packages failed to install:
cairo-0.12.2 failed during the configure step. The exception was:
ExitFailure 1
gio-0.12.2 depends on glib-0.12.2 which failed to install.
glib-0.12.2 failed during the configure step. The exception was:
ExitFailure 1
gtk-0.12.2 depends on glib-0.12.2 which failed to install.
pango-0.12.2 depends on glib-0.12.2 which failed to install.
如果我去cairo网站(http://cairographics.org/download/),它们没有任何设置的地方。只有一堆dll文件,我不知道该怎么处理(如何让Haskell看到它们)。非常感谢任何帮助,因为我已经花了几个小时来安装这个东西!