elisehuard / game-in-haskell

Other
119 stars 30 forks source link

Apparently working GLUT hack for running examples in Linux #3

Open jmillikan opened 9 years ago

jmillikan commented 9 years ago

A hack around Linux trouble with the examples by explicitly initializing GLUT. Tested on Ubuntu 14.04 LTS using cabal 1.22.0.1, GHC 7.8.3. This is likely to work on other Linux systems with the GLUT error.

elisehuard commented 9 years ago

Sorry for not noticing this earlier! Ideally, we'd get rid of GLUT altogether. Gloss unfortunately still has a dependency on it (via its font render) so I guess this might be a good temporary solution.