Ask Your Question

AndrewGong's profile - activity

2017-06-22 01:35:19 -0600 asked a question compilie opencv3.1/3.2 on ubun16.04,cuda8,python2.7 still failed

hello, I spend much time compiling opencv3.1/3.2 on ubun16.04,cuda8,python2.7, but still failed, and it shows error:

[ 53%] Building CXX object modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/src/core.cpp.o
/usr/bin/cmake: /home/ztgong/local/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/ztgong/local/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 53%] Building CXX object modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/src/arithm.cpp.o
[ 53%] Building CXX object modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/src/reductions.cpp.o
/usr/bin/cmake: /home/ztgong/local/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 53%] Building CXX object modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/src/element_operations.cpp.o
/usr/bin/cmake: /home/ztgong/local/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 53%] Linking CXX static library ../../lib/libopencv_cudaarithm.a
/usr/bin/cmake: /home/ztgong/local/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/ztgong/local/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/ztgong/local/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 53%] Built target opencv_cudaarithm
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

how to fix it? can you give some advises? thnak you very much~

2017-06-21 09:03:17 -0600 received badge  Editor (source)
2017-06-21 08:48:52 -0600 asked a question can not read video using cv2.VideoCapture

hello, I have one code: import cv2 cv2.VideoCapture(xxx.mp4/avi) print vidcap.isOpened() it still is False. I google for much time and rebuild ffmpeg and opencv. It they do not work. anyone can give some advises? I use ubuntu16.04 anaconda2 thank you very much~~

besides, I have python-opencv3.2 for python, but I install opencv2.4.13 from source. So must I install opencv3.2 from source?