Re: [HOpenGL] Haksell, OpenGL on Windows configuration

Hey Mark,
im not sure if this helps:
http://netsuperbrain.com/blog/posts/freeglut-windows-hopengl-hglut/
2009/3/17 Mark Spezzano
Hi,
Can someone PLEASE help me to understand exactly how to configure OpenGL on Window using Haskell. I'm using Eclipse IDE.
When I try to run the file Test1.hs in GHCi then I get the following error:
Loading package syb ... linking ... done.
Loading package base-3.0.3.0 ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package OpenGL-2.2.1.1 ... can't load .so/.DLL for: GL (addDLL: could not load DLL)
Prelude Main>
I've copied the GLUT dll into Windows/System32.
Is there some flag or option that I need to enable to tell Haskell where to go to link in the library. What do I do with the other .h and .lib files from GLUT?
Thanks
Mark
No virus found in this outgoing message. Checked by AVG. Version: 7.5.557 / Virus Database: 270.11.15/2004 - Release Date: 16/03/2009 7:04 AM
_______________________________________________ HOpenGL mailing list HOpenGL@haskell.org http://www.haskell.org/mailman/listinfo/hopengl

Also, freeglut is much more ghci-friendly than non-free glut, making it
possible to exit back into ghci when you close a graphics window. With
non-free glut, iiuc, you have to kill the ghci process each time.
- Conal
2009/3/17 Hugo Gomes
Hey Mark,
im not sure if this helps:
http://netsuperbrain.com/blog/posts/freeglut-windows-hopengl-hglut/
2009/3/17 Mark Spezzano
Hi,
Can someone PLEASE help me to understand exactly how to configure OpenGL on Window using Haskell. I'm using Eclipse IDE.
When I try to run the file Test1.hs in GHCi then I get the following error:
Loading package syb ... linking ... done.
Loading package base-3.0.3.0 ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package OpenGL-2.2.1.1 ... can't load .so/.DLL for: GL (addDLL: could not load DLL)
Prelude Main>
I've copied the GLUT dll into Windows/System32.
Is there some flag or option that I need to enable to tell Haskell where to go to link in the library. What do I do with the other .h and .lib files from GLUT?
Thanks
Mark
No virus found in this outgoing message. Checked by AVG. Version: 7.5.557 / Virus Database: 270.11.15/2004 - Release Date: 16/03/2009 7:04 AM
_______________________________________________ HOpenGL mailing list HOpenGL@haskell.org http://www.haskell.org/mailman/listinfo/hopengl
_______________________________________________ HOpenGL mailing list HOpenGL@haskell.org http://www.haskell.org/mailman/listinfo/hopengl
participants (2)
-
Conal Elliott
-
Hugo Gomes