Recently decided to upgrade one of our TX1s to the newest L4T. This moved us forward to 16.04 and ROS Kinetic.
Now, however, any program that links to OpenCV throws the error:
/usr/bin/ld: cannot find -lopencv_dep_cudart
when we try to compile it. Currently, we have only OpenCV4Tegra installed (didn’t mess with OpenCV at all) since we want to use NVIDIA’s optimizations.
We’ve already tried to add -DCUDA_STATIC_CUDA_RUNTIME=OFF as well as do a set(CUDA_STATIC_CUDA_RUNTIME OFF) in the CMakeLists.txt
For some packages this worked, but for some it just won’t compile and continuously throws the error. What changed with the newest L4T version that OpenCV is causing trouble again? I thought this was fixed a while ago… Does anyone have any tips for getting this to work? What exactly is this -lopencv_dep_cudart ?