[R-sig-Geo] error installing rgdal with gdal 2.3.0 on centos7

Laura Poggio l@ur@@poggio @ending from gm@il@com
Tue May 29 15:00:37 CEST 2018


Dear all,
I am trying to install rgdal on a centos 7 machine.
First I installed from source gdal 2.3.0. No errors and it is working as
expected.

I then tried to install rgdal using R 3.4.4

I get the error:

In file included from /usr/local/include/gdal.h:45:0,
                 from gdal_test.cc:1:
/usr/local/include/cpl_port.h:187:6: error: #error Must have C++11 or newer.
 #    error Must have C++11 or newer.

I can use a previous version of gdal (2.2.1) without problems, but I was
wondering if other people found a more robust solution that could work with
future versions.

Thanks a lot

Laura

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list