0

我正在尝试在 Linux Mint Cinnamon 17.1 64 位上构建 Kate。我下载了 Kate 源代码并尝试根据http://kate-editor.org/get-it/安装它。现在在尝试编译时,我收到 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!

我在这里做错了什么?请帮忙。

谢谢。

4

1 回答 1

0

我假设您的系统中安装了 Qt4 开发包,并且只缺少libqt4-opengl-dev. 因此,最直接的解决方案就是安装它。例如像这样:

$ sudo apt-get install libqt4-opengl-dev

MacOS 上的相关问题: CMake Error: The following variables are used in this project, but they are set to NOTFOUND

于 2015-03-24T21:58:52.783 回答