Building a non-CUDA application against CUDA enabled OpenCV?
I'm trying to build a statically linked library, with cmake, to run on a system without CUDA support. The system I'm building it on has CUDA, and OpenCV supports CUDA.
Do I need to link against OpenCV re-compiled without CUDA support, or is there another way?
no, that should not be a problem. did you encounter any ?
Yep, a "CUDA version mismatch" that I don't want to resolve. OpenCV is 3.1 from Ubuntu package repository
From
we get
Looking at OpenCVConfig.cmake, it seems to have a pretty unconditional dependency on CUDA
apologies, i misread it, did not see, that you're trying to use some prebuild libs.
if those were build against cuda, you need to have it on your system, else you cannopt use those.
but seriously, rather try to build latest 3.4.1 from src, than trying to mess with whatever outdated $@ยง ubuntu's package managers drag in..