嘿,我正在尝试使用gloss库,但我总是得到这样的错误: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 我知道有类似的问题,但我一直无法找到解决方案。谢谢
https://stackoverflow.com/questions/65023621
复制相似问题