为什么Octave构建不会看到Qscintilla或jni.h?

时间:2017-12-02 00:49:20

标签: java octave

我在设置八度音程时不断收到这些错误。

configure: WARNING: QScintilla library not found; disabling built-in Qt GUI editor
configure: WARNING: Include file <jni.h> not found.  Octave will not be able to call Java methods.
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. 

当我尝试在安装octave时运行configure时,我一直收到这些错误。我不知道如何修复这些,我甚至跑了

CPPFLAGS=-I/usr/lib/jvm/java-8-openjdk-amd64/include ./configure

无济于事。如何获得八度音程以找到QScintilla库和jni.h?我甚至安装了libqscintilla2-dev。这是Ubuntu 16.04 btw。

1 个答案:

答案 0 :(得分:1)

这可能是八度音阶试图在Qt4上使用 Qt5 的情况。

如果是,请尝试运行命令:

sudo apt install libqt5scintilla2-dev

这解决了Qtscintilla的问题。