<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 02/03/2024 à 21:14, Fengting Chen a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:PH0PR10MB7061B8D205BBC75BEF6EE468935D2@PH0PR10MB7061.namprd10.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<style>@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}@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;
panose-1:2 11 0 4 2 2 2 2 2 4;}@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}@font-face
{font-family:"\@PMingLiU";
panose-1:2 1 6 1 0 1 1 1 1 1;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
font-size:10.0pt;
font-family:"Courier New";}span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-family:"Aptos",sans-serif">Thanks,
that is clear now.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Aptos",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Aptos",sans-serif">One more
question, anywhere to get proj_9_3.lib and sqlite3 .lib,
most downloadable package only has .dll.
</span></p>
</div>
</blockquote>
conda or vcpkg. cf <a class="moz-txt-link-freetext" href="https://gdal.org/download.html#windows">https://gdal.org/download.html#windows</a><br>
<blockquote type="cite"
cite="mid:PH0PR10MB7061B8D205BBC75BEF6EE468935D2@PH0PR10MB7061.namprd10.prod.outlook.com">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-family:"Aptos",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Aptos",sans-serif"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div
style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span
style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">From:
</span></b><span
style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">Even
Rouault <a class="moz-txt-link-rfc2396E" href="mailto:even.rouault@spatialys.com"><even.rouault@spatialys.com></a><br>
<b>Date: </b>Saturday, March 2, 2024 at 1:50</span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span
style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">PM<br>
<b>To: </b>Fengting Chen
<a class="moz-txt-link-rfc2396E" href="mailto:fengting.chen@oracle.com"><fengting.chen@oracle.com></a>,
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:gdal-dev@lists.osgeo.org"><gdal-dev@lists.osgeo.org></a><br>
<b>Subject: </b>Re: [External] : Re: [gdal-dev] GDAL
build on windows failed for FILEGDB driver<o:p></o:p></span></p>
</div>
<p><o:p> </o:p></p>
<div>
<p class="MsoNormal">Le 02/03/2024 à 19:36, Fengting Chen
a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-family:"Aptos",sans-serif">That
is what I guessed. But the documentation says:
</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Aptos",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal">CURL_LIBRARY_RELEASE<a
href="https://urldefense.com/v3/__https:/gdal.org/development/building_from_source.html*cmdoption-arg-CURL_LIBRARY_RELEASE__;Iw!!ACWV5N9M2RV99hQ!NL4-GXTlZwB0Rdq69N2ze_aa3cG4M6vhEC97pm9UK8Z4svrhYWwpPuQCNPHu5W_Hlg5OKvssXsXDmBSjEJTiAlZbxGK0$"
title="Permalink to this definition"
moz-do-not-send="true"><span
style="font-family:Symbol">Á</span></a><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Path to a
shared or static library file, such as
<span
style="font-size:10.0pt;font-family:"Courier New"">libcurl.dll</span>,
<span
style="font-size:10.0pt;font-family:"Courier New"">
libcurl.so</span>, <span
style="font-size:10.0pt;font-family:"Courier New"">libcurl.lib</span>,
or other name.<o:p></o:p></p>
</div>
</blockquote>
<p>Ah that was misleading indeed. Correction queued in <a
href="https://urldefense.com/v3/__https:/github.com/OSGeo/gdal/pull/9371__;!!ACWV5N9M2RV99hQ!NL4-GXTlZwB0Rdq69N2ze_aa3cG4M6vhEC97pm9UK8Z4svrhYWwpPuQCNPHu5W_Hlg5OKvssXsXDmBSjEJTiAng9m6OA$"
moz-do-not-send="true">
https://github.com/OSGeo/gdal/pull/9371</a><o:p></o:p></p>
<p><o:p> </o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-family:"Aptos",sans-serif">If
I use .lib here, will GDAL link with the dynamic
library by default
</span><o:p></o:p></p>
</div>
</blockquote>
<p>You need to point to the appropriate .lib: a static .lib
if you want static linking, or an import .lib for dynamic
linking. Cf
<a
href="https://urldefense.com/v3/__https:/stackoverflow.com/questions/8019464/a-static-library-vs-an-import-library-on-the-windows-platform__;!!ACWV5N9M2RV99hQ!NL4-GXTlZwB0Rdq69N2ze_aa3cG4M6vhEC97pm9UK8Z4svrhYWwpPuQCNPHu5W_Hlg5OKvssXsXDmBSjEJTiAtL66jH4$"
moz-do-not-send="true">
https://stackoverflow.com/questions/8019464/a-static-library-vs-an-import-library-on-the-windows-platform</a>
for example<o:p></o:p></p>
<p><span style="font-family:"Aptos",sans-serif">|
or I need to set CURL_USE_STATIC_LIBS=OFF explicitly?
</span><o:p></o:p></p>
<p><span style="font-family:"Aptos",sans-serif">No,
this setting is only effective when set to ON (it adds a
-DCURL_STATICLIB define when including curl, and links
to a few system Windows .lib). You need to point
CURL_LIBRARY_RELEASE to the appropriate kind of .lib
given the type of linking you wish. The exact naming
will depend on how curl has been built.</span><o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre><a
href="https://urldefense.com/v3/__http:/www.spatialys.com__;!!ACWV5N9M2RV99hQ!NL4-GXTlZwB0Rdq69N2ze_aa3cG4M6vhEC97pm9UK8Z4svrhYWwpPuQCNPHu5W_Hlg5OKvssXsXDmBSjEJTiAvgpGpx2$"
moz-do-not-send="true">http://www.spatialys.com</a><o:p></o:p></pre>
<pre>My software is free, but my time generally not.<o:p></o:p></pre>
</div>
</div>
</div>
</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>