[HOpenGL] glut and opengl on windows
Lorcan McDonald
lorcan.mcdonald at gmail.com
Tue Nov 10 11:04:51 EST 2009
You can drop the glut32.dll (from
http://www.xmission.com/~nate/glut.html) into the same directory as
your executable and it should work.
Make sure that you have the latest version of opengl from hackage too
(cabal upgrade opengl), as there were some recent updates that fixed a
problem similar to your second case that I was having on Windows.
On Tue, Nov 10, 2009 at 1:41 PM, Sam Martin <sam.martin at geomerics.com> wrote:
> Hi everyone,
>
>
>
> Apologies if this is a FAQ, but I can’t find the answer from googling.
>
>
>
> I’m trying to get glut and opengl to work on windows. I’m after a setup
> that:
>
> - Uses freeglut (so I can run in ghci easily)
>
> - Ideally, uses the latest ghc compiler
>
> - Works!
>
>
>
> That last part is where I’m getting stuck. I’ve tried both a:
>
> - Clean install of Haskell Platform 2009.2.0.2
>
> o (fails to locate glut32.dll)
>
> - Compiling freeglut, and the haskell glut+opengl packages from
> within mingw
>
> o Compiles, but issues *** Exception: user error (unknown GLUT entry
> glutInit) at runtime.
>
>
>
> I also found a few tutorials (which helped me compile everything), but they
> are all for slightly older versions of the Haskell wrappers now.
>
>
>
> What is the best way to get up and running on Windows? Do I have to use an
> old version? Is this expected behaviour?
>
>
>
> Thanks,
>
> Sam
>
> _______________________________________________
> HOpenGL mailing list
> HOpenGL at haskell.org
> http://www.haskell.org/mailman/listinfo/hopengl
>
>
More information about the HOpenGL
mailing list