"Manuel M. T. Chakravarty" <chak@cse.unsw.edu.au> writes:
I am pleased to announce version 0.11.5 of Gtk+HS, the Haskell binding for the GUI toolkit GTK+.
Thanks for 0.11.5, Manuel. I am having trouble building it though. Below's what I am getting. I get the same error c2hs-0.9.8 and chs-0.9.9, with both cvs and the tarball. This is with ghc-5.00.2-1. Jens /usr/bin/ghc -c -O -package lang -fglasgow-exts -recomp -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -i/usr/local/lib/c2hs-0.9.9/ghc5/import -fglasgow-exts -package lang '-#include<gdk/gdk.h>' '-#include"gMarsh.h"' -i../glib -I../glib Gdk.hs Gdk.hs:103: Couldn't match `Ptr CString' against `CChar' Expected type: Ptr CInt -> Ptr (Ptr CString) -> IO a Inferred type: Ptr CInt -> Ptr CChar -> IO () In the first argument of `initAux', namely `(gdk_init)' in a `do' expression pattern binding: (prog, args', _) <- initAux (gdk_init) args Gdk.hs:111: Couldn't match `Ptr CString' against `CChar' Expected type: Ptr CInt -> Ptr (Ptr CString) -> IO a Inferred type: Ptr CInt -> Ptr CChar -> IO CInt In the first argument of `initAux', namely `(gdk_init_check)' in a `do' expression pattern binding: (prog, args', succ) <- initAux (gdk_init_check) args make[1]: *** [Gdk.o] Error 1 make[1]: Leaving directory `/home/petersen/haskell/gtk+hs/gdk' make: *** [all] Error 2