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

On 21 Jul 2010 16:13, "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.
thanks
eros

------------------------------
Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up
now. <https://signup.live.com/signup.aspx?id=60969>

------------------------------------------------------------------------------
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-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
------------------------------------------------------------------------------
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-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to