[gdal-dev] Cannot Build GDAL 3.1.0 on Ubuntu 18.04

Even Rouault even.rouault at spatialys.com
Tue May 26 13:32:38 PDT 2020

> I'm compiling against PROJ6, if that explains any of these issues. I know
> that I had to go into one of the makefiles in the source tree and add a
> compiler flag to allow use of the deprecated API, (don't remember the flag
> name), so maybe this is related to that?

Quite certainly. Don't do this. It is likely that in your include path you have 
the proj.h file of PROJ 5, and proj_experimental.h includes that one instead 
of the proj.h that matches it. Some cleanup in your build environment seems 


Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200526/64d3f070/attachment-0001.html>

More information about the gdal-dev mailing list