【发布时间】:2021-03-09 10:14:35
【问题描述】:
嘿,我正在尝试使用光泽库,但我总是收到此错误: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
我知道有类似的问题,但我无法在那里找到解决方案。谢谢
【问题讨论】:
标签: windows haskell glut gloss