Interesting. When I try that, the program compiles. When I try to run it however, the window pops up, but the button does not accept a click.
I thought to just get the macosx-app script from the source distribution. In there, I find something called macosx-app-template. I don't know how to generate the former from the latter. On Mar 11, 2010, at 4:19 PM, carlos gomez wrote: > I got the same error, but it is only in the ghc interpreter, so if you > compile that with ghc --make, you will not get that error. > > -- carlos gomez > > On 11 March 2010 14:37, David Place <d...@vidplace.com> wrote: > > On Mar 10, 2010, at 3:41 PM, David Place wrote: > > > I have just installed the Haskell Platform 2009.2.0.2 on Mac OSX 10.6.2. > > When I try to install wx I get the following error which I do not > > understand. > > Can anyone give me a hint? > > With the kind help of several people on haskell-cafe, I have been able to get > a version of wxHaskell to install. I appear to be missing "macosx-app". It > is not in /usr/local/wxhaskell/bin/macosx-app or ~/.cabal/bin. I have tried > the EnableGUI module, but get the error: > > > $ ghci -framework Carbon try.hs > > GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help > > Loading package ghc-prim ... linking ... done. > > Loading package integer ... linking ... done. > > Loading package base ... linking ... done. > > Loading object (framework) Carbon ... done > > final link ... done > > [2 of 2] Compiling Main ( try.hs, interpreted ) > > Ok, modules loaded: Main, EnableGUI. > > *Main> enableGUI > > *Main> main > > Loading package syb ... linking ... done. > > Loading package array-0.2.0.0 ... linking ... done. > > Loading package containers-0.2.0.1 ... linking ... done. > > Loading package bytestring-0.9.1.4 ... linking ... done. > > Loading package old-locale-1.0.0.1 ... linking ... done. > > Loading package old-time-1.0.0.2 ... linking ... done. > > Loading package filepath-1.1.0.2 ... linking ... done. > > Loading package unix-2.3.2.0 ... linking ... done. > > Loading package directory-1.0.0.3 ... linking ... done. > > Loading package stm-2.1.1.2 ... linking ... done. > > Loading package parsec-2.1.0.1 ... linking ... done. > > Loading package time-1.1.4 ... linking ... done. > > Loading package wxdirect-0.12.1.1 ... linking ... done. > > Loading package wxcore-0.12.1.2 ... can't load .so/.DLL for: stdc++ > > (dlopen(libstdc++.dylib, 9): image not found) > > *Main> > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > wxhaskell-users mailing list > wxhaskell-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users