Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Debian 如何访问Octave 4.4.1上的graphics_toolkit qt?_Debian_Octave_Debian Buster - Fatal编程技术网

Debian 如何访问Octave 4.4.1上的graphics_toolkit qt?

Debian 如何访问Octave 4.4.1上的graphics_toolkit qt?,debian,octave,debian-buster,Debian,Octave,Debian Buster,在Debian Buster下,我刚刚安装了octave 4.4.1(4.4.1-2+b1),但qt(OpenGL)图形工具包不可用: octave:2> name=graphics_toolkit() name = gnuplot octave:3> available_graphics_toolkits ans = { [1,1] = gnuplot } octave:1> octave_config_info().QT_LIBS warning: octave_co

在Debian Buster下,我刚刚安装了octave 4.4.1(4.4.1-2+b1),但qt(OpenGL)图形工具包不可用:

octave:2> name=graphics_toolkit()
name = gnuplot
octave:3> available_graphics_toolkits
ans =
{
  [1,1] = gnuplot
}

octave:1> octave_config_info().QT_LIBS
warning: octave_config_info is obsolete and will be removed from a future version of Octave, please use __have_feature__ or __octave_config_info__  instead.
warning: called from
octave_config_info at line 43 column 5
ans = -lQt5Network -lQt5OpenGL -lQt5PrintSupport -lQt5Help -lQt5Widgets -lQt5Gui -lQt5Sql -lQt5Core -lqscintilla2_qt5

阅读升级信息,我发现没有提到qt被删除。我应该尝试从源代码编译八度音阶吗?如果有的话,有人能告诉我一份清单或所需的软件包吗

Debian倍频程软件包4.4.1-2+b1似乎构建不正确。这已被报告为一个问题,并将很快得到解决

具体来说,Octave的configure脚本测试系统头文件
GL/GL.h
GL/glu.h
GL/glext.h
是否存在,是否可以编译,以便在OpenGL支持下构建Octave。以下是典型配置运行的摘录:

checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glext.h... yes
checking for OpenGL/glext.h... no
checking for glEnable in -lGL... yes
以下是马车上出现的情况:

我不知道在尝试此构建时(2018年11月20日),Debian归档文件的状态到底出了什么问题,但似乎有什么东西暂时使mesa OpenGL头文件和/或库无法使用


重建Octave包很快就会修复此临时错误。

尝试
Octave--gui
假设是使用gui界面构建的。请参阅:“默认情况下,octave命令不再启动GUI。大多数从shell启动Octave的用户都希望使用命令行界面,而桌面启动器已经需要
--force gui'选项。通过此更改,应修改桌面启动器以使用新选项
--gui'。“如果这没有帮助,请添加
octave\u config\u info()的输出.QT_LIBS
@Andy我的问题不是关于GUI,而是关于用于绘图的图形包,很抱歉造成混淆。我已将您要求的输出添加到我的原始问题中。@ClintonWinant是的,我可以在Debian的octave 4.4.1-2+b1包中确认这一点,这看起来像是一个构建错误,应该报告为针对Debian软件包。您能告诉我如何从源代码为Debian Buster构建八度音程的说明吗?最简单的方法应该是
sudo apt build dep octave&&apt get source octave&&cd octave-4.4.1&&dpkg buildpackage
。这个主题有很多变体。您还可以查看。
checking for GL/gl.h... no
checking for OpenGL/gl.h... no
configure: WARNING: OpenGL libs (GL and GLU) not found.  OpenGL graphics will be disabled.