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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by Hugh Perkins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


_______________________________________________
HOpenGL mailing list
HOpenGL@...
http://www.haskell.org/mailman/listinfo/hopengl

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

by C Flynn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
HOpenGL mailing list
HOpenGL@...
http://www.haskell.org/mailman/listinfo/hopengl