您当前的位置: 首页 >  ar

对‘avformat_find_stream_info’未定义的引用、to the PKG_CONFIG_PATH environment variable

柳鲲鹏 发布时间:2020-06-25 06:41:11 ,浏览量:0

  •  错误
AppDec.o:在函数‘FFmpegDemuxer::FFmpegDemuxer(AVFormatContext*)’中:
AppDec.cpp:(.text._ZN13FFmpegDemuxerC2EP15AVFormatContext[_ZN13FFmpegDemuxerC5EP15AVFormatContext]+0x19e):
对‘avformat_find_stream_info’未定义的引用
  • 错误 
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
  •  解决办法

增加一个环境变量:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}

 

关注
打赏
1688896170
查看更多评论

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4641博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0861s