I can run ./configure but when I run make I get the following error:
fatal error: gdal_version.h: No such file or directory
Been looking online a lot but have not found a solution.
I did find the file here though: https://cran.r-project.org/bin/windows/extsoft/3.5/include/gdal_version.h
I am trying an earlier version (2.2 instead of 2.4) and it seems to be working.