Hey I am trying to use gloss library but I always get this error: Exception: user error (unknown GLUT entry glutInit)
This is my code:
module Pruebas where
import Graphics.Gloss
window :: Display
window = InWindow "Nice Window" (200, 200) (10, 10)
background :: Color
background = white
drawing :: Picture
drawing = circle 80
final :: IO ()
final = display window background drawing
I know that there are similar questions but I haven't been able to find a solution there. Thanks