Re: [gdal-dev] Can we external libtiff and internal GeoTiff while building GDAL?
Sounds Great. Thanks I assume you meant this is true even when I use Internal Geotiff & external libTiff? From: Even Rouault Sent: Friday, March 28, 2025 5:27 PM To: John Smith ; [email protected] Subject: Re: [gdal-dev] Can we external libtiff and internal GeoTiff while building GDAL? Can I do something to avoid the symbol clashes in Client setup while building the GDAL ? Nothing to do. GDAL automatically rename symbols when building with the internal libraries -- http://www.spatialys.com My software is free, but my time generally not. ___ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Can we external libtiff and internal GeoTiff while building GDAL?
Can I do something to avoid the symbol clashes in Client setup while building the GDAL ? Nothing to do. GDAL automatically rename symbols when building with the internal libraries -- http://www.spatialys.com My software is free, but my time generally not. ___ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Can we external libtiff and internal GeoTiff while building GDAL?
Hello Even, Thanks for clarifying. One more question - Our end-users is trying to use the GDAL shared libs (built with internal GeoTIFF and external libTIFF) in a setup where even they have external GeoTIFF and libTIFF libraries. Can I do something to avoid the symbol clashes in Client setup while building the GDAL ? From: Even Rouault Sent: Friday, March 28, 2025 1:16 PM To: John Smith ; [email protected] Subject: Re: [gdal-dev] Can we external libtiff and internal GeoTiff while building GDAL? John, yes I believe this should work (although probably not much tested). The reverse is explicitly forbidden though (from frmts/gtiff/CMakeLists.txt): if (GDAL_USE_TIFF_INTERNAL AND NOT GDAL_USE_GEOTIFF_INTERNAL) message(FATAL_ERROR "When GDAL_USE_TIFF_INTERNAL=ON, GDAL_USE_GEOTIFF_INTERNAL must be also set to ON") endif () Even Le 28/03/2025 à 14:04, John Smith via gdal-dev a écrit : Hi Is this allowed if I use GDAL Internal Geotiff and external libtiff library while building GDAL? What all things I need to take care. Will there be any symbol clashes etc which I need to handle as well? //Specify external libtiff include and libs My end goal is to have below Options enabled when I run gdalinfo.exe --format gtiff ZSTD WEBP LERC LERC_DEFLATE LERC_ZSTD // Extra tags BR John And ho ___ gdal-dev mailing list [email protected]<mailto:[email protected]> https://lists.osgeo.org/mailman/listinfo/gdal-dev -- http://www.spatialys.com My software is free, but my time generally not. ___ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Can we external libtiff and internal GeoTiff while building GDAL?
John, yes I believe this should work (although probably not much tested). The reverse is explicitly forbidden though (from frmts/gtiff/CMakeLists.txt): if (GDAL_USE_TIFF_INTERNAL AND NOT GDAL_USE_GEOTIFF_INTERNAL) message(FATAL_ERROR "When GDAL_USE_TIFF_INTERNAL=ON, GDAL_USE_GEOTIFF_INTERNAL must be also set to ON") endif () Even Le 28/03/2025 à 14:04, John Smith via gdal-dev a écrit : Hi Is this allowed if I use GDAL Internal Geotiff and external libtiff library while building GDAL? What all things I need to take care. Will there be any symbol clashes etc which I need to handle as well? //Specify external libtiff include and libs My end goal is to have below Options enabled when I run *gdalinfo.exe --format gtiff* ZSTD WEBP LERC LERC_DEFLATE LERC_ZSTD // Extra tags BR John And ho ___ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev -- http://www.spatialys.com My software is free, but my time generally not. ___ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
