3

How to make the Haskell GLUT binding using freeglut instead of the original GLUT on windows?

orftz
  • 1,138
  • 13
  • 22
Eric Wong
  • 524
  • 9
  • 21
  • What have you tried? Have you tried building Haskell GLUT with freeglut installed? – Don Stewart May 31 '11 at 01:44
  • I followed http://netsuperbrain.com/blog/posts/freeglut-windows-hopengl-hglut/, but configure GLUT with freeglut says it depends on OpenGL, StateVar, Tensor, But they are already installed. How to do that exactly? – Eric Wong May 31 '11 at 02:16
  • 3
    I find a easy way doing this. Just clean out all the original GLUT lib stuff and download a precompiled freeglut.dll and change it to glut32.dll and save to C:\WINDOWS\system32. – Eric Wong May 31 '11 at 03:41

1 Answers1

3

I find a easy way doing this. Just clean out all the original GLUT lib stuff and download a precompiled freeglut.dll and change it to glut32.dll and save to C:\WINDOWS\system32.

Eric Wong

Rotsor
  • 13,655
  • 6
  • 43
  • 57
  • Should. Doesn't. For 64-bit Windows, 32-bit programs will only see what's actually `C:\Windows\SysWOW64`. But even if place `freeglut.dll` there, renamed to `glut32.dll`, it will not work. (`Main: user error (unknown GLUT call glutSetOption, check for freeglut`) –  Jul 16 '12 at 10:01