Changes between Version 53 and Version 54 of WikiStart
- Timestamp:
- Dec 16, 2012, 10:39:39 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v53 v54 33 33 34 34 == Frequently Asked Questions (FAQ) == 35 '''Q: Why doesn't the lastest version of Gloss build with the Haskell Platform?'''[[br]] 36 A: Probably because the Haskell Platform (HP) doesn't use the latest version of GHC. The [http://hackage.haskell.org/package/gloss-examples gloss-examples] package depends on [http://hackage.haskell.org/package/repa repa] via the [http://hackage.haskell.org/package/gloss-raster gloss-raster] package. Repa itself is tightly coupled to a particular version of GHC because it depends on specific properties of the GHC simplifier for good performance. When the HP does not use the latest GHC we provide a specific Gloss package for it, whose API should be identical to the most recent version. For the Haskell Platform 2012.04 you should use [http://hackage.haskell.org/package/gloss-1.7.7.201204.1 gloss-1.7.7.201204.1]. 37 38 35 39 '''Q: Gloss freezes in `ghci`. It tries to draw the window but I don't get a picture and must kill the process.'''[[br]] 36 A0: Upgrade to at least GHC 7. 2[[br]]40 A0: Upgrade to at least GHC 7.4[[br]] 37 41 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]] 38 42 A2: Try installing gloss to use the GLFW window manager interface instead of GLUT: `cabal install gloss --flags="GLFW -GLUT"`