[gdal-dev] Can we external libtiff and internal GeoTiff while building GDAL?
Even Rouault
even.rouault at spatialys.com
Fri Mar 28 06:16:37 PDT 2025
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?
>
> <arg value="-DGDAL_USE_GEOTIFF_INTERNAL=*ON*"/>
> <arg value="-DGDAL_USE_TIFF_INTERNAL=*OFF*"/> //Specify external
> libtiff include and libs My end goal is to have below Options enabled
> when I run *gdalinfo.exe --format gtiff*
> <CreationOptionList>
> <Option name="COMPRESS" type="string-select">
> <Value>ZSTD</Value>
> <Value>WEBP</Value>
> <Value>LERC</Value>
> <Value>LERC_DEFLATE</Value>
> <Value>LERC_ZSTD</Value>
> </Option>
> // Extra tags
> </CreationOptionList>
>
>
>
> BR
> John
>
> And ho
>
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250328/33f86c18/attachment.htm>
More information about the gdal-dev
mailing list