Open akde opened 6 years ago
Hi; Thanks for that tool.
I have followed the steps described and I got the following error after cmake .: error: ‘CV_CAP_PROP_FPS’ was not declared in this scope
cmake .
After removing "CV" prefix from bunch of lines, the error disappeared. (CV_CAP_PROP_FPS => CAP_PROP_FPS) (CV_FILLED => FILLED)
But this time when I execute make, I see the following error:
make
Scanning dependencies of target yolo_mark [ 50%] Building CXX object CMakeFiles/yolo_mark.dir/main.cpp.o make[2]: *** No rule to make target '/home/akde/opencv-3.3.0/lib/libopencv_videostab.so.4.0.0', needed by 'yolo_mark'. Stop. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/yolo_mark.dir/all' failed make[1]: *** [CMakeFiles/yolo_mark.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
Apparently, It is asking for "libopencv_videostab.so.4.0.0"
trying to find that item I do find -type f -iname "*videostab*"
find -type f -iname "*videostab*"
and get
./opencv-3.3.0/modules/videostab/include/opencv2/videostab.hpp ./opencv-3.3.0/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv-3.3.0/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/lib/libopencv_videostab_pch_dephelp.a ./opencv-3.3.0/build/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/build/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./opencv-3.3.0/build/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv-3.3.0/build/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/build/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/build/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./opencv-3.3.0/build/lib/libopencv_videostab_pch_dephelp.a ./opencv-3.3.0/build/lib/libopencv_videostab.so.3.3.0 ./opencv-3.3.0/build/lib/libopencv_test_videostab_pch_dephelp.a ./opencv-3.3.0/build/samples/cpp/CMakeFiles/example_videostab.dir/videostab.cpp.o ./opencv-3.3.0/build/bin/cpp-example-videostab ./opencv-3.3.0/build/bin/opencv_test_videostab ./opencv-3.3.0/samples/cpp/videostab.cpp ./opencv-3.3.0/cmake/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/cmake/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/modules/videostab/include/opencv2/videostab.hpp ./Downloads/opencv-3.3.0/samples/cpp/videostab.cpp ./Downloads/opencv-3.3.0/cmake/modules/videostab/opencv_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/cmake/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/cmake/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./Downloads/opencv-3.3.0/cmake/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./Downloads/opencv-3.3.0/cmake/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./Downloads/opencv-3.3.0/cmake/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./Downloads/opencv-3.3.0/cmake/lib/libopencv_videostab_pch_dephelp.a ./Downloads/opencv-3.3.0/cmake/lib/libopencv_test_videostab_pch_dephelp.a ./opencv/modules/videostab/include/opencv2/videostab.hpp ./opencv/build/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv/build/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./opencv/build/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv/build/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv/build/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./opencv/build/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./opencv/build/lib/libopencv_videostab_pch_dephelp.a ./opencv/build/lib/libopencv_test_videostab_pch_dephelp.a ./opencv/build/lib/libopencv_videostab.so.3.3.1 ./opencv/build/samples/cpp/CMakeFiles/example_videostab.dir/videostab.cpp.o ./opencv/build/bin/cpp-example-videostab ./opencv/build/bin/opencv_test_videostab ./opencv/samples/cpp/videostab.cpp find: ‘./.dbus/session-bus’: Permission denied which means I got "./opencv-3.3.0/build/lib/libopencv_videostab.so.3.3.0"
./opencv-3.3.0/modules/videostab/include/opencv2/videostab.hpp ./opencv-3.3.0/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv-3.3.0/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/lib/libopencv_videostab_pch_dephelp.a ./opencv-3.3.0/build/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/build/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./opencv-3.3.0/build/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv-3.3.0/build/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/build/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/build/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./opencv-3.3.0/build/lib/libopencv_videostab_pch_dephelp.a ./opencv-3.3.0/build/lib/libopencv_videostab.so.3.3.0 ./opencv-3.3.0/build/lib/libopencv_test_videostab_pch_dephelp.a ./opencv-3.3.0/build/samples/cpp/CMakeFiles/example_videostab.dir/videostab.cpp.o ./opencv-3.3.0/build/bin/cpp-example-videostab ./opencv-3.3.0/build/bin/opencv_test_videostab ./opencv-3.3.0/samples/cpp/videostab.cpp ./opencv-3.3.0/cmake/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/cmake/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/modules/videostab/include/opencv2/videostab.hpp ./Downloads/opencv-3.3.0/samples/cpp/videostab.cpp ./Downloads/opencv-3.3.0/cmake/modules/videostab/opencv_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/cmake/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/cmake/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./Downloads/opencv-3.3.0/cmake/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./Downloads/opencv-3.3.0/cmake/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./Downloads/opencv-3.3.0/cmake/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./Downloads/opencv-3.3.0/cmake/lib/libopencv_videostab_pch_dephelp.a ./Downloads/opencv-3.3.0/cmake/lib/libopencv_test_videostab_pch_dephelp.a ./opencv/modules/videostab/include/opencv2/videostab.hpp ./opencv/build/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv/build/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./opencv/build/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv/build/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv/build/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./opencv/build/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./opencv/build/lib/libopencv_videostab_pch_dephelp.a ./opencv/build/lib/libopencv_test_videostab_pch_dephelp.a ./opencv/build/lib/libopencv_videostab.so.3.3.1 ./opencv/build/samples/cpp/CMakeFiles/example_videostab.dir/videostab.cpp.o ./opencv/build/bin/cpp-example-videostab ./opencv/build/bin/opencv_test_videostab ./opencv/samples/cpp/videostab.cpp find: ‘./.dbus/session-bus’: Permission denied
Do I need opencv 4? How can I get rid of that problem?
Hi; Thanks for that tool.
I have followed the steps described and I got the following error after
cmake .
: error: ‘CV_CAP_PROP_FPS’ was not declared in this scopeAfter removing "CV" prefix from bunch of lines, the error disappeared. (CV_CAP_PROP_FPS => CAP_PROP_FPS) (CV_FILLED => FILLED)
But this time when I execute
make
, I see the following error:Apparently, It is asking for "libopencv_videostab.so.4.0.0"
trying to find that item I do
find -type f -iname "*videostab*"
and get
./opencv-3.3.0/modules/videostab/include/opencv2/videostab.hpp ./opencv-3.3.0/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv-3.3.0/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/lib/libopencv_videostab_pch_dephelp.a ./opencv-3.3.0/build/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/build/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./opencv-3.3.0/build/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv-3.3.0/build/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/build/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./opencv-3.3.0/build/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./opencv-3.3.0/build/lib/libopencv_videostab_pch_dephelp.a ./opencv-3.3.0/build/lib/libopencv_videostab.so.3.3.0 ./opencv-3.3.0/build/lib/libopencv_test_videostab_pch_dephelp.a ./opencv-3.3.0/build/samples/cpp/CMakeFiles/example_videostab.dir/videostab.cpp.o ./opencv-3.3.0/build/bin/cpp-example-videostab ./opencv-3.3.0/build/bin/opencv_test_videostab ./opencv-3.3.0/samples/cpp/videostab.cpp ./opencv-3.3.0/cmake/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv-3.3.0/cmake/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/modules/videostab/include/opencv2/videostab.hpp ./Downloads/opencv-3.3.0/samples/cpp/videostab.cpp ./Downloads/opencv-3.3.0/cmake/modules/videostab/opencv_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/cmake/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./Downloads/opencv-3.3.0/cmake/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./Downloads/opencv-3.3.0/cmake/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./Downloads/opencv-3.3.0/cmake/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./Downloads/opencv-3.3.0/cmake/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./Downloads/opencv-3.3.0/cmake/lib/libopencv_videostab_pch_dephelp.a ./Downloads/opencv-3.3.0/cmake/lib/libopencv_test_videostab_pch_dephelp.a ./opencv/modules/videostab/include/opencv2/videostab.hpp ./opencv/build/modules/videostab/opencv_videostab_pch_dephelp.cxx ./opencv/build/modules/videostab/opencv_test_videostab_pch_dephelp.cxx ./opencv/build/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch ./opencv/build/modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o ./opencv/build/modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o ./opencv/build/modules/videostab/test_precomp.hpp.gch/opencv_test_videostab_RELEASE.gch ./opencv/build/lib/libopencv_videostab_pch_dephelp.a ./opencv/build/lib/libopencv_test_videostab_pch_dephelp.a ./opencv/build/lib/libopencv_videostab.so.3.3.1 ./opencv/build/samples/cpp/CMakeFiles/example_videostab.dir/videostab.cpp.o ./opencv/build/bin/cpp-example-videostab ./opencv/build/bin/opencv_test_videostab ./opencv/samples/cpp/videostab.cpp find: ‘./.dbus/session-bus’: Permission denied
which means I got "./opencv-3.3.0/build/lib/libopencv_videostab.so.3.3.0"Do I need opencv 4? How can I get rid of that problem?