From HaskellWiki
Jump to navigation Jump to search


For most users we recommend installation using cabal-install. This will require cabal-install 2.0 or greater. Samples are currently only available from the Git repository.

You can download a source distribution using Git from https://codeberg.org/wxHaskell/wxHaskell, or press the "Download ZIP" button on this page.

For downloading and installing recent versions of wxHaskell, see one of the following:

Version - November 13, 2009

wxHaskell is now installable by cabal install.

Version 0.11.1 – January 2, 2009

All of these files are also directly available from the sourceforge project page.

Basic packages

Source release of wxHaskell. See the building guide for installation instructions.
Documentation and samples.

Binary packages

The file name of a binary release contains the version of the wxWidgets toolkit that has been used, and the version of the Haskell compiler was used to build wxHaskell. Make sure that you have the same version of the compiler installed, for example ghc6.10.1. All packages have ODBC and OpenGL support (but not MediaCtrl).

wxhaskell-bin-msw2.8.10-ghc6.10.4- (Windows, ghc 6.10.4, updated)

wxhaskell-bin-msw2.8.10-ghc6.10.3- (Windows, ghc 6.10.3, updated)

wxhaskell-bin-msw2.8.9-ghc6.10.2- (Windows, ghc 6.10.2, updated)

wxhaskell-bin-msw2.8.9-ghc6.10.1-0.11.0-0.zip (Windows, ghc 6.10.1)
Unzip the release somewhere and click on the newly created wxhaskell-0.11.0\bin\wxhaskell-register.bat program to register the wxHaskell package. To uninstall, you can click on wxhaskell-0.11.0\bin\wxhaskell-unregister.bat and than remove the wxhaskell-0.11.0 directory.

Note:If you have an older version of wxHaskell installed, please remove it before installing this version. Older releases can be uninstalled by clicking on wxhaskell-unregister.bat.

wxhaskell-bin-i386-mac2.8.10-ghc6.10.4- (MacOS X, Intel, ghc 6.10.4, updated)

wxhaskell-bin-i386-mac2.8.4-ghc6.10.4- (MacOS X, Intel, (Leopard's) pre-installed wxWidgets, ghc 6.10.4, updated)

wxhaskell-bin-i386-mac2.8.10-ghc6.10.3- (MacOS X, Intel, ghc 6.10.3, updated)

wxhaskell-bin-i386-mac2.8.4-ghc6.10.3- (MacOS X, Intel, (Leopard's) pre-installed wxWidgets, ghc 6.10.3, updated)

wxhaskell-bin-i386-mac2.8.10-ghc6.10.2- (MacOS X, Intel, ghc 6.10.2, updated)

wxhaskell-bin-i386-mac2.8.4-ghc6.10.2- (MacOS X, Intel, (Leopard's) pre-installed wxWidgets, ghc 6.10.2, updated)

wxhaskell-bin-i386-mac2.8.9-ghc6.10.1-0.11.0-0.dmg (MacOS X, Intel, ghc 6.10.1)

wxhaskell-bin-i386-mac2.8.4-ghc6.10.1-0.11.0-0.dmg (MacOS X, Intel, (Leopard's) pre-installed wxWidgets, ghc 6.10.1)

The installer copies the wxHaskell libraries to /usr/local/wxhaskell and registers them with ghc. To test the installation, you can run the following commands from the samples/wx directory:
> ghc -package wx HelloWorld.hs -o hello
> /usr/local/wxhaskell/bin/macosx-app -v hello
> open hello.app
It is recommended to read the notes on using wxHaskell with MacOS X.