Cmake 凯特克马克错误

Cmake 凯特克马克错误,cmake,kate,Cmake,Kate,我正在尝试在Linux Mint肉桂17.1 64位上构建Kate。我下载了Kate的源代码,并尝试根据安装。现在在尝试编译时,我得到了一个cmake错误 CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake fil

我正在尝试在Linux Mint肉桂17.1 64位上构建Kate。我下载了Kate的源代码,并尝试根据安装。现在在尝试编译时,我得到了一个cmake错误

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

QT_QTOPENGL_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/sip
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src/test

-- Configuring incomplete, errors occurred!
我做错了什么?请帮忙


谢谢。

我假设您的系统中安装了Qt4开发包,但只缺少
libqt4 opengl dev
。因此,最简单的解决方案就是安装它。例如:

$sudo apt get安装libqt4 opengl dev

有关MacOS的问题:

您调用了哪些命令?仅
cmake..
?您是否尝试调用
ccmake..
来设置选项和配置?我不知道凯特,也许我错了。正如我所说,我遵循了凯特编辑网站上的“从资料中构建凯特”。我用的是:cmake-DBUILD\u KTEXTEDITOR=1-DCMAKE\u BUILD\u TYPE=RelWithDebInfo \-DCMAKE\u INSTALL\u PREFIX=~/kde/usr \-DINSTALL\u PYTHON\u FILES\u IN\u PYTHON\u PREFIX=off谢谢!这就解决了opengl的问题。凯特成功地编译和构建了。但每次一开始它都会崩溃。但这是另一个问题。我将发布另一个关于坠机的问题。再次感谢+1.