Hi Sven,<br><br>Do you still maintain the OpenGL and GLUT packages? Problem and solution described below.<br><br>Thanks,<br> - Conal<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Sigbjorn Finne</b> <span dir="ltr"><<a href="mailto:sigbjorn.finne@gmail.com">sigbjorn.finne@gmail.com</a>></span><br>
Date: Thu, Oct 30, 2008 at 7:52 PM<br>Subject: Re: different glut32 problem<br>To: Conal Elliott <<a href="mailto:conal@conal.net">conal@conal.net</a>><br>Cc: Ivan Tomac <<a href="mailto:ivan.tomac@gmail.com">ivan.tomac@gmail.com</a>>, David Sankel <<a href="mailto:camior@gmail.com">camior@gmail.com</a>>, Matti Niemenmaa <<a href="mailto:matti.niemenmaa%2Bnews@iki.fi">matti.niemenmaa+news@iki.fi</a>>, Mark Wassell <<a href="mailto:mwassell@bigpond.net.au">mwassell@bigpond.net.au</a>>, Jefferson Heard <<a href="mailto:jefferson.r.heard@gmail.com">jefferson.r.heard@gmail.com</a>><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'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'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> <<a href="http://OpenGL.buildinfo.in" target="_blank">http://OpenGL.buildinfo.in</a>> and <a href="http://GLUT.buildinfo.in" target="_blank">GLUT.buildinfo.in</a> <<a href="http://GLUT.buildinfo.in" target="_blank">http://GLUT.buildinfo.in</a>> files were missing entries for 'extra-libraries'. Once I added these entries, everything works.<div class="Ih2E3d">
<br>
<br>
I wonder why other people aren't having the same problem. Any theories?<br>
<br>
- Conal<br>
<br></div><div class="Ih2E3d">
On Wed, Oct 29, 2008 at 6:24 PM, Conal Elliott <<a href="mailto:conal@conal.net" target="_blank">conal@conal.net</a> <mailto:<a href="mailto:conal@conal.net" target="_blank">conal@conal.net</a>>> wrote:<br>
<br>
I'm getting some more information now on failure with glut32 (not<br>
freeglut). After getting cygwin out of the way, now GLUT fails to<br>
load in ghci (rather than crashing). Quitting ghci shows a<br>
missing symbol:<br>
<br>
*Main> main<br>
Loading package syb ... linking ... done.<br>
Loading package array-0.2.0.0 ... linking ... done.<br>
Loading package containers-0.2.0.0 ... linking ... done.<br>
Loading package OpenGL-2.2.1.1 ... linking ... done.<br>
Loading package GLUT-2.1.1.2 ... linking ... : unable to load<br>
package `GLUT-2.1.1.2'<br>
*Main> :q<br>
Leaving GHCi.<br>
<interactive>:<br>
c:/Haskell/packages\GLUT-2.1.1.2\ghc-6.11.20081024\HSGLUT-2.1.1.2.o:<br>
unknown symbol `_glutGet'<br>
<br>
bash-3.1$ which glut32.dll<br>
/c/WINDOWS/system32/glut32.dll<br>
<br>
When I hide glut32.dll (rename it) and try again, I get the same<br>
result. Same result again when I copy glut32.dll into the<br>
directory containing the Haskell test module.<br>
<br>
Any ideas?<br>
<br>
Thanks, - Conal<br>
<br>
<br>
</div></blockquote>
<br>
</div><br>