Changes between Version 77 and Version 78 of WikiStart
- Timestamp:
- Mar 24, 2018, 3:49:59 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v77 v78 58 58 59 59 == Frequently Asked Questions (FAQ) == 60 '''Q: Gloss crashes at startup.'''[[br]]61 A0: On Windows there is a known issue with the version of freeglut that comes with the Haskell Platform 2012.2.0.0. Upgrade your Haskell Platform or install freeglut >= 2.8.0.[[br]]62 A1: On other systems, you can also try upgrading freeglut to the latest version. If doing this solves a crash-bug on a non-Windows machine then please email me about it `gloss [wibble] ouroborus.net`and I'll update this wiki.63 64 60 '''Q: Gloss freezes in `ghci`. It tries to draw the window but I don't get a picture and must kill the process.'''[[br]] 65 A0: Upgrade to at least GHC 7.4[[br]] 66 A1: Start `ghci` with `-fno-ghci-sandbox`. This is because OpenGL uses thread local state, which doesn't work when the running program is in a different thread.[[br]] 67 A2: Try installing gloss to use the GLFW window manager interface instead of GLUT: `cabal install gloss --flags="GLFW -GLUT"` 61 A0: Start `ghci` with `-fno-ghci-sandbox`. This is because OpenGL uses thread local state, which doesn't work when the running program is in a different thread.[[br]] 62 A1: Try installing gloss to use the GLFW window manager interface instead of GLUT: `cabal install gloss --flags="GLFW -GLUT"` 68 63 69 64 '''Q: I tried to draw a polygon shaped like a star, but it looks wrong.'''[[br]]