在Ubuntu上安装光泽(特别是OpenGLRaw依赖)时,“*缺少C库:GL”

尝试安装光泽时出现以下错误
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,但是没有这样的库.

对于大多数缺少的C库,很明显要安装什么;对于openGL来说并非如此.对我来说,安装以下软件包会让事情再次发生变化
sudo apt-get install freeglut3 freeglut3-dev

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...