> 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.
Many thanks for your hint, the package GLUT
is now loaded, but I still get the message
Can't find module
`GLU'
This is what happens now when double clicking
Planet.hs:
Loading package base . . . linking . . .
done
Loading package OpenGL . . . linking . . . done
Loading
package GLUT . . . linking . . .
done
Loading package lang . . . linking . . . done
Loading package haskell98 . . . linking . . .
done
Loading package concurrent . . . linking . . .
done
Loading package wxcore . . . linking . . .
done
Loading package wx . . . linking . . .
done
C:/Documents and
Settings/Jan/Desktop/Planet.hs:
Can't find
module `GLU'
(use -v to see
. . . . for)
Prelude>
I can't find any package in the Haskel Hierarchical
Libraries containing GLU. Here's my revised .ghci file
:set -fglasgow-exts -cpp -package wx -package
wxcore -package GLUT
As I have said I use GHCi 6.2.2
Jan
----- Original Message -----
Sent: Tuesday, May 24, 2005 6:32 PM
Subject: Re: [HOpenGL] problems with package
GLUT
> 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.
>
>