opengl - How to get gloss to not close ghci? -
gloss
nice library graphics. problem, is, when run in ghci
, closes ghci
exit. tried using forkio
, still closes ghci after closing window. how gloss
not close ghci (or @ least keep history) or better use file?
as web site suggests (http://gloss.ouroborus.net/)
a2: try installing gloss use glfw window manager interface instead of glut: cabal install gloss --flags="glfw -glut"
i work ghc-7.6.3 (after pressing esc in window, i'm ghci)
but cannot compile ghc-7.8.4 (because cabal complains)
next goal: glfw-b (dependency of gloss-1.9.2.1:+glfw) rejecting: glfw-b-1.4.7.2, 1.4.7.1, 1.4.7, 1.4.6, 1.4.5, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4, 1.3, 1.2.1, 1.2.0, 1.1.0, 1.0.2, 1.0.1, 1.0.0, 0.1.0.5, 0.1.0.4, 0.1.0.3, 0.1.0.2, 0.1.0.1, 0.1.0.0, 0.0.2.10, 0.0.2.9, 0.0.2.8, 0.0.2.7, 0.0.2.6, 0.0.2.5, 0.0.2.4, 0.0.2.3, 0.0.2.2, 0.0.2.1, 0.0.2, 0.0.1 (conflict: gloss-1.9.2.1:glfw => glfw-b>=0.1.4.1 && <0.2)
Comments
Post a Comment