Re: [gdal-dev] how to install gdal from source?

2020-05-11 Thread Sandra Maksimovic
2020 6:36 PM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] how to install gdal from source? Hi Sandra, Are you switch to gdal/gdal? You shouldn't have to add a includedir for gdal. gdal_version.h is included in the code, at gcore/gdal_version.h Here my recipe to compile gdal (on U

Re: [gdal-dev] how to install gdal from source?

2020-05-11 Thread Jorge Gustavo Rocha
Hi Sandra, Are you switch to gdal/gdal? You shouldn't have to add a includedir for gdal. gdal_version.h is included in the code, at gcore/gdal_version.h Here my recipe to compile gdal (on Ubuntu): git clone https://github.com/OSGeo/gdal cd gdal/gdal ./autogen.sh ./configure --with-python=python3

[gdal-dev] how to install gdal from source?

2020-05-10 Thread Sandra Maksimovic
Hi all, I'm trying to install GDAL v3.1.0 with Proj v6.2.1 on CentOS 7.7. I am continually receiving the following error during the make step: ../gdal.h:44:26: fatal error: gdal_version.h: No such file or directory #include "gdal_version.h" I have tried including the headers from the OS install