Thanks, David.&nbsp; Helpful data point.<br><br>I am using glut32 rather than freeglut (and no need for patching the darcs GLUT).&nbsp; I wonder if glut32-vs-freeglut could account for crash-vs-nocrash on 6.10 and 6.11 but not 6.9.&nbsp; I&#39;d love to hear from someone on Windows and glut32.<br>
<br>Please do post a wiki page on freeglut + ghc on windows and let us know here.<br><br>Could you integrate your glutWin32 patch into the darcs GLUT?<br><br>&nbsp;&nbsp; - Conal<br><br><div class="gmail_quote">On Tue, Oct 28, 2008 at 8:48 AM, David Sankel <span dir="ltr">&lt;<a href="mailto:camior@gmail.com">camior@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">My setup worked:<br><ul><li>Windows XP.</li><li>ghc-6.11.20081024</li><li>freeglut 2.4.0</li>
<li>darcs version of GLUT (with patched glutGetProcAddress [attached])</li><li>darcs version of OpenGL<br></li></ul>Getting freeglut going with ghc on windows is a bit involved. I could write a walkthrough if there&#39;s enough interest.<br>

<br>David<br><br><div class="gmail_quote">2008/10/25 Conal Elliott <span dir="ltr">&lt;<a href="mailto:conal@conal.net" target="_blank">conal@conal.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">
I&#39;m getting crashes from ghc-6.10.0.20081007 and ghc-6.11.20081024 when doing a very simple GLUT program (below) with OpenGL-2.2.1.1
and GLUT-2.1.1.2 (the latest from Hackage), running on WinXP.&nbsp; It works fine on ghc-6.9.20080622 .<br><br>I&#39;d appreciate hearing about other attempts with these versions on Windows systems.<br><br>Thanks,&nbsp; - Conal <br>


<br><br><span style="font-family: courier new,monospace;">import Graphics.UI.GLUT</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">main :: IO ()</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">main = do putStrLn &quot;Initializing&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; getArgsAndInitialize</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return ()</span><br><br>
<br></div></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div>
</blockquote></div><br>