
Why do I get this error, when trying the first line example from: http://hackage.haskell.org/packages/archive/gloss/1.0.0.0/doc/html/Graphics-...
ghci GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Prelude> :m Graphics.Gloss Prelude Graphics.Gloss> let main = displayInWindow "My Window" (200, 200) (10, 10) white (Circle 80) <interactive>:4:12: Not in scope: `displayInWindow'
Also I notice that cabal shows the current version of GLFW as GLFW-0.5.0.1, But their web-site shows it as 2.7.5 - big difference?! I have: Gloss 1.7.4.1 GLUT 2.3.0.0 GLFW 0.5.0.1 Opengl 2.5.0.0

On Tue, Jun 05, 2012 at 03:23:42PM -0500, Gregory Guthrie wrote:
Also I notice that cabal shows the current version of GLFW as GLFW-0.5.0.1, But their web-site shows it as 2.7.5 - big difference?!
I don't know the answer to the question about gloss. But re: the above, note that the version of the GLFW library itself and the version of the Haskell package called GLFW (which provides bindings to the GLFW library) are completely different things. 0.5.0.1 appears to be the latest version of the Haskell package. -Brent
participants (2)
-
Brent Yorgey
-
Gregory Guthrie