Hi Sven,<br><br>Do you still maintain the OpenGL and GLUT packages?&nbsp; Problem and solution described below.<br><br>Thanks,<br>&nbsp;&nbsp; - Conal<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Sigbjorn Finne</b> <span dir="ltr">&lt;<a href="mailto:sigbjorn.finne@gmail.com">sigbjorn.finne@gmail.com</a>&gt;</span><br>
Date: Thu, Oct 30, 2008 at 7:52 PM<br>Subject: Re: different glut32 problem<br>To: Conal Elliott &lt;<a href="mailto:conal@conal.net">conal@conal.net</a>&gt;<br>Cc: Ivan Tomac &lt;<a href="mailto:ivan.tomac@gmail.com">ivan.tomac@gmail.com</a>&gt;, David Sankel &lt;<a href="mailto:camior@gmail.com">camior@gmail.com</a>&gt;, Matti Niemenmaa &lt;<a href="mailto:matti.niemenmaa%2Bnews@iki.fi">matti.niemenmaa+news@iki.fi</a>&gt;, Mark Wassell &lt;<a href="mailto:mwassell@bigpond.net.au">mwassell@bigpond.net.au</a>&gt;, Jefferson Heard &lt;<a href="mailto:jefferson.r.heard@gmail.com">jefferson.r.heard@gmail.com</a>&gt;<br>
<br><br>Cool; looks as if there were some Cabal-related changes, so that<br>
bit mb fell on the floor (and non-Windows users aren&#39;t bitten by it.)<br>
Package data for older GHCen have it, but in the ld-options field.<br>
<br>
If you could fwd the mod to the maintainers, that&#39;d be great.<br>
<br>
--sigbjorn<div class="Ih2E3d"><br>
<br>
On 10/30/2008 19:23, Conal Elliott wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Problem solved, thanks to a suggestion from Sigbjorn.<br>
<br></div>
The <a href="http://OpenGL.buildinfo.in" target="_blank">OpenGL.buildinfo.in</a> &lt;<a href="http://OpenGL.buildinfo.in" target="_blank">http://OpenGL.buildinfo.in</a>&gt; and <a href="http://GLUT.buildinfo.in" target="_blank">GLUT.buildinfo.in</a> &lt;<a href="http://GLUT.buildinfo.in" target="_blank">http://GLUT.buildinfo.in</a>&gt; files were missing entries for &#39;extra-libraries&#39;. &nbsp;Once I added these entries, everything works.<div class="Ih2E3d">
<br>
<br>
I wonder why other people aren&#39;t having the same problem. &nbsp;Any theories?<br>
<br>
 &nbsp;- Conal<br>
<br></div><div class="Ih2E3d">
On Wed, Oct 29, 2008 at 6:24 PM, Conal Elliott &lt;<a href="mailto:conal@conal.net" target="_blank">conal@conal.net</a> &lt;mailto:<a href="mailto:conal@conal.net" target="_blank">conal@conal.net</a>&gt;&gt; wrote:<br>
<br>
 &nbsp; &nbsp;I&#39;m getting some more information now on failure with glut32 (not<br>
 &nbsp; &nbsp;freeglut). &nbsp;After getting cygwin out of the way, now GLUT fails to<br>
 &nbsp; &nbsp;load in ghci (rather than crashing). &nbsp;Quitting ghci shows a<br>
 &nbsp; &nbsp;missing symbol:<br>
<br>
 &nbsp; &nbsp;*Main&gt; main<br>
 &nbsp; &nbsp;Loading package syb ... linking ... done.<br>
 &nbsp; &nbsp;Loading package array-0.2.0.0 ... linking ... done.<br>
 &nbsp; &nbsp;Loading package containers-0.2.0.0 ... linking ... done.<br>
 &nbsp; &nbsp;Loading package OpenGL-2.2.1.1 ... linking ... done.<br>
 &nbsp; &nbsp;Loading package GLUT-2.1.1.2 ... linking ... : unable to load<br>
 &nbsp; &nbsp;package `GLUT-2.1.1.2&#39;<br>
 &nbsp; &nbsp;*Main&gt; :q<br>
 &nbsp; &nbsp;Leaving GHCi.<br>
 &nbsp; &nbsp;&lt;interactive&gt;:<br>
 &nbsp; &nbsp;c:/Haskell/packages\GLUT-2.1.1.2\ghc-6.11.20081024\HSGLUT-2.1.1.2.o:<br>
 &nbsp; &nbsp;unknown symbol `_glutGet&#39;<br>
<br>
 &nbsp; &nbsp;bash-3.1$ which glut32.dll<br>
 &nbsp; &nbsp;/c/WINDOWS/system32/glut32.dll<br>
<br>
 &nbsp; &nbsp;When I hide glut32.dll (rename it) and try again, I get the same<br>
 &nbsp; &nbsp;result. &nbsp;Same result again when I copy glut32.dll into the<br>
 &nbsp; &nbsp;directory containing the Haskell test module.<br>
<br>
 &nbsp; &nbsp;Any ideas?<br>
<br>
 &nbsp; &nbsp;Thanks, &nbsp;- Conal<br>
<br>
<br>
</div></blockquote>
<br>
</div><br>