I just can't get the latest GDAL release running with Visual Studio 2019. Creating the VS project is no problem. Pretty straight forward. But when I try to build the project in VS in fails and gives me this error:
PROJ_INCLUDE should be defined. PROJ >= 6 is a required dependency
Of course I found this question here: https://stackoverflow.com/questions/57600419/error-building-gdal-proj-include-should-be-defined-proj-6-is-a-required-dep
But that doesn't solve the problem. I tried downloading proj with OSGeo4w and I modified the
nmake.opt file accordingly.
I tried every link I could find on google but with no luck. The GDAL community seems to be aware of that but maybe just don't care?
What can I do? Or do I have to use an older GDAL 2.x version (which seems to work) ...