<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Jean,<br>
</p>
<div class="moz-cite-prefix"><br>
</div>
<blockquote type="cite"
cite="mid:PR0P264MB0395C1D7FC3CF8FEDE4F3C389B212@PR0P264MB0395.FRAP264.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:Aptos;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}p.xmsonormal, li.xmsonormal, div.xmsonormal
{mso-style-name:x_msonormal;
margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Thank you very much for your quick reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Yes I’ve installed PROJ using miniconda, as I
already had it installed on my computer, it was easier.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">But unfortunately, I got the same error
message.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">And I am a bit annoyed having to install PROJ,
I just want to use some features of PROJ in our opensource
project.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">I have QGIS installed on my computer, so PROJ
is already installed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Moreover, we’re using appveyor for our CI, and
PROJ does not seem to be pre-installed on appveyor windows
images :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><a
href="https://www.appveyor.com/docs/windows-images-software/"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.appveyor.com/docs/windows-images-software/</a></span></p>
</div>
</blockquote>
Yes, too specialized to be on generic purposes CI images<br>
<blockquote type="cite"
cite="mid:PR0P264MB0395C1D7FC3CF8FEDE4F3C389B212@PR0P264MB0395.FRAP264.PROD.OUTLOOK.COM">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Does it mean we’ll have to install PROJ on
appveyor machine for every build of the CI ?</span></p>
</div>
</blockquote>
yes<br>
<blockquote type="cite"
cite="mid:PR0P264MB0395C1D7FC3CF8FEDE4F3C389B212@PR0P264MB0395.FRAP264.PROD.OUTLOOK.COM">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">If you have an example of an opensource project
using PROJ with CMake and CI, I’m interesting to have its
reference.</span></p>
</div>
</blockquote>
<p>GDAL, QGIS, etc. <br>
</p>
<p>Use a package manager as suggested to install PROJ on your CI:
vcpkg, conda, etc.</p>
<p>For example
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/blob/master/.github/workflows/cmake_builds.yml#L425">https://github.com/OSGeo/gdal/blob/master/.github/workflows/cmake_builds.yml#L425</a></p>
<p>Or potentially use
<a class="moz-txt-link-freetext" href="https://cmake.org/cmake/help/latest/module/ExternalProject.html">https://cmake.org/cmake/help/latest/module/ExternalProject.html</a>,
but you'll likely have the same issues with PROJ's dependencies:
curl, libtiff<br>
</p>
Even
<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>