On Wed, 21 Jul 2010 15:09:37 +0200, eros olmi <erosol...@hotmail.com> wrote:
> > Hi > i am using the latest haskell platform for windows 2010.1.0.0 > and i have installed the wxhaskell using the cabal > i can compile a wxhaskell program such as hello.hs successfully using: > ghc -package wx -o hello hello.hs > but i can't using ghci like this: > ghci -package wx hello.hs > GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help > Loading package ghc-prim ... linking ... done. > ..... ................ done. > Loading package wxdirect-0.12.1.3 ... linking ... done. > : stdc++: The specified module could not be found. > Loading package wxcore-0.12.1.6 ... <command line>: can't load .so/.DLL > for: std > c++ (addDLL: could not load DLL) > how can i solve this contradiction between GHC and GHCi since the first > succeeded and the second failed. i have seen that wxcore-0.12.1.6 are > installed from the listing during the install process. Jeremy O'Donoghue wrote recently about this: > Unfortunately this is a known issue. It is the result of mixing static > and dynamic libraries, which is something GHCi can't do. > I'm working on a solution, but am very short of free time, so it's taking > longer than I would hope. It's also quite a major change and needs a lot > of validation. > There are quite a few people waiting for this, so I hope get to it as > quickly as possible. > Regards > Jeremy Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html -- ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users