我正在为 CentOS 6 上的项目运行 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/auser/Documents/Projects/Framework/src/AFrameworkFolder
QT_QTWEBKIT_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/auser/Documents/Projects/Framework/src/BFrameworkFolder
我安装了 QT 4.8.4,并且使用的是 CMake 版本 2.8.10.2。我正在使用的构建脚本在 Mac OSX 10.8 上也可以正常工作。
谁能告诉我这里发生了什么?
对我来说,它似乎很难找到它需要的一些 QT 文件夹,而且我在 QT 中没有看到任何提到 OpenGL 或 Webkit 的文件夹。如果缺少这些,我将如何安装它们?如果这不是问题,有人可以指导我修复解决方案吗?