Firefly开源社区

打印 上一主题 下一主题

firefly-rk3288 ubuntu 18.04 搭建开发环境 编译不通过

24

积分

0

威望

0

贡献

技术小白

积分
24

firefly-rk3288 ubuntu 18.04 搭建开发环境 编译不通过

发表于 2021-4-21 22:12:15      浏览:2937 | 回复:1        打印      只看该作者   [复制链接] 楼主

/usr/bin/ld: warning: librga.so, needed by //usr/lib/arm-linux-gnueabihf/libavcodec.so.58, not found (try using -rpath or -rpath-link)
//usr/lib/arm-linux-gnueabihf/libavcodec.so.58: undefined reference to `c_RkRgaBlit'
//usr/lib/arm-linux-gnueabihf/libavcodec.so.58: undefined reference to `c_RkRgaInit'
collect2: error: ld returned 1 exit status
Makefile:591: recipe for target 'spicy-screenshot' failed


root@firefly:/home/firefly/gtk-spice/spice-gtk-0.35# dpkg -l |grep avcodec
pi  libavcodec-dev:armhf                     7:4.1.4-1firefly1                      armhf        FFmpeg library with de/encoders for audio/video codecs - development files
ii  libavcodec57:armhf                       7:3.4.4-0ubuntu0.18.04.1               armhf        FFmpeg library with de/encoders for audio/video codecs - runtime files
pi  libavcodec58:armhf                       7:4.1.4-1firefly1                      armhf        FFmpeg library with de/encoders for audio/video codecs - runtime files

按道理说 都是 firefly提供的 dev包 为什么 头文件中没有 so中的类型呢?  这个应该怎么处理
回复

使用道具 举报

24

积分

0

威望

0

贡献

技术小白

积分
24
发表于 2021-4-26 09:43:04        只看该作者  沙发
已经解决,分享一下:
/usr/bin/ld: warning: librga.so, needed by //usr/lib/arm-linux-gnueabihf/libavcodec.so.58
这个编译错误是 libavcodec.so.58 需要  librga.so,所以安装好 librga.so即可解决。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表