Can’t get Freeglut to work with Haskell on Windows
download glut from http://www.transmissionzero.co.uk/software/freeglut-devel/. Be sure to download the MinGW version. 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. rename it as glut32.dll I just solved this problem and hope this could help others.