just running: $ ./helloworld will work fine on windows and linux, under mac os, I ran into issues with window focus and click events not firing. Upon looking further, I found this page on the wxhaskell site: http://wxhaskell.sourceforge.net/building-macosx.html which explains the need to the macosx-app step in compiling a whhaskell app, and why I include it in my example. Hope this helps. cheers, -kirk On Tue, May 20, 2008 at 2:23 PM, Marc Weber <marco-oweber@gmx.de> wrote:
On Tue, May 20, 2008 at 12:38:14PM -0700, Kirk Peterson wrote:
I had a difficult time getting wxhaskell installed and working on a mac running os x 10.5. I did a quick write up of the process I got working here:
http://necrobious.blogspot.com/2008/05/wxhaskell-go-go.html $ cd ../samples/wx $ ghc -package wx -o helloworld HelloWorld.hs $ /opt/local/bin/macosx-app -v helloworld $ open helloworld.app
I've never used a Mac.. Why do you run macosx-app ?
Doesn't $ ./helloworld work?
Marc Weber _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe