opencv configure using cmake::error

asked 2017-12-11 03:16:38 -0600

usuf gravatar image

updated 2017-12-11 03:20:54 -0600

berak gravatar image

machinelearninguru.com/computer_visio...

i followed the above link to configure the opencv for ubuntu .....after generating i am compiling(make -j8) it shows the error like as follows

[ 28%] Linking CXX executable ../../bin/opencv_test_video
/usr/bin/ld: warning: libpcre.so.1, needed by //home/usuf/anaconda3/envs/py36/lib/libglib-2.0.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libswresample.so.2, needed by //home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libiconv.so.2, needed by //home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libx264.so.138, needed by //home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57, not found (try using -rpath or -rpath-link)
//home/usuf/anaconda3/envs/py36/lib/libglib-2.0.so.0: undefined reference to `pcre_fullinfo'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `swr_init@LIBSWRESAMPLE_2'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_param_default'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_param_apply_profile'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `libiconv'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_encoder_headers'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `swr_close@LIBSWRESAMPLE_2'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_encoder_encode'
//home/usuf/anaconda3/envs/py36/lib/libglib-2.0.so.0: undefined reference to `pcre_get_stringtable_entries'
//home/usuf/anaconda3/envs/py36/lib/libglib-2.0.so.0: undefined reference to `pcre_get_stringnumber'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_encoder_open_138'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `swr_is_initialized@LIBSWRESAMPLE_2'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_encoder_reconfig'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_param_apply_fastfirstpass'
//home/usuf/anaconda3/envs/py36/lib/libglib-2.0.so.0: undefined reference to `pcre_config'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `libiconv_close'
//home/usuf/anaconda3/envs/py36/lib/libglib-2.0.so.0: undefined reference to `pcre_compile2'
//home/usuf/anaconda3/envs/py36/lib/libglib-2.0.so.0: undefined reference to `pcre_free'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `swr_convert@LIBSWRESAMPLE_2'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_encoder_delayed_frames'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_param_parse'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_bit_depth'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_levels'
//home/usuf/anaconda3/envs/py36/lib/libglib-2.0.so.0: undefined reference to `pcre_exec'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `libiconv_open'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_picture_init'
//home/usuf/anaconda3/envs/py36/lib/libavcodec.so.57: undefined reference to `x264_encoder_close'
//home/usuf/anaconda3 ...
(more)
edit retag flag offensive close merge delete