为什么八度构建看不到QSCINTILLA或JNI.H.



我在设置八度时不断遇到这些错误。

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. 

在安装八度音阶时尝试运行配置时,我会继续遇到这些错误。我不知道该如何解决这些,甚至跑了

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

无济于事。我如何获得八度的找到QSCINTILLA图书馆和JNI.H?我什至安装了libqscintilla2-dev。这是Ubuntu 16.04 btw。

可能是八度试图在qt4上使用 qt5 的情况。

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

sudo apt install libqt5scintilla2-dev

这解决了我对qtscintilla的问题。

最新更新