|
This is caused by a clash between the new Win32 package
and the old win32 package. The Windows installer contains both, but
unfortunately they clash on the name of the libraries.
I think the new Win32 library is ready to replace the
old one (Ross?). If that's the case, Sigbjorn, would you mind re-rolling
the installer without hslibs/win32? Thanks.
Simon
GHC 6.4 Final Release - tried the sample code for
Graphics.HGL, i.e.
module Main where
{
import Graphics.HGL;
main
:: IO (); main = runGraphics
$ withWindow_ "Hello World Window"
(300, 200) $ \ w -> do
drawInWindow w $ text (100, 100) "Hello
World" drawInWindow w $ ellipse
(100, 80) (200, 180) getKey
w; }
WindowsXP Home.
First attempt in GHCi is as below. Retrying main causes a GPF error
box.
c:\temp>ghci
Main ___ ___
_ / _ \ /\ /\/ __(_) / /_\// /_/ / / |
| GHC Interactive, version 6.4, for Haskell
98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/
/_/\____/|_| Type :? for help.
Loading
package base-1.0 ... linking ... done. Compiling
Main (
Main.hs, interpreted ) Ok, modules loaded: Main. *Main> main Loading
package Win32-1.0 ... <interactive>: Not x86 PEi386 ghc.exe: panic!
(the `impossible' happened, GHC version
6.4): loadObj:
failed
Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, or
http://sourceforge.net/projects/ghc/.
*Main>
main Loading package Win32-1.0 ... linking
... c:\temp>
|
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|