Thread: Error Installing OpenCV with make install
help me,
installed opencv guided link http://opencv.willowgarage.com/wiki/installguide , link http://opencv.willowgarage.com/wiki/...20%3a%20debian
got errors @ step...please me out. thanks.
code:phuocpv@ubuntu:~/opencv/release$ sudo make install [sudo] password phuocpv: [ 0%] built target opencv_imgproc_pch_dephelp [ 1%] built target pch_generate_opencv_imgproc [ 2%] built target opencv_core_pch_dephelp [ 2%] built target pch_generate_opencv_core [ 5%] built target opencv_core [ 13%] built target opencv_imgproc [ 14%] built target opencv_calib3d_pch_dephelp [ 14%] built target pch_generate_opencv_calib3d [ 15%] built target opencv_features2d_pch_dephelp [ 15%] built target pch_generate_opencv_features2d [ 16%] built target opencv_flann_pch_dephelp [ 17%] built target pch_generate_opencv_flann [ 17%] built target opencv_flann [ 17%] built target opencv_highgui_pch_dephelp [ 17%] built target pch_generate_opencv_highgui [ 17%] building cxx object modules/highgui/cmakefiles/opencv_highgui.dir/src/cap_ffmpeg.o in file included /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg.cpp:45:0: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: in member function ‘void cvcapture_ffmpeg::close()’: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:451:9: warning: ‘void av_close_input_file(avformatcontext*)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1436) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:451:31: warning: ‘void av_close_input_file(avformatcontext*)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1436) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: in member function ‘bool cvcapture_ffmpeg::reopen()’: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:483:5: warning: ‘void av_close_input_file(avformatcontext*)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1436) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:483:27: warning: ‘void av_close_input_file(avformatcontext*)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1436) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:486:52: error: ‘av_open_input_file’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:487:5: warning: ‘int av_find_stream_info(avformatcontext*)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1266) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:487:27: warning: ‘int av_find_stream_info(avformatcontext*)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1266) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:494:50: error: ‘avcodec_thread_init’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:497:5: warning: ‘int avcodec_open(avcodeccontext*, avcodec*)’ deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:3719) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:497:28: warning: ‘int avcodec_open(avcodeccontext*, avcodec*)’ deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:3719) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: in member function ‘bool cvcapture_ffmpeg::open(const char*)’: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:524:63: error: ‘av_open_input_file’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:529:11: warning: ‘int av_find_stream_info(avformatcontext*)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1266) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:529:33: warning: ‘int av_find_stream_info(avformatcontext*)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1266) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:541:54: error: ‘avcodec_thread_init’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:550:13: warning: ‘int avcodec_open(avcodeccontext*, avcodec*)’ deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:3719) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:550:36: warning: ‘int avcodec_open(avcodeccontext*, avcodec*)’ deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:3719) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: in function ‘avstream* icv_add_video_stream_ffmpeg(avformatcontext*, codecid, int, int, int, double, int)’: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:999:7: warning: ‘avstream* av_new_stream(avformatcontext*, int)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1460) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:999:26: warning: ‘avstream* av_new_stream(avformatcontext*, int)’ deprecated (declared @ /usr/local/include/libavformat/avformat.h:1460) [-wdeprecated-declarations] in file included /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg.cpp:45:0: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: in function ‘int icv_av_write_frame_ffmpeg(avformatcontext*, avstream*, uint8_t*, uint32_t, avframe*)’: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1121:20: warning: ‘int avcodec_encode_video(avcodeccontext*, uint8_t*, int, const avframe*)’ deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:4039) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1121:72: warning: ‘int avcodec_encode_video(avcodeccontext*, uint8_t*, int, const avframe*)’ deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:4039) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: in member function ‘void cvvideowriter_ffmpeg::close()’: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1298:20: error: ‘url_fclose’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: in member function ‘bool cvvideowriter_ffmpeg::open(const char*, int, double, int, int, bool)’: /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1411:35: error: ‘av_set_parameters’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1415:35: error: ‘dump_format’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1442:15: warning: ‘int avcodec_open(avcodeccontext*, avcodec*)’ deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:3719) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1442:36: warning: ‘int avcodec_open(avcodeccontext*, avcodec*)’ deprecated (declared @ /usr/local/include/libavcodec/avcodec.h:3719) [-wdeprecated-declarations] /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1479:42: error: ‘url_wronly’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1479:52: error: ‘url_fopen’ not declared in scope /home/phuocpv/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1485:25: error: ‘av_write_header’ not declared in scope make[2]: *** [modules/highgui/cmakefiles/opencv_highgui.dir/src/cap_ffmpeg.o] error 1 make[1]: *** [modules/highgui/cmakefiles/opencv_highgui.dir/all] error 2 make: *** [all] error 2
i got same problem, gonna try this: http://code.opencv.org/issues/1605
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Error Installing OpenCV with make install
Ubuntu
Comments
Post a Comment