rwinlib / gdal2

Modern GDAL/PROJ/GEOS stack with lots of extra drivers
12 stars 9 forks source link

2.2.3 tool chain change? #8

Open adamrobinson361 opened 5 years ago

adamrobinson361 commented 5 years ago

@jeroen - i’ve started having problems installing old versions of rgdal from source as part of a packrat workflow.

As a reproducible example the following code will now error due to missing cpp libraries: devtools::install_version(“rgdal”, version = “1.3-6”).

As I understand rgdal runs an download script for the required cpp libraries for rgdal to compile (from here) and this has been working successfully for a good year.

It looks like there has been a renaming convention in this repo in anticipation for new rtools. I understand that the downloads work on releases and from what I can tell this renaming may have over ridden the old version.

Can I ask - is this expected and what is the best course of action.

Note using rtools35 with extsoft goodies installed.

Thanks in advance!

Adam

adamrobinson361 commented 5 years ago

Adding the following to the front of my Local_libs in makevars file solved my problem:

-L"$(RWINLIB)/lib$(R_ARCH)"

See here.

Not sure if there would be any unintended side effects of this.

Adam