[HOpenGL] problems with package GLUT

Sven Panne Sven.Panne at aedion.de
Tue May 24 12:32:46 EDT 2005


Scott J. wrote:
> When trying to open Planet.hs with Ghci 6.2.2 I get this:
>  
> Loading package base  . . . linking . . . done
> Loading package OpenGL . . . linking . . . done
> .
> .(several packages)
> .
> Loading package GLUT . . . can't load .so/.DLL for glut32 (addDLL: 
> unknown error
>  
> C:/Documents and Settings/Jan/Desktop/Planet.hs:
>      Can't find module `GLU'
>  
> Does anyone using OpenGl on Windows XP can help me?

Did you install the GLUT DLL? You can find it at

    http://www.xmission.com/~nate/glut.html

You basically need to have a C:\WINNT\system32\glut32.dll.

> My .ghci file contains:
> :set -fglasgow-exts -cpp -package wx -package wxcore -package OpenGL
> :set -package GLUT

Looks OK, but the "-package OpenGL" is redundant, because the GLUT package
already depends on it.

Cheers,
    S.


More information about the HOpenGL mailing list