Haskell社区。 p>
我是Haskell的新手,只能实现简单的Haskell函数。
我尝试了一个开源的Haskell游戏程序。运行时,GHC出现以下错误:
HexDame.hs:1:1:错误: 无法加载'Graphics.Gloss'的接口
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'
的界面
Use -v to see a list of the files searched for.
HexDame.hs:3:1:错误: 无法加载“Graphics.Gloss.Data.Extent”
的界面
Use -v to see a list of the files searched for.
我不确定是否安装了Gloss。我在代理网络上的Windows上使用GHC。该集团的更新'解决方案也无法正常工作。 有关其他信息,我从网站上下载了整个Haskell软件包,因此我认为它包含了所有必需的软件包,包括GLUT。
请提出解决方案。