I cannot compile 5.7.0 with the AI flag enabled.
fails as shown below:
– Fetching ONNX Runtime v1.24.4 release metadata from GitHub API…
CMake Warning at cmake/modules/FindONNXRuntime.cmake:240 (message):
Failed to fetch release metadata from GitHub: “HTTP response code said
error”
Call Stack (most recent call first):
src/CMakeLists.txt:3 (find_package)
CMake Warning at cmake/modules/FindONNXRuntime.cmake:266 (message):
Could not obtain integrity hash for onnxruntime-linux-x64-1.24.4.tgz from
package repository. Refusing to download without verification. Install
ONNX Runtime manually or set ONNXRUNTIME_OFFLINE=ON.
Call Stack (most recent call first):
src/CMakeLists.txt:3 (find_package)
CMake Error at src/CMakeLists.txt:5 (message):
ONNX Runtime not found
FindONNXRuntime.cmake search the onnxruntime-linux-x64-1.24.4.tgz in a github repo that doesn’t exist any more.
I’m now trying to figure out how to install it manually in a linux mint (the one-line install script provided in darktable user manual - GPU acceleration also search in that non-existent github repo).
Yep, libonnxruntime-dev is only available since Debian 13 and Ubuntu 26.04, and I guess Mint is even further behind… (Though there are some PPAs for older Ubuntus, maybe they work on Mint…)
Well principally there were missing the includefiles only, as the *.so files were available in my .local directory and also in the darktable/lib installation directory. It seems that the build needs the *.h files, too, otherwise it stops.