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- ... linking ... done.
: stdc++: The specified module could not be found.
Loading package wxcore- ... <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- are installed from the listing during the install process.

Hotmail: Trusted email with powerful SPAM protection. Sign up now.