
5 Jun
2012
5 Jun
'12
4:23 p.m.
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