owickstrom / gi-gtk-declarative

Declarative GTK+ programming in Haskell
https://owickstrom.github.io/gi-gtk-declarative/
288 stars 35 forks source link

Can't build with Stack #11

Closed Anrock closed 6 years ago

Anrock commented 6 years ago

Hi, i'm trying to build this project on Windows using stack and build fails with following errors: https://pastebin.com/n9heqqpB Any advice?

owickstrom commented 6 years ago

Hi! I haven't seen anything like it before. How did you install the GTK+ libraries in Windows? Could be that you have a version that's too old, but I don't really know. Found anything like this in the haskell-gi issue tracker?

Anrock commented 6 years ago

@owickstrom i've installed gtk with MSYS2 that shipped along with Stack on Windows. gtk3 package version is 3.24.0. What is know-good gtk version for gi-gtk-declarative? I have no problems compiling and running hello world example from gi-gtk.

Anrock commented 6 years ago

Derp. Probably something broke in MSYS2<->Stack after Stack update. I've nuked %STACK_ROOT%, .stack-work, ran pacman -Syu until there were no updates and after that build succeded and examples are running fine. Sorry for bothering.