图形库未使用 cabal 安装

问题描述

我几天前才开始学习haskell。我安装了 ghc 版本 8.10.2,cabal 版本是

cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library

我正在尝试安装图形库以进一步练习 Haskell。我尝试安装三个库(OpenGLgloss 等)。所有三个都需要 Openglraw 3.3.4.0 并且所有三个都由于这个库而失败。失败的日志文件如下

Preprocessing library for Openglraw-3.3.4.0..
Building library for Openglraw-3.3.4.0..
[  1 of 617] Compiling Graphics.GL.Groups ( src\Graphics\GL\Groups.hs,dist\build\Graphics\GL\Groups.o )
[  2 of 617] Compiling Graphics.GL.Types ( src\Graphics\GL\Types.hs,dist\build\Graphics\GL\Types.o )
ghc.exe: Could not execute: C:/GitLabRunner/builds/2WeHDSFP/0/ghc/ghc/inplace/mingw/bin/ld.exe

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)