CMake错误:“找不到QCA”

时间:2015-10-02 06:02:11

标签: qgis

我正在尝试在QGIS的最新克隆上运行CMake,但我收到此错误:

Found SpatiaLite: C:/OSGeo4W/lib/spatialite_i.lib
Looking for gaiaDropTable in C:/OSGeo4W/lib/spatialite_i.lib
Looking for gaiaDropTable in C:/OSGeo4W/lib/spatialite_i.lib - found
Looking for gaiaStatisticsInvalidate in C:/OSGeo4W/lib/spatialite_i.lib
Looking for gaiaStatisticsInvalidate in C:/OSGeo4W/lib/spatialite_i.lib - not found
Looking for spatialite_init_ex in C:/OSGeo4W/lib/spatialite_i.lib
Looking for spatialite_init_ex in C:/OSGeo4W/lib/spatialite_i.lib - found
...
...
CMake Error at cmake/FindQCA.cmake:58 (message):
  Could not find QCA
Call Stack (most recent call first):
  CMakeLists.txt:312 (FIND_PACKAGE)

我是否错误地设置了构建过程?我很感激任何帮助,谢谢!

1 个答案:

答案 0 :(得分:1)

您需要安装libqca2-dev

sudo apt-get install libqca2-dev

我还必须将WITH_QWTPOLAR标志更改为OFF(在ccmake gui上)以便能够编译源。

这些是我为编译QGIS而改变的唯一内容。我已经关注了documentation to build QGIS