Can’t get Freeglut to work with Haskell on Windows

  1. download glut from http://www.transmissionzero.co.uk/software/freeglut-devel/. Be sure to download the MinGW version.

  2. copy the file freeglut-MinGW-3.0.0-1.mp.zip\freeglut\bin\x64\freeglut.dll to C:\Windows\System32. Make sure you get the 64 bit version from the x64 folder.

  3. rename it as glut32.dll

I just solved this problem and hope this could help others.

Leave a Comment