<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
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;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<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.
<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 <even.rouault@spatialys.com><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 <fengting.chen@oracle.com>, gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org><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"><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$">
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$">
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$">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>
</body>
</html>