Hi Sven,
Do you still maintain the OpenGL and GLUT packages? Problem and solution described below.
Thanks,
- Conal
Problem solved, thanks to a suggestion from Sigbjorn.The OpenGL.buildinfo.in <http://OpenGL.buildinfo.in> and GLUT.buildinfo.in <http://GLUT.buildinfo.in> files were missing entries for 'extra-libraries'. Once I added these entries, everything works.
I wonder why other people aren't having the same problem. Any theories?
- Conal
On Wed, Oct 29, 2008 at 6:24 PM, Conal Elliott <conal@conal.net <mailto:conal@conal.net>> wrote:
I'm getting some more information now on failure with glut32 (not
freeglut). After getting cygwin out of the way, now GLUT fails to
load in ghci (rather than crashing). Quitting ghci shows a
missing symbol:
*Main> main
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package OpenGL-2.2.1.1 ... linking ... done.
Loading package GLUT-2.1.1.2 ... linking ... : unable to load
package `GLUT-2.1.1.2'
*Main> :q
Leaving GHCi.
<interactive>:
c:/Haskell/packages\GLUT-2.1.1.2\ghc-6.11.20081024\HSGLUT-2.1.1.2.o:
unknown symbol `_glutGet'
bash-3.1$ which glut32.dll
/c/WINDOWS/system32/glut32.dll
When I hide glut32.dll (rename it) and try again, I get the same
result. Same result again when I copy glut32.dll into the
directory containing the Haskell test module.
Any ideas?
Thanks, - Conal