Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error: install openCV-3.0.0-beta on Ubuntu 14.10

how can solve this ERROR?????

[ 55%] Built target opencv_imgcodecs Scanning dependencies of target opencv_videoio [ 56%] [ 56%] [ 56%] [ 56%] [ 56%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_v4l.cpp.o Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dc1394_v2.cpp.o Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap.cpp.o Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_images.cpp.o Linking CXX shared library ../../lib/libopencv_videoio.so /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status modules/videoio/CMakeFiles/opencv_videoio.dir/build.make:194: recipe for target 'lib/libopencv_videoio.so.3.0.0' failed make[2]: * [lib/libopencv_videoio.so.3.0.0] Error 1 CMakeFiles/Makefile2:2503: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/all' failed make[1]: [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... Linking CXX shared library ../../lib/libopencv_video.so [ 56%] Built target opencv_video Makefile:136: recipe for target 'all' failed make: * [all] Error 2

Error: install openCV-3.0.0-beta on Ubuntu 14.10

how can solve this ERROR?????

[ 55%] Built target opencv_imgcodecs
Scanning dependencies of target opencv_videoio
[ 56%] [ 56%] [ 56%] [ 56%] [ 56%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o
Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_v4l.cpp.o
Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dc1394_v2.cpp.o
Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap.cpp.o
Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_images.cpp.o
Linking CXX shared library ../../lib/libopencv_videoio.so
/usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
modules/videoio/CMakeFiles/opencv_videoio.dir/build.make:194: recipe for target 'lib/libopencv_videoio.so.3.0.0' failed
make[2]: * *** [lib/libopencv_videoio.so.3.0.0] Error 1
CMakeFiles/Makefile2:2503: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/all' failed
make[1]:  *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2
make[1]:  *** Waiting for unfinished jobs....
Linking CXX shared library ../../lib/libopencv_video.so
[ 56%] Built target opencv_video
Makefile:136: recipe for target 'all' failed
make: * *** [all] Error 2

2