1

哈斯克尔社区。

我是 Haskell 的新手,只能实现简单的 Haskell 功能。

我试用了一个开源的 Haskell 游戏程序。在运行它时,GHC 给出了以下错误:

HexDame.hs:1:1: 错误:无法为“Graphics.Gloss”加载界面</p>

    Perhaps you meant
    Graphics.GL (from OpenGLRaw-3.1.0.0)
   Graphics.GL.HP (from OpenGLRaw-3.1.0.0)
   Graphics.GL.NV (from OpenGLRaw-3.1.0.0)
   Use -v to see a list of the files searched for.

HexDame.hs:2:1: 错误:无法为“Graphics.Gloss.Interface.Pure.Game”加载界面</p>

    Use -v to see a list of the files searched for.

HexDame.hs:3:1: 错误:无法为“Graphics.Gloss.Data.Extent”加载接口</p>

     Use -v to see a list of the files searched for.

我不确定是否安装了 Gloss。我在代理网络上的 Windows 上使用 GHC。“阴谋集团更新”解决方案也不起作用。对于其他信息,我已经从网站下载了整个 Haskell 包,所以我认为它包括所有必要的包,包括 GLUT。

请提出解决方案。

4

0 回答 0