i have problem with compiling with CMake, it said /usr/bin/ld: cannot find -lopencv_dep_cudart. in CMakeLists.txt, i have target_link_libraries(xxx ${OpenCV_LIBS} ${CUDA_LIBRARIES}), how do i include this cudart library?
Somewhere in the linker path you need to add libopencv_dep_cudart.so. If you have libopencv_dep_cudart.a instead, then you need to change the CMakefile for static linking. I haven’t built this, so I don’t know the details.
Well, the thing is I cannot find any file called libopencv_dep_cudart…there should be a file called that, right? I can find libcudart under CUDA-8.0 lib folder.
Yes, that is the file the error message refers to…the linker is looking for the dynamic .so version and cannot find it. I do not know if libopencv_dep_cudart has changed due to missing a prerequisite install or if it is due to version change of the library itself. Possibly it is just in the wrong place and needs to be moved.
Locking thread so that individual L4T 24.2/JetPack 2.3 issues can be tracked in their own threads. Please create a new thread for any additional issues found.