[gdal-dev] I can't get GDAL 2.4 to link with PROJ 5.2 (Windows)

Joaquim Manuel Freire Luís jluis at ualg.pt
Thu May 30 08:24:18 PDT 2019


Craig,

Notice that the recipe I gave you to build sqlite3 builds a dynamic lib, not a static one. Might that be the cause?

Joaquim

|>-----Original Message-----
|>From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of CDelancy
|>Sent: Thursday, May 30, 2019 4:16 PM
|>To: gdal-dev at lists.osgeo.org
|>Subject: [gdal-dev] I can't get GDAL 2.4 to link with PROJ 5.2 (Windows)
|>
|>I can't seem to get GDAL to statically link to PROJ when building.
|>
|>In the nmake.opt file I changed PROJ_INCLUDE to point to my local copy of the
|>proj source and PROJ_LIBRARY to the exact path of the static lib I built from
|>Proj source, while uncommenting both lines.
|>
|>Still, when I try to use ogr coordinate transformations, I recieve error 6 with the
|>message that Proj4 wasn't found.
|>
|>Has anyone here had success building gdal on windows with proj statically
|>linked?
|>Do you have any advice for me on things to try?
|>Can you post the NMake command you used?
|>
|>
|>
|>--
|>Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
|>_______________________________________________
|>gdal-dev mailing list
|>gdal-dev at lists.osgeo.org
|>https://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list