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.
thanks
eros



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