I've successfully installed wx (and wxcore) under Windows with the command "cabal install wx".
The samples provided in wxHaskell work. However, they do not compile with "ghc -dynamic" so I figured the packages had to be compiled with dynamic libraries. All wxcore dependencies compile and install passing the command "--enable-shared" to cabal. However, compiling wxcore with the command "cabal install wxcore --enable-shared" ends with an error. I tried "cabal install wxcore wx --enable-shared --enable-split-objs" and now this gives the error: E:\Tools\Haskell Platform\2011.2.0.0\mingw\bin\ld.exe: BFD (GNU Binutils) 2.20.51.20100613 internal error, aborting at ../../binutils-2.20.51/bfd/coffcode.h line 954 in handle_COMDAT E:\Tools\Haskell Platform\2011.2.0.0\mingw\bin\ld.exe: Please report this bug. cabal: Error: some packages failed to install: wxcore-0.12.1.6 failed during the building phase. The exception was: ExitFailure 1 Is it possible to fix this? ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users