gpt4 book ai didi

CentOS 7 安装带有 GUI 的 Octave 4.0.2(OpenGL 支持)

转载 作者:太空宇宙 更新时间:2023-11-03 17:17:15 25 4
gpt4 key购买 nike

我正在尝试从 CentOS 7 中的源代码安装 Octave 4,但我收到了警告消息:

configure: WARNING: OpenGL libs (GL and GLU) not found.  Native graphics will be disabled.
configure: WARNING: OpenGL libs (GL and GLU) not found -- disabling GUI
configure: WARNING:
configure: WARNING: I didn't find the necessary libraries to compile native
configure: WARNING: graphics. It isn't necessary to have native graphics,
configure: WARNING: but you will need to have gnuplot installed or you won't
configure: WARNING: be able to use any of Octave's plotting commands
configure: WARNING:
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
configure: NOTE: not found OR if they are missing required features on your
configure: NOTE: system.

我已经检查过这个 QUESTION,但它没有帮助。

我也完成了 yum install libqt4-opengl-dev 但出现错误 No package libqt4-opengl-dev available.

我有 mesa-libGL 和 mesa-libGL-devel,但配置似乎无法获取这些库。

编辑:回答我自己的问题请参阅问题下方的评论。

最佳答案

我知道这是一个老问题,但我想保留它,以防有人仍在寻找安装 Octave 4.x 的简单方法。安装 Octave 4 最简单的方法是使用 Flatpack。它默认安装在 CentOS 7 中。

flatpak install flathub org.octave.Octave
flatpak run org.octave.Octave

如果您使用的是 Red Hat,则需要先安装 flatpak:

sudo yum install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

关于CentOS 7 安装带有 GUI 的 Octave 4.0.2(OpenGL 支持),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36893286/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com