Perhaps try the good old methods: run the "clean" target and do a full
rebuild
Le 26/02/2024 à 17:48, Abel Pau via gdal-dev a écrit :
It even now doesn’t work from Visual Studio itself.
I don’t understand what have changed from yesterday to today (apart
from updating vcpkg and gdal code itself).
*De:*gdal-dev <gdal-dev-boun...@lists.osgeo.org> *En nombre de *Abel
Pau via gdal-dev
*Enviado el:* dilluns, 26 de febrer de 2024 17:42
*Para:* Even Rouault <even.roua...@spatialys.com>;
gdal-dev@lists.osgeo.org
*Asunto:* Re: [gdal-dev] Some problems after updating
Hi Even, thanks for your answer.
I paste here some of my variables:
After too many months perhaps there are things that are not necessary,
but the one you sais is there:
*GDAL_DATA *
D:\GitHub-repository\GDAL\build\data
*PATH *
PATH%;
D:\GitHub-repository\GDAL\build\Debug;
C:\Users\a.pau\AppData\Local\GitHubDesktop\bin;
C:\Program Files\Graphviz\bin;
D:\GitHub-repository\odbc-cpp-wrapper\build\src\odbc\Release;
D:\mapes\programes\make-3.81-bin\bin;
But same error appears :(
*De:*Even Rouault <even.roua...@spatialys.com>
*Enviado el:* dilluns, 26 de febrer de 2024 17:30
*Para:* Abel Pau <a....@creaf.uab.cat>; gdal-dev@lists.osgeo.org
*Asunto:* Re: [gdal-dev] Some problems after updating
hi,
perhaps make sure that your PATH environment variable includes a
directory that contains the gdal.dll of *your* build (should likely be
D:\GitHub-repository\GDAL\build\Debug) before the one potentially
coming from vcpkg
Even
Le 26/02/2024 à 17:20, Abel Pau via gdal-dev a écrit :
Hi,
usually (and always works) I call this two sentences from command
line in Windows:
cmake -B D:\GitHub-repository\GDAL\build -S .
-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build D:\GitHub-repository\GDAL\build
The first one generates all projects that I can open with Visual
Studio
The second one compilates all files, and it ens with no problems.
To test is works I’ve been using lots of line commands, for
example this one (using the program ogr2ogr):
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
It’s been working untiel today when next error appears:
---------------------------
ogr2ogr.exe - No se encuentra el punto de entrada
---------------------------
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.
---------------------------
D'acord
---------------------------
What is the diference between today and yesterday?
I’ve done 2 things:
1.Download and Install VCPKG (the method that worked for me)
2..\vcpkg\bootstrap-vcpkg.bat
3..\vcpkg integrate install
4..\vcpkg install gdal --triplet=x64-windows
And, of course, download lasts codes from GDAL to be on date
before finishing the job I’m doing.
So, can anyone put some light to this mistery? What I am doing
wrong this time?
There is some dependence I am using wrong?
I am a little desperate with that kind of errors.
Thanks a lot!
*Abel Pau Garcia*
*GIS developer*
https://www.creaf.cat/sites/default/files/creaf-signature.png
*a....@creaf.uab.cat* <mailto:a....@creaf.uab.cat>
*Let's chat on Teams!*
<https://teams.microsoft.com/l/chat/0/0?users=a....@creaf.uab.cat>
*Tel. +34 934814277*
https://www.creaf.cat/sites/default/files/so-en-signature.png
https://www.creaf.cat/sites/default/files/twitter-icon-signature.png
<https://twitter.com/CREAF_ecologia>https://www.creaf.cat/sites/default/files/linkedin-icon-signature.png
<https://www.linkedin.com/company/1363052?trk=tyah&trkInfo=clickedVertical:company,clickedEntityId:1363052,idx:2-1-2,tarId:1465807877789,tas:creaf>https://www.creaf.cat/sites/default/files/youtube-icon-signature.png
<https://www.youtube.com/c/creafecologia>https://www.creaf.cat/sites/default/files/instagram-icon-signature.png
<https://www.instagram.com/CREAF_ecologia/>
*www.creaf.cat* <http://www.creaf.cat>*| **http://blog.creaf.cat*
<http://blog.creaf.cat>
https://www.creaf.cat/sites/default/files/uab_logo_signatura.png
CREAF. Campus UAB. Edifici C. 08193 Bellaterra (Barcelona)
Before printing this electronic message, think about the environment.
http://www.creaf.uab.cat/_signatura/line.gif
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev