OpenCV Libaries not found. [closed]
I am working with the kdenlive video editor and it seems as if the opencv libaries are not found, making the program work incorrectly, etc. Here is my GDB debug session code: https://hastebin.com/enuxajelog.go
which opencv version is this using, and how did you install it ?
_ZN2cv7Tracker4initERKNS_3MatERKNS_5Rect_IdEE
means, it's using the tracking module from hereyou probably have to rebuild the opencv libs with opencv_contrib
Ok I willy try and see if this works but how would i do that. BTW thank you for helping me and I wanted to also let you know that the link is broken.
apologies, link fixed !
So in this instance im just building extra opencv modules?? If so, how does this work im such a n00b when it comes to opencv libaries....
no, this will build ALL of opencv, including the contrib modules
Ok I tried building multiple times on Arch Linux and it isnt working. It either usually says it cant find any modules even though I have all dependencies needed and have explicitly told cmake where the modules are, or it gives this:
`CMake Error at CMakeLists.txt:11 (message):
FATAL: In-source builds are not allowed.
-- Configuring incomplete, errors occurred! `
don't worry.
you're supposed to make a "build" folder somewhere, and start cmake from there (do not start cmake from the opencv root folder).
then pass the path to the opencv root folder as last argument to cmake
(you're not allowed to build in the root folder, because it is impossible, to clean it up or revert properly)
ok i got it to finally make the configuration/make file but I get this error when I actually make/build it(code was waaay to long so ill link it): 'https://hastebin.com/axapuyaqam.rb'
EDIT: Ok after playing around with cuda and setting it to the coreect version i get an nvcc failure :
nvcc fatal : redefinition of argument 'compiler-bindir' CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:208 (message): Error generating /home/louie/Downloads/opencv-master/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o
Another thing to add is that I get an nvcc failure after setting cuda(8.0.61) to the right version in my system. I also see the gcc failure a couple of lines up before the problems acutally occur, got any ideas?
And also here is the command I am using with cmake before building it:
cmake -D WITH_TBB=ON -D INSTALL_C_EXAMPLES=ON -D WITH_EIGEN=OFF -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D CMAKE_BUILD_TYPE=RELEASE -D CUDA_NVCC_FLAGS="-ccbin gcc-5" -D CUDA_HOST_COMPILER:FILEPATH=/usr/bin/gcc-5 -D OPENCV_EXTRA_MODULES_PATH=~/Downloads/opencv_contrib-master/modules ..
EDIT: Ok after setting the version to gcc5.4 it still does not make a difference.