-
Notifications
You must be signed in to change notification settings - Fork 357
Closed
Description
Hi there!
Building from sources currently fails on my system. I can provide the full logs if requested, but for brevity's sake, here is the error:
-- Found lilv-0, version 0.24.26
CMake Error at /usr/lib/cmake/opencv4/OpenCVConfig.cmake:86 (find_package):
By not providing "FindCUDA.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "CUDA", but
CMake did not find one.
Could not find a package configuration file provided by "CUDA" (requested
version 12.8) with any of the following names:
CUDAConfig.cmake
cuda-config.cmake
Add the installation prefix of "CUDA" to CMAKE_PREFIX_PATH or set
"CUDA_DIR" to a directory containing one of the above files. If "CUDA"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/usr/lib/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
CMakeLists.txt:284 (find_package)
It looks like the compiler is looking for cuda 12.8 specifically.
On my system I have cuda 12.8.1 installed:
extra/cuda 12.8.1-1 (2.5 GiB 6.5 GiB) (Installed)
I also see references to opencv4. I have opencv4 installed, with cuda bindings:
extra/opencv-cuda 4.11.0-7 (79.9 MiB 1.7 GiB) (Installed)
Compilation from sources worked until fairly recently, but since it gets updated regularly and it is a rolling release something might have changed on my system that prevents building now.
Did some compiler switch related to this change recently? Which direction should I look into to solve this issue?
What are some things that I can try?
Here is some more information on my system:
Operating System: Arch Linux
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.13.8-arch1-1.2-g14 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7945HX3D with Radeon Graphics
Memory: 62.0 GiB of RAM
Graphics Processor 1: AMD Radeon 610M
Graphics Processor 2: NVIDIA GeForce RTX 4090 Laptop GPU
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Strix G733PYV_G733PYV
System Version: 1.0
Metadata
Metadata
Assignees
Labels
No labels