Re: problems with package GLUT

Sven Panne <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.