<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>You don't need to set any explicit option for symbol renaming.
      This is done automatically as soon as internal libraries are used<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 17/12/2024 à 10:57, Parveen Sharma
      via gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:SYZP282MB31897A2816F20DF30E3F466AD9042@SYZP282MB3189.AUSP282.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="text-align: left; text-indent: 0px; margin-top: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        Hello<br>
        <br>
      </div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; margin-top: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        I am trying to build GDAL 3.9.3 using CMAKE and want to avoid
        the <b>symbol clash between GDAL and external libgeotiff and
          external TIFF libraries.</b></div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; margin-top: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <b><br>
        </b></div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; margin-top: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        I have enabled the GDAL internal TIFF and GEOTIFF with below
        CMAKE options<b><br>
          <br>
        </b></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: 611.348px; height: 22px; border-width: 1px; border-style: solid; border-color: rgb(171, 171, 171); vertical-align: top; box-sizing: border-box;">
              <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                <arg value="-DGDAL_USE_LIBTIFF_INTERNAL=ON"/><br>
                <arg value="-DGDAL_USE_GEOTIFF_INTERNAL=ON"/></div>
            </td>
          </tr>
        </tbody>
      </table>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; margin-top: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; margin-top: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <b><br>
        </b>But i am confused which of the below is valid option to
        rename the internal symbols so that they don't clash with the
        external libraries symbols.<br>
        <br>
        All of the below 4 are present in GDAL 3.9.3 code base and I am
        unable to figure out which one to use</div>
      <div class="elementToProof"
style="text-align: left; margin-top: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
          </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: 519.023px; height: 126.345px; border-width: 1px; border-style: solid; border-color: rgb(171, 171, 171); vertical-align: top; box-sizing: border-box;">
              <div class="elementToProof"
style="text-align: left; text-indent: 0px; margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                <br>
                  <arg
                value="-DRENAME_INTERNAL_LIBTIFF_SYMBOLS=ON"/></div>
              <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <arg
                value="-DRENAME_INTERNAL_LIBGEOTIFF_SYMBOLS=ON"/></div>
              <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <arg
                value="-DRENAME_INTERNAL_GEOTIFF_SYMBOLS=ON"/></div>
              <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <arg value="-DRENAME_INTERNAL_TIFF_SYMBOLS=ON"/></div>
              <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                <br>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
        <br>
        Can anyone please suggest?</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        Best regards,</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        Parveen</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.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.</pre>
  </body>
</html>