[Haskell-cafe] Installing wxHaskel on Snow Leopard

Henk-Jan van Tuyl hjgtuyl at chello.nl
Thu Aug 8 16:28:15 CEST 2013


On Thu, 08 Aug 2013 15:54:13 +0200, Eduardo Sato <eduardo.sato at gmail.com>  
wrote:

> Roman, thanks.
>
> I've managed to install wxHaskell. Someone has already patched it like  
> just you said: https://github.com/wxHaskell/wxHaskell
>
> The sample programs compile and work fine now.
>
> The only problem now is that I want to distribute a wxHaskell  
> application on mac OS X. I tried using macosx-app and cabal-macosx  
> (https://github.com/michaelt/cabal-macosx) to make an "app" file. It  
> runs fine on my machine, but it fails to run on another computer. I get  
> the following error:
>
> Dyld Error Message: Library not loaded:  
> /Users/eduardo/.cabal/lib/wxc-0.90.1.0/ghc-7.6.3/libwxc.dylib.
>
> What would be the best way to redistribute wxHaskell apps?

wxHaskell uses a lot of dynamic libraries (at least in a Windows  
environment) that must be distributed with applications; I am not familiar  
with Mac OS X, but for an idea, see:
   http://www.haskell.org/haskellwiki/WxHaskell/Windows#DLLs

Regards,
Henk-Jan van Tuyl


-- 
Folding at home
What if you could share your unused computer power to help find a cure? In  
just 5 minutes you can join the world's biggest networked computer and get  
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--




More information about the Haskell-Cafe mailing list