Changes between Version 53 and Version 54 of WikiStart


Ignore:
Timestamp:
Dec 16, 2012, 10:39:39 PM (11 years ago)
Author:
Ben Lippmeier
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v53 v54  
    3333
    3434== Frequently Asked Questions (FAQ) ==
     35'''Q: Why doesn't the lastest version of Gloss build with the Haskell Platform?'''[[br]]
     36A: 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
    3539'''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]]
     40A0: Upgrade to at least GHC 7.4[[br]]
    3741A1: 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]]
    3842A2: Try installing gloss to use the GLFW window manager interface instead of GLUT: `cabal install gloss --flags="GLFW -GLUT"`