[gdal-dev] Cannot Build GDAL 3.1.0 on Ubuntu 18.04
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...
More information about the gdal-dev