Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.13 KB

Readme.md

File metadata and controls

49 lines (27 loc) · 1.13 KB

Gtk2Hs

Build Status

Gtk2Hs is a GUI library for Haskell based on GTK+. GTK+ is an extensive and mature multi-platform toolkit for creating graphical user interfaces.

Installing GTK+

Linux

This can be done with something like...

sudo apt-get install libgtk2.0-dev libgtk-3-dev

OS X

For OS X you have at least three options (none of them perfect)

Windows

TODO

Installing Gtk2Hs from GitHub

Install the latest Cabal and cabal-meta (make sure cabal-meta winds up in your PATH)

cabal install Cabal cabal-meta

Clone the repo from github

cabal clone https://github.com/gtk2hs/gtk2hs
cd gtk2hs

Install gtk2hs-buildtools from the repo (make sure they also wind up in your PATH)

cabal install tools

If you want GTK+ 3 and no GTK+ 2 suport

cabal-meta install

or if you want both GTK+ 3 and GTK+ 2 support

./install-both.sh