<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>John,</p>
<p><br>
</p>
<p>yes I believe this should work (although probably not much
tested).</p>
<p><br>
</p>
<p>The reverse is explicitly forbidden though (from
frmts/gtiff/CMakeLists.txt):</p>
<p><br>
</p>
<p>if (GDAL_USE_TIFF_INTERNAL AND NOT GDAL_USE_GEOTIFF_INTERNAL)<br>
message(FATAL_ERROR "When GDAL_USE_TIFF_INTERNAL=ON,
GDAL_USE_GEOTIFF_INTERNAL must be also set to ON")<br>
endif ()<br>
<br>
Even<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 28/03/2025 à 14:04, John Smith via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:SI2PR06MB400930533FA2651DA5F8250288A02@SI2PR06MB4009.apcprd06.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div
style="direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi<br>
<br>
Is this allowed if I use GDAL Internal Geotiff and external
libtiff library while building GDAL? What all things I need to
take care.<br>
Will there be any symbol clashes etc which I need to handle as
well?<br>
<br>
</div>
<div
style="direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<arg value="-DGDAL_USE_GEOTIFF_INTERNAL=<span
style="color: rgb(12, 136, 42);"><b>ON</b></span>"/></div>
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714; white-space: pre-wrap; margin-top: 0.75rem; margin-bottom: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<arg value="-DGDAL_USE_TIFF_INTERNAL=<span
style="color: rgb(200, 38, 19);"><b>OFF</b></span>"/> //Specify external libtiff include and libs
My end goal is to have below Options enabled when I run <span
style="color: rgb(200, 38, 19);">
<b>gdalinfo.exe --format gtiff</b></span>
</div>
<table
data-editing-info="{"topBorderColor":"#ABABAB","bottomBorderColor":"#ABABAB","verticalBorderColor":"#ABABAB","hasHeaderRow":false,"hasFirstColumn":false,"hasBandedRows":false,"hasBandedColumns":false,"bgColorEven":null,"bgColorOdd":"#ABABAB20","headerRowColor":"#ABABAB","tableBorderFormat":0,"verticalAlign":"top"}"
style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
<tbody>
<tr>
<td
style="width: 769.219px; height: 22px; direction: ltr; border-width: 1px; border-style: solid; border-color: rgb(171, 171, 171); vertical-align: top; box-sizing: border-box;">
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714; margin: 0.75rem 0px 0px; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: unset;"><CreationOptionList><br>
<Option name="COMPRESS"
type="string-select"><br>
<Value>ZSTD</Value></span></div>
<div
style="direction: ltr; font-size: 12pt; color: rgb(0, 0, 0);"><span
style="font-weight: unset;">
<Value>WEBP</Value></span></div>
<div
style="direction: ltr; font-size: 12pt; color: rgb(0, 0, 0);"><span
style="font-weight: unset;">
<Value>LERC</Value></span></div>
<div
style="direction: ltr; font-size: 12pt; color: rgb(0, 0, 0);"><span
style="font-weight: unset;">
<Value>LERC_DEFLATE</Value></span></div>
<div
style="direction: ltr; font-size: 12pt; color: rgb(0, 0, 0);"><span
style="font-weight: unset;">
<Value>LERC_ZSTD</Value></span></div>
<div
style="direction: ltr; font-size: 12pt; color: rgb(0, 0, 0);"><span
style="font-weight: unset;"> </Option></span></div>
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714; margin: 0.75rem 0px 0px; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: unset;"> // Extra tags </span></div>
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714; margin: 0.75rem 0px 0px; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: unset;"></CreationOptionList></span></div>
<div
style="direction: ltr; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</div>
</td>
</tr>
</tbody>
</table>
<div style="direction: ltr;"><br>
<br>
</div>
<div
style="direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
BR</div>
<div
style="direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
John</div>
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714; margin-top: 0.75rem; margin-bottom: 0px; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714; margin-top: 0.75rem; margin-bottom: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(66, 82, 110);">
<button type="button" tabindex="0"
class="x_copy-to-clipboard x_css-1xu2qd8 x_elementToProof"
style="align-items:baseline; border-radius:4px; box-sizing:border-box; display:inline-flex; font-weight:500; max-width:100%; text-align:center; text-decoration:none; white-space:nowrap; background-image:initial; background-position:initial; background-size:initial; background-repeat:initial; background-attachment:initial; background-origin:initial; background-clip:initial; height:32px; line-height:1.71429em; padding:2px; vertical-align:middle; width:32px; justify-content:center; outline:none; color:rgb(66,82,110); opacity:0; margin-left:4px">
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714;">
And ho</div>
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714; color: rgb(0, 0, 0);">
</div>
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 1.714; white-space: pre-wrap; margin-right: 0px; margin-left: 0px;">
</div>
<div
style="direction: ltr; text-align: left; text-indent: 0px; line-height: 0; white-space: pre-wrap; margin: 0px 2px; font-size: 0px;">
</div>
</button></div>
<div
style="margin: 0.75rem 0px 0px; max-width: 100%; display: block;">
<div
style="direction: ltr; text-align: left; line-height: 1.5rem; font-family: unset; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: unset;"><br>
</span></div>
<div
style="direction: ltr; text-align: left; line-height: 1.5rem; font-family: unset; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: unset;"><br>
</span></div>
</div>
<div
style="direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>