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

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Kai Pastor, DG0YT via gdal-dev
To pass lists into cmake, you usually need ';' as item separator. (Exception: CMAKE__FLAGS which is a command line fragment with space-separated items.) In vcpkg, webp is configured via a CMAKE_PROJECT_INCLUDE file: if(GDAL_USE_WEBP)     find_package(WebP CONFIG REQUIRED)     add_library(WEBP:

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Carl Godkin via gdal-dev
Hi Andrew, Thanks for replying. I am not looking for ways to edit CMakeLists.txt files, especially since I don't really understand the syntax. I was just hoping that someone who had built GDAL with WEBP enabled would tell me how to specify both libraries to cmake on the command line. Sorry I o

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Andrew C Aitchison via gdal-dev
On Tue, 13 Feb 2024, Carl Godkin via gdal-dev wrote: Hi, Sorry if this is an elementary cmake question but I am curious if there is a cleaner solution than I came up with. I'm trying to build GDAL 3.8.3 with WEBP support. I built libwebp 1.3.2 (the latest) without any problems, also using cma

[gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Carl Godkin via gdal-dev
Hi, Sorry if this is an elementary cmake question but I am curious if there is a cleaner solution than I came up with. I'm trying to build GDAL 3.8.3 with WEBP support. I built libwebp 1.3.2 (the latest) without any problems, also using cmake. However, when building GDAL, the link on the shared

[gdal-dev] VSI sidecar and sibling file lookup

2024-02-13 Thread Sean Gillies via gdal-dev
Hi all, It's not clear to me from reading https://gdal.org/user/virtual_file_systems.html if VSI sidecar and sibling file lookup works in general, by design, or whether it's an implementation detail of the standard VSI filesystems ("vsizip", "vsicurl", etc.). More specifically: if I have a "/vsip

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

2024-02-13 Thread Robert Coup via gdal-dev
Hi Michael, On Tue, 13 Feb 2024 at 07:18, Michael Otto wrote: > 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 Do

Re: [gdal-dev] linting test in Code Checks always fails

2024-02-13 Thread Laurențiu Nicola via gdal-dev
On Tue, Feb 13, 2024, at 14:25, Abel Pau via gdal-dev wrote: > Hi, > I am trying to make my code good for all Actions in the project. I'm guessing you should remove https://github.com/AbelPau/gdal/tree/master/out/build/x64-Debug from git (and ideally squash at the end).___

[gdal-dev] linting test in Code Checks always fails

2024-02-13 Thread Abel Pau via gdal-dev
Hi, I am trying to make my code good for all Actions in the project. Yesterday I was trying to format my code using clang. I looked at that: Commit hooks GDAL provides pre-commit hooks to run code linters before a commit is made. The hooks are cloned with the repository and can be installed using

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

2024-02-13 Thread Roger Bivand via gdal-dev
You may find the listings used to build static libraries for R Windows packages using MXE as the basis to be helpful: https://svn.r-project.org/R-dev-web/trunk/WindowsBuilds/winutf8/ucrt3/toolchain_libs/mxe/src/ These are targeted at Windows, but the dependency tree logic should be similar. In