From: Arthur B. <ar...@cs...> - 2004-07-28 09:15:31
|
You need to tell ghc to use the 'wx' package, try: ghc -package wx Hello.hs HTH, Arthur On 28-jul-04, at 10:50, Nikolay Metchev wrote: > Hello, > Sorry to sound so dumb but I can't seem to get hello world to work: > here is the Hello.hs: > ------------------------------- > module Hello where > import Graphics.UI.WX > > main :: IO () > main > = start hello > > hello :: IO () > hello > = do f <- frame [text := "Hello!"] > quit <- button f [text := "Quit", on command := close f] > set f [layout := widget quit] > ------------------------- > then I run ghc -v Hello.hs > and I get the output bellow. > It cannot find Graphics.UI.WX > What am I doing wrong? > I have run the wxhaskell-register.bat successfully. > Please help > much appreciated > > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |