[HOpenGL] "can't load .so/.dll for: glut32 (addDll: unknown error)"

C Flynn scs4cajf at comp.leeds.ac.uk
Mon Jul 23 06:39:59 EDT 2007


On Sat, 21 Jul 2007, Hugh Perkins wrote:

> Hi,
>
> Kindof a dumb question I know, what do I need to do to avoid getting the
> following message when I try loading GLUT?
>
> J:\dev\haskell>ghci -fglasgow-exts Teapots.hs
>  ___         ___ _
> / _ \ /\  /\/ __(_)
> / /_\// /_/ / /  | |      GHC Interactive, version 6.6.1, for Haskell 98.
> / /_\\/ __  / /___| |      http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_|      Type :? for help.
>
> Loading package base ... linking ... done.
> Ok, modules loaded: Main.
> Prelude Main> main
> Loading package OpenGL-2.2.1 ... linking ... done.
> Loading package GLUT-2.1.1 ... can't load .so/.DLL for: glut32 (addDLL:
> unknown
> error)
>
> As you can see, running ghc 6.6.1, on Windows.
>

Have you got the glut32.dll on your PC? As far as I can remember it does
not come with windows.

Charles


More information about the HOpenGL mailing list