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

Error:(32) undefined reference to `av_register_all' #7

Open
YougaKing opened this issue Apr 15, 2017 · 1 comment
Open

Error:(32) undefined reference to `av_register_all' #7

YougaKing opened this issue Apr 15, 2017 · 1 comment

Comments

@YougaKing
Copy link

#include <libavcodec/avcodec.h> 存在这个方法
为什么还是报错
Error:(32) undefined reference to `av_register_all'?

@Zander2014
Copy link

你的CMakeList里面打包配置avcodec-57 了么
target_link_libraries(native-lib avutil-55 swresample-2 avcodec-57 avfilter-6 swscale-4 avdevice-57 avformat-57 ${log-lib} )

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

2 participants