<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Tom,</p>
    <p>You should try to use a more recent version than PROJ 6.x (not
      sure what "proj6" corresponds to in MacPorts). I believe PROJ
      Config support was only added in PROJ > 6, or can only be
      relied upon in those later versions</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 01/06/2022 à 20:29, Tom O'Reilly a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:331447711.104617541.1654108161508.JavaMail.zimbra@mbari.org">
      <div>
        <div>
          <div><span data-mce-style="color: #000000; font-family:
              'courier new', courier, monaco, monospace, sans-serif;
              font-size: 13.3333px; font-style: normal; font-weight:
              400; letter-spacing: normal; text-indent: 0px;
              text-transform: none; white-space: normal; word-spacing:
              0px; background-color: #ffffff; float: none; display:
              inline !important;">I'm running cmake 3.22.4 on MacOS
              11.6.</span></div>
          <div><span data-mce-style="color: #000000; font-family:
              'courier new', courier, monaco, monospace, sans-serif;
              font-size: 13.3333px; font-style: normal; font-weight:
              400; letter-spacing: normal; text-indent: 0px;
              text-transform: none; white-space: normal; word-spacing:
              0px; background-color: #ffffff; float: none; display:
              inline !important;">I installed proj6 with "</span><span
              data-mce-style="color: #000000; font-family: 'courier
              new', courier, monaco, monospace, sans-serif; font-size:
              13.3333px; font-style: normal; font-weight: 400;
              letter-spacing: normal; text-indent: 0px; text-transform:
              none; white-space: normal; word-spacing: 0px;
              background-color: #ffffff; float: none; display: inline
              !important;">sudo port proj6" which looks to be<span> </span><span
                class="Object" role="link"
                id="OBJ_PREFIX_DWT2075_com_zimbra_url"
                data-mce-style="color: #005a95; text-decoration: none;
                cursor: pointer;"><span class="Object" role="link"
                  id="OBJ_PREFIX_DWT2081_com_zimbra_url"
                  data-mce-style="color: #005a95; text-decoration: none;
                  cursor: pointer;"><a
                    href="https://proj.org/install.html" target="_blank"
                    rel="nofollow noopener noreferrer"
                    data-mce-href="https://proj.org/install.html"
                    data-mce-style="color: #005a95; text-decoration:
                    none; cursor: pointer;" moz-do-not-send="true">the <span
                      class="Object"
                      id="OBJ_PREFIX_DWT171_com_zimbra_url"
                      data-mce-style="color: #005a95; text-decoration:
                      none; cursor: pointer;"><span class="Object"
                        id="OBJ_PREFIX_DWT212_com_zimbra_url"
                        data-mce-style="color: #005a95; text-decoration:
                        none; cursor: pointer;">proj-recommended way to
                        install with MacPorts</span></span></a></span></span>.
              I see the proj6 include/ and lib/ subdirectories in
              /opt/local/lib/proj6, and set PROJ6_ROOT to
              /opt/local/lib/proj6 accordingly in my applications's
              CMakeLists.txt.</span></div>
          <div><span data-mce-style="color: #000000; font-family:
              'courier new', courier, monaco, monospace, sans-serif;
              font-size: 13.3333px; font-style: normal; font-weight:
              400; letter-spacing: normal; text-indent: 0px;
              text-transform: none; white-space: normal; word-spacing:
              0px; background-color: #ffffff; float: none; display:
              inline !important;"><br data-mce-bogus="1">
            </span></div>
          <div><span data-mce-style="color: #000000; font-family:
              'courier new', courier, monaco, monospace, sans-serif;
              font-size: 13.3333px; font-style: normal; font-weight:
              400; letter-spacing: normal; text-indent: 0px;
              text-transform: none; white-space: normal; word-spacing:
              0px; background-color: #ffffff; float: none; display:
              inline !important;">But CmakeLists.txt is unable to find
              proj on the system. Th<span data-mce-style="font-size:
                10pt;">e </span></span><span data-mce-style="font-size:
              10pt;"><span class="Object"
                id="OBJ_PREFIX_DWT172_com_zimbra_url"
                data-mce-style="color: #005a95; text-decoration: none;
                cursor: pointer; font-family: 'courier new', courier,
                monaco, monospace, sans-serif;"><span class="Object"
                  id="OBJ_PREFIX_DWT213_com_zimbra_url"
                  data-mce-style="color: #005a95; text-decoration: none;
                  cursor: pointer;"><span class="Object" role="link"
                    id="OBJ_PREFIX_DWT2076_com_zimbra_url"
                    data-mce-style="color: #005a95; text-decoration:
                    none; cursor: pointer;"><span class="Object"
                      role="link" id="OBJ_PREFIX_DWT2082_com_zimbra_url"
                      data-mce-style="color: #005a95; text-decoration:
                      none; cursor: pointer;"><a
                        href="https://proj.org/development/cmake.html"
                        rel="nofollow noopener noreferrer nofollow
                        noopener noreferrer" target="_blank"
                        data-mce-href="https://proj.org/development/cmake.html"
                        data-mce-style="color: #005a95; text-decoration:
                        none; cursor: pointer;" moz-do-not-send="true"><span
                          data-mce-style="color: #1155cc;
                          background-color: transparent; font-weight:
                          400; font-style: normal; font-variant: normal;
                          text-decoration: underline; vertical-align:
                          baseline; white-space: pre-wrap;">proj page
                          also says</span></a></span></span></span></span><span
                data-mce-style="color: #000000; background-color:
                transparent; font-weight: 400; font-style: normal;
                font-variant: normal; text-decoration: none;
                vertical-align: baseline; white-space: pre-wrap;"><span
                  data-mce-style="font-family: 'courier new', courier,
                  monaco, monospace, sans-serif;">:</span> </span></span></div>
          <div>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px; padding-left: 30px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;"><br
                    data-mce-bogus="1">
                </span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px; padding-left: 30px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">The
                  recommended way to use the PROJ library in a CMake
                  project is to link to the imported library target </span><span
                  data-mce-style="color: #e74c3c; background-color:
                  #ffffff; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">PROJ::proj</span><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">
                  provide by the CMake configuration which comes with
                  the library. Typical usage is:</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px; padding-left: 30px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;"></span></span><br>
            </p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px; padding-left: 30px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">
                  find_package(PROJ CONFIG REQUIRED) </span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px; padding-left: 30px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;"></span></span><br>
            </p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">However
                  find_package() cannot find PROJ or PROJ6 on my system
                  - find_package() exits with this message:</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="color: #404040; font-family: 'courier
                new', courier, monaco, monospace, sans-serif;"><span
                  data-mce-style="font-size: 13.3333px; white-space:
                  pre-wrap;">CMake Error at CMakeLists.txt:95
                  (find_package):</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="color: #404040; font-family: 'courier
                new', courier, monaco, monospace, sans-serif;"><span
                  data-mce-style="font-size: 13.3333px; white-space:
                  pre-wrap;">  Could not find a package configuration
                  file provided by "PROJ6" with any of</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="color: #404040; font-family: 'courier
                new', courier, monaco, monospace, sans-serif;"><span
                  data-mce-style="font-size: 13.3333px; white-space:
                  pre-wrap;">  the following names:</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="color: #404040; font-family: 'courier
                new', courier, monaco, monospace, sans-serif;"><span
                  data-mce-style="font-size: 13.3333px; white-space:
                  pre-wrap;"> </span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="color: #404040; font-family: 'courier
                new', courier, monaco, monospace, sans-serif;"><span
                  data-mce-style="font-size: 13.3333px; white-space:
                  pre-wrap;">    PROJ6Config.cmake</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="color: #404040; font-family: 'courier
                new', courier, monaco, monospace, sans-serif;"><span
                  data-mce-style="font-size: 13.3333px; white-space:
                  pre-wrap;">    proj6-config.cmake</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><br>
            </p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">Moreover
                  I do not see any files named "proj*.cmake" in
                  /opt/local - somehow installing proj6 with MacPorts
                  did not include this package information? What am I
                  doing wrong?</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">Any
                  help much appreciated!</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;"></span></span><br>
            </p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">Thanks</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><span
                data-mce-style="font-family: 'courier new', courier,
                monaco, monospace, sans-serif; font-size: 10pt;"><span
                  data-mce-style="color: #404040; background-color:
                  transparent; font-weight: 400; font-style: normal;
                  font-variant: normal; text-decoration: none;
                  vertical-align: baseline; white-space: pre-wrap;">Tom</span></span></p>
            <p dir="ltr" data-mce-style="color: #000000; font-family:
              arial, helvetica, sans-serif; font-size: 16px; font-style:
              normal; font-weight: 400; letter-spacing: normal;
              text-indent: 0px; text-transform: none; white-space:
              normal; word-spacing: 0px; background-color: #ffffff;
              line-height: 1.38; margin: 0px;"><br>
            </p>
          </div>
        </div>
        <div data-marker="__SIG_PRE__"><span
            data-mce-style="font-family: 'courier new', courier, monaco,
            monospace, sans-serif; font-size: 10pt;">--------------------------------------------------</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">Thomas C.
            O'Reilly</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">Monterey
            Bay Aquarium Research Institute</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">7700
            Sandholdt Road</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">Moss
            Landing, California 95039-9644</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">831-775-1766
            (voice)</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">831-775-1620
            (FAX)</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;"><a class="moz-txt-link-abbreviated" href="mailto:oreilly@mbari.org">oreilly@mbari.org</a>
            (email)</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;"><a class="moz-txt-link-freetext" href="http://www.mbari.org">http://www.mbari.org</a>
            (World-wide Web)</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;"> </span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">"The
            machine does not isolate us from the great mysteries</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;"> of nature,
            but plunges us more deeply into them."</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;"> </span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">   -
            ANTOINE DE SAINT-EXUPERY</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;">     "Wind,
            Sand, and Stars" (1939)</span><br>
          <span data-mce-style="font-family: 'courier new', courier,
            monaco, monospace, sans-serif; font-size: 10pt;"> </span></div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
PROJ mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PROJ@lists.osgeo.org">PROJ@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/proj">https://lists.osgeo.org/mailman/listinfo/proj</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>