Obtain error: cannot find -lopencv_dep_cudart while building project on Ubuntu 16

Multi tool use
Multi tool use


Obtain error: cannot find -lopencv_dep_cudart while building project on Ubuntu 16



While building project on Ubuntu 16 which uses OpenCV I'm obtaining linker error:


/usr/bin/ld: cannot find -lopencv_dep_cudart





The project is described using cmake lists. So, while preparing makefiles I'm using cmake
– Alexey Antonenko
Jun 30 at 7:27




1 Answer
1



Solution: set -D CUDA_USE_STATIC_CUDA_RUNTIME=OFF while running cmake.
I've also tried to add that parameter to CMakeLists.txt but this doesn't always help.


-D CUDA_USE_STATIC_CUDA_RUNTIME=OFF






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

pJUz,0Gqljx,sjo4od 0jDgHVmyIPXoN6s,FbBCHq
jwgBVV2D2XvUoO9 hAGwAAL71JoRrgKQy,4CCyEi

Popular posts from this blog

Delphi Android file open failure with API 26

.

Amasya