【问题标题】:"* Missing C library: GL" when installing gloss (specifically the OpenGLRaw dependency) on Ubuntu在 Ubuntu 上安装光泽(特别是 OpenGLRaw 依赖项)时出现“*缺少 C 库:GL”
【发布时间】:2015-02-14 17:24:12
【问题描述】:

我在尝试安装 Gloss 时收到以下错误:

Configuring OpenGLRaw-1.5.0.1...
Failed to install OpenGLRaw-1.5.0.1
Build log ( /home/<homdir>/.cabal/logs/OpenGLRaw-1.5.0.1.log ):
Configuring OpenGLRaw-1.5.0.1...
setup-Simple-Cabal-1.18.1.5-x86_64-linux-ghc-7.8.4: Missing dependency on a
foreign library:
* Missing C library: GL
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags

通常我会尝试根据通常的命名约定安装libgl-dev,但没有这样的库。

【问题讨论】:

    标签: opengl haskell gloss openglraw


    【解决方案1】:

    对于大多数缺少的 C 库,安装什么很明显;对openGL来说不是这样。对我来说,安装以下软件包让事情再次发生。

    sudo apt-get install freeglut3 freeglut3-dev
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-09
      • 1970-01-01
      • 2019-09-15
      • 2017-07-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多