FindGDAL.cmake:找不到gdal-config。请手动设置

时间:2015-05-11 08:53:41

标签: qt cmake qt4 qgis

我正在使用Qt,Ubuntu的QGIS。之前工作正常。现在它说," FindGDAL.cmake:找不到gdal-config。请手动设置"。请帮我解决这个错误。 Run CQmake中的错误窗口如下所示。

GDAL_INCLUDE_DIR=
GDAL_LIBRARY=
CMake Error at CMakeLists.txt:153 (MESSAGE):
  Could not find GDAL


FindGDAL.cmake: gdal-config not found. Please set it manually. GDAL_CONFIG=GDAL_CONFIG-NOTFOUND
-- Configuring incomplete, errors occurred!

谢谢

0 个答案:

没有答案