[gdal-dev] GDAL version in pip requirements file

2023-09-25 Thread Luca Delucchi via gdal-dev
Hi everyone, I would like to know if it is possible to set GDAL version in the pip requirements file using gdal-config of the machine running the installation, I tried some different ways but I was not able to do it, also leaving GDAL without any specified version doesn't work because it takes the

Re: [gdal-dev] About installing EXPAT

2023-09-25 Thread Abel Pau via gdal-dev
Hi again, well after using CONDA_PREFIX some errors appear about packages that are not included (I suppose). archive.dll libcrypto-3-x64.dll libssl-3-x64.dll liblz4.dll Are they familiar to you? De: Even Rouault Enviado el: dilluns, 25 de setembre de 2023 16:32 Para: Abel Pau ; gdal dev Asun

Re: [gdal-dev] About installing EXPAT

2023-09-25 Thread Even Rouault via gdal-dev
Add -DCMAKE_PREFIX_PATH="$CONDA_PREFIX" to your CMake invokation (assuming your have activate your Conda environment, so CONDA_PREFIX is set) My suggestion is inspired from our CI Conda based Windows build: https://github.com/OSGeo/gdal/blob/7fc7bb59d2b2de1dca03dd18c14005f2b64adb49/.github/work

Re: [gdal-dev] About installing EXPAT

2023-09-25 Thread Abel Pau via gdal-dev
Hi Even, I really appreciate your help. I prefer going by the easy way so once installed miniconda and applied all the described in download.htm. To have the EXPAT installed I do that: conda install expat And the, when I try the cmake .. some issues appear D:\GitHub-repository\GDAL\build>cmake

Re: [gdal-dev] About installing EXPAT

2023-09-25 Thread Even Rouault via gdal-dev
Abel, In Cmakefile.txt of the project I’ve configured this (below # Developer may want to specify some variable to find proper version.): set(EXPAT_INCLUDE_DIR "D:/GitHub-repository/libexpat/expat/lib") set(EXPAT_LIBRARY "D:/GitHub-repository/libexpat/expat/build/Debug/libexpatd.lib") Is

[gdal-dev] About installing EXPAT

2023-09-25 Thread Abel Pau via gdal-dev
Hi, I’ve been like hours trying to make EXPAT work in my driver compilation and execution. Without success. It’s for that reason I am asking for your help. Thanks in advance! I’ve downloaded EXPAT from GitHub, then I’ve created a folder “build” and executed cmake .. and opened the result with Vi