[gdal-dev] Antwort: Re: Build static GDAL-Lib and static GDAL-Apps

2024-02-20 Thread Michael Otto via gdal-dev
Thanks to all who have responded. I have now tried it with 'vcpkg install gdal[tools]'. The tools/apps are there, but they are not statically linked! See for example gdalinfo: root@vmuser-VirtualBox:/home/vmuser/Git/vcpkg/installed/x64-linux/tools/gdal# ldd gdalinfo linux-vdso.so.1 (0x

Re: [gdal-dev] Antwort: Re: Build static GDAL-Lib and static GDAL-Apps

2024-02-20 Thread Kai Pastor, DG0YT via gdal-dev
When you install gdal[tools], the apps are installed to `/tools/gdal`. (The vcpkg focus is on providing libs build from source.) To explore port features, you can look at the port's vcpkg.json (aka manifest), or start from https://vcpkg.link/ports/gdal Regards, Kai Am 20.02.24 um 12:22 schr

[gdal-dev] Antwort: Re: Build static GDAL-Lib and static GDAL-Apps

2024-02-20 Thread Michael Otto via gdal-dev
Hi Robert, because I'm not getting anywhere with the "standard" CMake solution, I've now used the vcpkg you mentioned and am using it in a Virtualbox VM with Linux Mint. I got the installation instructions from here: https://github.com/microsoft/vcpkg?tab=readme-ov-file#quick-start-unix. I ha

Re: [gdal-dev] Antwort: Re: Build static GDAL-Lib and static GDAL-Apps

2024-02-13 Thread Kai Pastor, DG0YT via gdal-dev
Am 13.02.24 um 08:18 schrieb Michael Otto via gdal-dev: I currently use an Ubuntu VM and use an Alpine-Linux Docker container for compiling. First a static Geos library is created via cmake, then a static Proj library (without Curl, because this currently leads to errors) and then Gdal as a sta

[gdal-dev] Antwort: Re: Build static GDAL-Lib and static GDAL-Apps

2024-02-12 Thread Michael Otto via gdal-dev
Hello Robert, at the moment it's only about the Linux platform. And yes, it should be a static compilation with all the necessary dependencies (including libtiff and all the others). I currently use an Ubuntu VM and use an Alpine-Linux Docker container for compiling. First a static Geos librar