<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>hi,</p>
<p>perhaps make sure that your PATH environment variable includes a
directory that contains the gdal.dll of *your* build (should
likely be <span style="mso-fareast-language:CA" lang="EN-US">D:\GitHub-repository\GDAL\build\Debug)</span>
before the one potentially coming from vcpkg</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 26/02/2024 à 17:20, Abel Pau via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:PAXPR07MB77756048B2FB463C6A0E2B5AA25A2@PAXPR07MB7775.eurprd07.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:Wingdings;
panose-1:5 0 0 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;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}ol
{margin-bottom:0cm;}ul
{margin-bottom:0cm;}</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 lang="ES">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">usually (and always
works) I call this two sentences from command line in
Windows:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">cmake -B
D:\GitHub-repository\GDAL\build -S .
-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">cmake --build
D:\GitHub-repository\GDAL\build<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">The first one generates all projects that I can
open with Visual Studio<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">The second one compilates all files, and it ens
with no problems.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">To test is works I’ve been using lots of line
commands, for example this one (using the program ogr2ogr):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">D:\GitHub-repository\GDAL\build\apps\Debug\ogr2ogr.exe
D:\mapes\2023\GDAL\Versions\Misteri_V20_a_V11.pol
D:\mapes\2023\GDAL\Versions\Misteri_V20.pol -progress -lco
Version=V1.1 --config CPL_DEBUG ON<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">It’s been working untiel today when next error
appears:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">---------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="ES">ogr2ogr.exe - No se encuentra el punto de entrada<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="ES">---------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="ES">No se encuentra el punto de entrada del
procedimiento
?TransformWithErrorCodes@OGRCoordinateTransformation@@UEAAH_KPEAN111PEAH@Z
en la biblioteca de vínculos dinámicos
D:\GitHub-repository\GDAL\build\apps\Debug\ogr2ogr.exe.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">---------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">D'acord
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">---------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">What is the diference between today and
yesterday?<br>
I’ve done 2 things:<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="font-family:Symbol;mso-fareast-language:CA"
lang="EN-US"><span style="mso-list:Ignore">·<span
style="font:7.0pt "Times New Roman"">
</span></span></span><!--[endif]--><span
style="mso-fareast-language:CA" lang="EN-US">Download and
Install VCPKG (the method that worked for me)<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="font-family:Symbol;mso-fareast-language:CA"
lang="EN-US"><span style="mso-list:Ignore">·<span
style="font:7.0pt "Times New Roman"">
</span></span></span><!--[endif]--><span
style="mso-fareast-language:CA" lang="EN-US">.\vcpkg\bootstrap-vcpkg.bat<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="font-family:Symbol;mso-fareast-language:CA"
lang="EN-US"><span style="mso-list:Ignore">·<span
style="font:7.0pt "Times New Roman"">
</span></span></span><!--[endif]--><span
style="mso-fareast-language:CA" lang="EN-US">.\vcpkg
integrate install<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="font-family:Symbol;mso-fareast-language:CA"
lang="EN-US"><span style="mso-list:Ignore">·<span
style="font:7.0pt "Times New Roman"">
</span></span></span><!--[endif]--><span
style="mso-fareast-language:CA" lang="EN-US">.\vcpkg install
gdal --triplet=x64-windows<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">And, of course, download lasts codes from GDAL
to be on date before finishing the job I’m doing.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">So, can anyone put some light to this mistery?
What I am doing wrong this time?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">There is some dependence I am using wrong?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">I am a little desperate with that kind of
errors.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">Thanks a lot!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"><o:p> </o:p></span></p>
<table class="MsoNormalTable" style="width:375.0pt" width="0"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:232.5pt;padding:0cm 0cm 0cm 0cm"
width="310">
<p class="MsoNormal"><b><span
style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA">Abel
Pau Garcia</span></b><span
style="font-size:12.0pt;mso-fareast-language:CA">
</span><span style="mso-fareast-language:CA"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#669900;mso-fareast-language:CA">GIS
developer</span></b><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
<td style="width:142.5pt;padding:0cm 0cm 0cm 0cm"
width="190" valign="top">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:12.0pt;mso-fareast-language:CA"><img
style="width:1.3958in;height:.5208in"
id="Imagen_x0020_8"
src="cid:part1.SUloa71w.rijjrefw@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/creaf-signature.png"
class="" width="134" height="50"></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA"><a
href="mailto:a.pau@creaf.uab.cat"
moz-do-not-send="true"><b><span style="color:blue">a.pau@creaf.uab.cat</span></b></a></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA"><a
href="https://teams.microsoft.com/l/chat/0/0?users=a.pau@creaf.uab.cat"
moz-do-not-send="true"><b><span style="color:blue">Let's
chat on Teams!</span></b></a></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA">Tel.
+34 934814277</span></b><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
<td style="width:106.5pt;padding:0cm 0cm 0cm 0cm"
width="190" valign="top">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:12.0pt;mso-fareast-language:CA"><img
style="width:1.0937in;height:.5208in"
id="Imagen_x0020_7"
src="cid:part2.0O5oL0Ku.aCPPe2d4@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/so-en-signature.png"
class="" width="105" height="50" border="0"></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span lang="ES"><a
href="https://twitter.com/CREAF_ecologia"
target="_blank" moz-do-not-send="true"><span
style="font-size:12.0pt;color:#0563C1;mso-fareast-language:CA;text-decoration:none"
lang="CA"><img
style="width:.177in;height:.177in"
id="Imagen_x0020_6"
src="cid:part3.gJJGSODD.p39pvZqa@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/twitter-icon-signature.png"
class="" width="17" height="17" border="0"></span></a><a
href="https://www.linkedin.com/company/1363052?trk=tyah&trkInfo=clickedVertical:company,clickedEntityId:1363052,idx:2-1-2,tarId:1465807877789,tas:creaf"
target="_blank" moz-do-not-send="true"><span
style="font-size:12.0pt;color:#0563C1;mso-fareast-language:CA;text-decoration:none"
lang="CA"><img
style="width:.177in;height:.177in"
id="Imagen_x0020_5"
src="cid:part4.GPOH48BD.fowZKN1k@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/linkedin-icon-signature.png"
class="" width="17" height="17" border="0"></span></a><a
href="https://www.youtube.com/c/creafecologia"
target="_blank" moz-do-not-send="true"><span
style="font-size:12.0pt;color:#0563C1;mso-fareast-language:CA;text-decoration:none"
lang="CA"><img
style="width:.177in;height:.177in"
id="Imagen_x0020_4"
src="cid:part5.oq0gC0Cn.9Nz0D8D9@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/youtube-icon-signature.png"
class="" width="17" height="17" border="0"></span></a><a
href="https://www.instagram.com/CREAF_ecologia/"
target="_blank" moz-do-not-send="true"><span
style="font-size:12.0pt;color:#0563C1;mso-fareast-language:CA;text-decoration:none"
lang="CA"><img
style="width:.177in;height:.177in"
id="Imagen_x0020_3"
src="cid:part6.179nuDSR.rnA0c54e@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/instagram-icon-signature.png"
class="" width="17" height="17" border="0"></span></a></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA"><a
href="http://www.creaf.cat" target="_blank"
moz-do-not-send="true"><b><span
style="color:#003300">www.creaf.cat</span></b></a><b>
|
</b><a href="http://blog.creaf.cat" target="_blank"
moz-do-not-send="true"><b><span
style="color:#003300">http://blog.creaf.cat</span></b></a></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm" valign="top">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:12.0pt;mso-fareast-language:CA"><img
style="width:1.0937in;height:.5208in"
id="Imagen_x0020_2"
src="cid:part7.C1HZGQ1w.0rAC08BG@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/uab_logo_signatura.png"
class="" width="105" height="50" border="0"></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA">CREAF.
Campus UAB. Edifici C. 08193 Bellaterra (Barcelona)</span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA"><br>
Before printing this electronic message, think about
the environment.</span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span
style="font-size:12.0pt;mso-fareast-language:CA"><img
style="width:5.2083in;height:.0625in"
id="Imagen_x0020_1"
src="cid:part8.Jn1SydKP.AW2GSoDM@spatialys.com"
alt="http://www.creaf.uab.cat/_signatura/line.gif"
class="" width="500" height="6" border="0"></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES"><o:p> </o:p></span></p>
</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.</pre>
</body>
</html>