[Ooops, I replied to Marc only... :-/ ]

---------- Forwarded message ----------
From: Sven Panne <svenpa...@gmail.com>
Date: 2014-07-16 14:57 GMT+02:00
Subject: Re: 2014.2.0.0 alphas
To: Mark Lentczner <mark.lentcz...@gmail.com>


2014-07-13 3:09 GMT+02:00 Mark Lentczner <mark.lentcz...@gmail.com>:
> Alphas fo Windows are now here:
> [...]
> Unfortunately, I am not able to test much on GLUT (particularly the newer
> stuff, which is part of the reason for upgrading to freeglut) as my graphics
> hardware only support OpenGL 3.3, whereas newer versions (e.g., 4.3) are
> needed.  I have only done a couple of sanity tests for GLUT.  I'll ask the
> GLUT maintainer if he can do more than I [...]

I tested the x86_64 alpha on Windows 7, and when you compile the GLUT
examples and run them directly, everything is fine. If you load them
into GHCi, they run, but you get quite a few warnings from GHC's
linker, e.g.:

------------------------------------------------------------------------------------------------------
$ /c/Program\ Files/Haskell\ Platform/2014.2.0.0/bin/ghci.exe ExtractContours.hs
WARNING: GHCi invoked via 'ghci.exe' in *nix-like shells (cygwin-bash,
in particular)
         doesn't handle Ctrl-C well; use the 'ghcii.sh' shell wrapper instead
GHCi, version 7.8.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main             ( ExtractContours.hs, interpreted )
Ok, modules loaded: Main.
*Main> main
Loading package array-0.5.0.0 ... linking ... done.
Loading package deepseq-1.3.0.2 ... linking ... done.
Loading package bytestring-0.10.4.0 ... linking ... done.
Loading package text-1.1.0.0 ... linking ... done.
Loading package OpenGLRaw-1.5.0.0 ... linking ... <interactive>:
warning: wglGetProcAddress from opengl32 is linked instead of
__imp_wglGetProcAddress
<interactive>: warning: GetProcAddress from kernel32 is linked instead
of __imp_GetProcAddress
<interactive>: warning: LoadLibraryA from kernel32 is linked instead
of __imp_LoadLibraryA
done.
Loading package GLURaw-1.4.0.1 ... linking ... <interactive>: warning:
GetProcAddress from kernel32 is linked instead of __imp_GetProcAddress
<interactive>: warning: LoadLibraryA from kernel32 is linked instead
of __imp_LoadLibraryA
done.
Loading package OpenGL-2.9.2.0 ... linking ... done.
Loading package containers-0.5.5.1 ... linking ... done.
Loading package GLUT-2.5.1.1 ... linking ... <interactive>: warning:
GetProcAddress from kernel32 is linked instead of __imp_GetProcAddress
<interactive>: warning: LoadLibraryA from kernel32 is linked instead
of __imp_LoadLibraryA
done.
------------------------------------------------------------------------------------------------------

This seems to be related to
https://ghc.haskell.org/trac/ghc/ticket/2283, but I've got no clue in
detail why the warning is emitted when things seem to work, and if you
read https://ghc.haskell.org/trac/ghc/ticket/9297, I don't seem to be
the only one who is confused. :-}

_______________________________________________
Haskell-platform mailing list
Haskell-platform@projects.haskell.org
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform

Reply via email to