I used vcpkg to install OpenCV with CUDA support. I want to statically linking the OpenCV library while using dynamic linking for the CUDA libraries. However, I encountered a problem where the CUDA libraries are also statically linked to the program. I am not sure how to configure it correctly.
I used vcpkg to install OpenCV with CUDA support. I want to statically linking the OpenCV library while using dynamic linking for the CUDA libraries. However, I encountered a problem where the CUDA libraries are also statically linked to the program. I am not sure how to configure it correctly.
install opencv with vcpkg
rust config
build.rs