Linux Ubuntu eoan, ghc 4.8.8, libghc-gloss-dev 1.13.0.1-2build1, freeglut3 2.8.1-3 Running example from the package description: ``` $ cat g.hs import Graphics.Gloss main = display (InWindow "Nice Window" (200, 200) (10, 10)) white (Circle 80) ``` When compiled, works as expected: ``` $ ghc --make g.hs && ./g ``` shows the window with the circle. However, when run under ghci it does not work: ``` $ ghci g.hs GHCi, version 8.4.4: http://www.haskell.org/ghc/ :? for help [1 of 1] Compiling Main ( g.hs, interpreted ) Ok, one module loaded. *Main> :main *** Exception: user error (unknown GLUT entry glutInit) *Main> ``` It is quite unfortunate to not be able to debug the code under ghci. Thanks, Eugene
--
You received this message because you are subscribed to the Google Groups "Haskell Gloss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-glos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-gloss/94a7d12d-37c1-4f6b-bafb-4bcd80137cec%40googlegroups.com.