From: John O'D. <joh...@gl...> - 2016-10-21 11:20:15
|
Hi Hamish, Thanks very much. Unfortunately it doesn't work: with ghc 7.8 I was able to get both gtk and gtk3 to install, but neither will install with ghc 8.01. There is this fatal error about hspango.h - it doesn't help to provide this in any of the include/lib/path and so on, apparently the path to hspango.h is baked in to gtk. Perhaps it works on one of the developer's private machines but on no other. The only possible way forward I can imagine is to find some package that uses either gtk or gtk3, with a completely automated installer that works, and then I could try installing that. I tried installing Leksah, but unfortunately that won't install either. By the way, one bad mistake I made a year ago was to move from gtk to gtk3. gtk3 loses a lot of functionality, and is also rather inelegant (there are some style configurations that you have to set in a CSS file and others that you have to set by explicit calls to functions). Many of the style settings in gtk3 don't work at all. It's possible that they work on Linux but not on Windows. Thanks again John On 10/21/2016 9:34 AM, Hamish Mackenzie wrote: > Hi John, > > I have updated the readme file for Gtk2Hs > https://github.com/gtk2hs/gtk2hs#gtk2hs > > You might also want to take a look appveyor script used to build the > Windows MSI file for Leksah > https://github.com/leksah/leksah/blob/master/appveyor.yml > > It installs everything needed for gtk2hs and haskell-gi. > > Building of Leksah for Windows is broken right now because I updated > Leksah to WebKit2 before checking if that was in MSYS2 yet. > > On Thu, 20 Oct 2016 at 21:44 John O'Donnell > <joh...@gl... <mailto:joh...@gl...>> wrote: > > Hello, > > This is a followup to a question I posted yesterday. I have a project > which I (unfortunately) ported to gtk3, but it no longer builds with > ghc-8.01 on Windows 10, using stack. It fails with the following > message: > > > Configuring pango-0.13.3.0... > > setup.EXE: Missing dependency on a foreign library: > > * Missing (or bad) header file: hspango.h > Downloading hspango.h and putting it in a directory where it will be > found doesn't help. A web search shows that someone else had exactly > this problem two years ago. > > A further search shows that gtk2hs is known to work on... Windows XP, > which of course is 15 years old. Is the project dead, or is it still > supported? If so, is it supposed to work on Windows, or is that > platform abandoned? > > Thanks, > John > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > <mailto:Gtk...@li...> > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > |