Hi ADrian,

Did you tried to compile that?
ghc -package wx Helloword.hs

And running Helloword.exe is ok?

Best
Miguel Vilaça


-----Mensagem original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de Adrian
Neumann
Enviada: sábado, 5 de Abril de 2008 18:09
Para: wxhaskell-users@lists.sourceforge.net
Assunto: [wxhaskell-users] Installation on Windows, DLL can't be loaded

Hi,

I just installed ghc6.8, wxWidgets2.6 and wxHaskell10.3. I tried to run 
the HelloWorld program from the samples directory, but ghci gives me

C:\ghc\wxhaskell-0.10.3\samples\wx>ghci -package wx HelloWorld.hs
GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Loading package old-locale-1.0.0.0 ... linking ... done.
Loading package old-time-1.0.0.0 ... linking ... done.
Loading package filepath-1.1.0.0 ... linking ... done.
Loading package directory-1.0.0.0 ... linking ... done.
Loading package random-1.0.0.0 ... linking ... done.
Loading package process-1.0.0.0 ... linking ... done.
Loading package array-0.1.0.0 ... linking ... done.
Loading package haskell98 ... linking ... done.
Loading package wxcore-0.10.3 ... : can't load .so/.DLL for: 
wxc-msw2.6.4-0.10.3
  (addDLL: unknown error)

That's strange, since the DLL is in Windows/system32, which is naturally 
in my PATH.

I googled, but to no avail. Nobody seems to share my problem. Does 
anybody on this mailing-list know what to do?

Adrian



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to