问题描述
当我尝试安装rgdal 1.5-17或-18,-16时,出现以下错误:
In file included from proj6.cpp:5:0:
proj6.cpp: In function ‘SEXPREC* get_source_crs(SEXP)’:
proj6.cpp:258:58: error: ‘PJ_WKT2_2019’ was not declared in this scope
copY_TO_USER_STRING(proj_as_wkt(ctx,target_crs,PJ_WKT2_2019,NULL)));
^
/opt/R/R_4.0.0/lib64/R/include/Rdefines.h:191:39: note: in deFinition of macro ‘copY_TO_USER_STRING’
#define copY_TO_USER_STRING(x) mkChar(x)
^
GEOS 3.7.2,GDAL 3.0.1,PROJ 6.2.0
有什么建议吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)