[Qgis-developer] Compiling QGIS with gdal2

gordon at shieldaig.com gordon at shieldaig.com
Tue Jan 10 10:22:14 PST 2017


Specifically the answer:
You can download GDAL 2.1 for Windows from GIS Internals. There is an 
installer and a portable version that doesn't require installation.

GDAL 2.1 is available for Ubuntu 16.04 from the UbuntuGIS-Unstable PPA

sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt update
sudo apt upgrade # if you already have gdal 1.11 installed
sudo apt install gdal-bin python-gdal python3-gdal # if you don't have 
gdal 1.11 already installed

On 2017-01-10 13:01, gordon at shieldaig.com wrote:
> I used this link months ago:
> http://gis.stackexchange.com/questions/193814/installing-gdal2-1
> 
> It was the only way to get QGIS3 to compile and build.
> 
> On 2017-01-10 11:02, Even Rouault wrote:
>> p, li { white-space: pre-wrap; }
>> 
>> 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 at 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 at 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 at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list