From: Adrian N. <ane...@in...> - 2008-04-07 06:19:58
|
I did. Windows throws an error. Something like "program cannot be initialized". The same thing I assume. Adrian José Miguel Vilaça schrieb: > 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: wxh...@li... > [mailto:wxh...@li...] Em nome de Adrian > Neumann > Enviada: sábado, 5 de Abril de 2008 18:09 > Para: wxh...@li... > 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 > > |