problem compiling, ffmpeg related?
Posted: Tue Sep 24, 2013 12:50 pm
hello everyone.. what i expected to be a simple upgrade as turned to
i recently upgraded to 12.04 Ubuntu (prior to upgrade)
i'm upgrading 1.25 to 1.26.3 from source
i get this during make
zm_ffmpeg_camera.cpp:85: undefined reference to `avformat_close_input'
zm_ffmpeg_camera.o: In function `FfmpegCamera::PrimeCapture()':
zm_ffmpeg_camera.cpp:118: undefined reference to `avformat_open_input'
zm_ffmpeg_camera.cpp:126: undefined reference to `avformat_find_stream_info'
zm_ffmpeg_camera.cpp:157: undefined reference to `avcodec_open2'
zm_mpeg.o: In function `VideoStream::SetupCodec(int, int, int, int, int, double)':
zm_mpeg.cpp:141: undefined reference to `avformat_new_stream'
zm_mpeg.o: In function `VideoStream::SetParameters()':
zm_mpeg.cpp:198: undefined reference to `avformat_write_header'
zm_mpeg.o: In function `VideoStream::OpenStream()':
zm_mpeg.cpp:248: undefined reference to `avcodec_open2'
zm_mpeg.cpp:317: undefined reference to `avformat_write_header'
zm_mpeg.o: In function `VideoStream::SetParameters()':
zm_mpeg.cpp:198: undefined reference to `avformat_write_header'
zm_mpeg.o: In function `encode_frame':
zm_mpeg.cpp:40: undefined reference to `avcodec_encode_video2'
zm_remote_camera_rtsp.o: In function `RemoteCameraRtsp::PrimeCapture()':
zm_remote_camera_rtsp.cpp:189: undefined reference to `avcodec_open2'
zm_sdp.o: In function `SessionDescriptor::generateFormatContext() const':
zm_sdp.cpp:340: undefined reference to `avformat_new_stream'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
[/quote]
This appears to be ffmpeg related, and i've tried a number of different versions as I read older versions work better on ZM? I tried current release and .10 along with the version provided by apt-get
any pointers?
Thanks!
i recently upgraded to 12.04 Ubuntu (prior to upgrade)
i'm upgrading 1.25 to 1.26.3 from source
i get this during make
zm_ffmpeg_camera.cpp:85: undefined reference to `avformat_close_input'
zm_ffmpeg_camera.o: In function `FfmpegCamera::PrimeCapture()':
zm_ffmpeg_camera.cpp:118: undefined reference to `avformat_open_input'
zm_ffmpeg_camera.cpp:126: undefined reference to `avformat_find_stream_info'
zm_ffmpeg_camera.cpp:157: undefined reference to `avcodec_open2'
zm_mpeg.o: In function `VideoStream::SetupCodec(int, int, int, int, int, double)':
zm_mpeg.cpp:141: undefined reference to `avformat_new_stream'
zm_mpeg.o: In function `VideoStream::SetParameters()':
zm_mpeg.cpp:198: undefined reference to `avformat_write_header'
zm_mpeg.o: In function `VideoStream::OpenStream()':
zm_mpeg.cpp:248: undefined reference to `avcodec_open2'
zm_mpeg.cpp:317: undefined reference to `avformat_write_header'
zm_mpeg.o: In function `VideoStream::SetParameters()':
zm_mpeg.cpp:198: undefined reference to `avformat_write_header'
zm_mpeg.o: In function `encode_frame':
zm_mpeg.cpp:40: undefined reference to `avcodec_encode_video2'
zm_remote_camera_rtsp.o: In function `RemoteCameraRtsp::PrimeCapture()':
zm_remote_camera_rtsp.cpp:189: undefined reference to `avcodec_open2'
zm_sdp.o: In function `SessionDescriptor::generateFormatContext() const':
zm_sdp.cpp:340: undefined reference to `avformat_new_stream'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
[/quote]
This appears to be ffmpeg related, and i've tried a number of different versions as I read older versions work better on ZM? I tried current release and .10 along with the version provided by apt-get
any pointers?
Thanks!