嘿,我正在尝试使用光泽库,但我总是收到此错误:Exception: user error (unknown GLUT entry glutInit)
这是我的代码:
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
我知道有类似的问题,但我无法在那里找到解决方案。谢谢