[gdal-dev] GDAL and proj dll name.

Tamas Szekeres szekerest at gmail.com
Wed Jan 22 04:49:06 PST 2020


As far as I see the current cmake builds of proj4/proj6 includes the proj
version number into the dll names like *proj_4_9.dll* for a Windows build.

However the GDAL build (like for
https://github.com/OSGeo/gdal/blob/v2.4.4/gdal/ogr/ogrct.cpp) still using
the default proj.dll name which cannot be configured in the opt file.

It is true that if we set the PROJSO config option properly the problem
disappears, something like:

Gdal.SetConfigOption("PROJSO", "proj_4_9.dll");

But that could also be avoided if there was a compile time setting to
specify the proj dll name. Does it make sense to establish a compile time
option for this purpose?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200122/6f50a032/attachment-0001.html>

More information about the gdal-dev mailing list