Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on Ubuntu, problems with linking avcodec #2

Open
bryanlyon opened this issue Jun 24, 2019 · 0 comments
Open

Compiling on Ubuntu, problems with linking avcodec #2

bryanlyon opened this issue Jun 24, 2019 · 0 comments

Comments

@bryanlyon
Copy link

I'm compiling on Ubuntu using ffmpeg 3.4.6 I get

/usr/bin/ld: ../video_framework/libvideo_framework.a(video_reader_unit.cpp.o): undefined reference to symbol 'avcodec_open2@@LIBAVCODEC_57'
//usr/lib/x86_64-linux-gnu/libavcodec.so.57: error adding symbols: DSO missing from command line

This is a linking problem, but I haven't been able to solve it myself. Any help would be appreciated. I do have libavcodec-dev installed.

Additionally, I've tried ffmpeg 4.0. Unfortunately it also errors out with the following.

video_segment/video_framework/video_writer_unit.cpp:174:30: error: ‘CODEC_FLAG_LOOP_FILTER’ was not declared in this scope
codec_context_->flags |= CODEC_FLAG_LOOP_FILTER | CODEC_FLAG_GLOBAL_HEADER;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant