cannot install this code

asked 2020-05-15 02:39:16 -0500

Nbb gravatar image
i am trying to run this code https://github.com/Katou2/Optical_Flow_GPU_Opencv3. I can run cmake but make gives me 

[ 25%] Automatic MOC for target compute_flow
[ 25%] Built target compute_flow_autogen
Scanning dependencies of target compute_flow
[ 50%] Building CXX object CMakeFiles/compute_flow.dir/compute_flow.o
/home/haziq/Downloads/Optical_Flow_GPU_Opencv3/compute_flow.cpp:38:35: fatal error: opencv2/cudaoptflow.hpp: No such file or directory
compilation terminated.
CMakeFiles/compute_flow.dir/build.make:62: recipe for target 'CMakeFiles/compute_flow.dir/compute_flow.o' failed
make[2]: *** [CMakeFiles/compute_flow.dir/compute_flow.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/compute_flow.dir/all' failed
make[1]: *** [CMakeFiles/compute_flow.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

help please

edit retag flag offensive close merge delete

Comments

please tell me, how you managed to post 9 duplicates of this ;(

berak gravatar imageberak ( 2020-05-15 03:02:03 -0500 )edit

DID you successfully build & install opencv libs with CUDA ?

the cmake output from your program is quite useless, we would need to see the cmake output from building the opencv libs instead

berak gravatar imageberak ( 2020-05-15 03:43:45 -0500 )edit