On mardi 10 janvier 2017 16:57:17 CET matteo wrote:
> HI guys,
> related to the mail of this morning [0] and thanks to the hint of Nyall,
> I'm trying to compile QGIS with gdal2
> 
> I'm on a Mint Machine where the default gdal version is 1.11.3. So I
> downloaded and compiled from source gdal 2.1 [1]. In fact I get:
> 
> matteo@matteo-computer ~ $ gdal-config --version
> 2.1.0
> 
> 
> Now I'm trying to force the cmake config to read this gdal version, that
> is I've changed
> 
> GDAL_LIBRARY = /usr/lib/libgdal.so.20.1.0
> 
> leaving all the other gdal options in the ccmake untouched.

Check that the include directory points to the version you installed and not 
the one of the 
system.

> 
> But I always get the same error during the make process, so I think I
> have to change other config parameters in ccmake.
> 
> 
> Anybody has some hints?
> 
> Thanks to all!
> 
> Matteo
> 
> 
> [0]
> https://lists.osgeo.org/pipermail/qgis-developer/2017-January/046550.html
> [1] http://download.osgeo.org/gdal/2.1.0/
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to