In case no one else has made the suggestion yet, take this question to R-sig-geo, where there has already been discussion and sharing of information and experiences about this.
You'll need to include the output of sessionInfo(). -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 On 6/15/18, 8:58 AM, "R-help on behalf of lejeczek via R-help" <r-help-boun...@r-project.org on behalf of r-help@r-project.org> wrote: hi there installation of the package fails: ... g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I/usr/include/gdal -I/tmp/RtmpPEjOIB/R.INSTALL952df53b77184/rgdal/inst/include -I/tmp/RtmpPEjOIB/R.INSTALL952df53b77184/rgdal/inst/include -I"/usr/lib64/R/library/sp/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c OGR_write.cpp -o OGR_write.o g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I/usr/include/gdal -I/tmp/RtmpPEjOIB/R.INSTALL952df53b77184/rgdal/inst/include -I/tmp/RtmpPEjOIB/R.INSTALL952df53b77184/rgdal/inst/include -I"/usr/lib64/R/library/sp/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c gdal-bindings.cpp -o gdal-bindings.o gdal-bindings.cpp: In function ‘SEXPREC* RGDAL_GDALwithGEOS()’: gdal-bindings.cpp:334:81: error: no matching function for call to ‘OGRGeometryFactory::createFromWkt(const char*, NULL, OGRGeometry**)’ OGRGeometryFactory::createFromWkt( (const char*) pszWKT, NULL, &poGeometry1 ); ^ gdal-bindings.cpp:334:81: note: candidate is: In file included from /usr/include/gdal/ogr_feature.h:34:0, from /usr/include/gdal/ogrsf_frmts.h:35, from gdal-bindings.cpp:7: /usr/include/gdal/ogr_geometry.h:663:19: note: static OGRErr OGRGeometryFactory::createFromWkt(char**, OGRSpatialReference*, OGRGeometry**) static OGRErr createFromWkt( char **, OGRSpatialReference *, ^ /usr/include/gdal/ogr_geometry.h:663:19: note: no known conversion for argument 1 from ‘const char*’ to ‘char**’ gdal-bindings.cpp:340:81: error: no matching function for call to ‘OGRGeometryFactory::createFromWkt(const char*, NULL, OGRGeometry**)’ OGRGeometryFactory::createFromWkt( (const char*) pszWKT, NULL, &poGeometry2 ); Would you know is this the package's problem in new 3.5 version? Many thanks, L. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.