RK3588 系列之3—rknn使用过程中遇到的bug

RK3588 系列之3---rknn使用过程中遇到的bug

  • [1.librockchip_mpp.so: file format not recognized; treating as linker scrip](#1.librockchip_mpp.so: file format not recognized; treating as linker scrip)
  • [2.Could not find a package configuration file provided by "OpenCV" with any of the following names](#2.Could not find a package configuration file provided by "OpenCV" with any of the following names)
  • 参考文献

1.librockchip_mpp.so: file format not recognized; treating as linker scrip

librockchip_mpp.so存在于https://github.com/rockchip-linux/rknpu2/tree/master/examples/3rdparty/mpp/Linux/aarch64。在使用官方demo进行编译时,发现出了标题中的错误。

解决办法,参考[1],在官方开发板中找到该文件,并将库文件对应替换。

powershell 复制代码
 find / -name "librockchip_mpp.so"
#/usr/lib/librockchip_mpp.so

2.Could not find a package configuration file provided by "OpenCV" with any of the following names

CMakeLists.txt中find_package前加入OpenCV路径:

cpp 复制代码
set(OpenCV_DIR ~/rknn/3rdparty/opencv/opencv-linux-aarch64/share/OpenCV)
find_package(OpenCV REQUIRED)

此路径中存在OpenCVConfig.cmake。

参考文献

1\] [编译luckfox_pico_rtsp_yolov5报错librockchip_mpp.so: file format not recognized; treating as linker scrip](https://blog.csdn.net/eleclong1/article/details/139987241)

相关推荐
沐风_ZTL6 小时前
在RK3588上使用哪个流媒体服务器合适
运维·服务器·rk3588·c/c++·流媒体服务器
沐风_ZTL2 天前
ZLMediaKit流媒体服务器
运维·服务器·音视频·rk3588·c/c++·流媒体服务器
程序员Linc14 天前
RK3588芯片NPU的使用:Windows11 Docker中运行MobileNet模型以及部署到开发板进行目标检测
目标检测·docker·容器·rk3588·rknn-toolkit2·mobilenet
Merokes19 天前
关于Gstreamer+MPP硬件加速推流问题:视频输入video0被占用
c++·音视频·rk3588
plmm烟酒僧22 天前
基于 RK3588 的 YOLO 多线程推理多级硬件加速引擎框架设计(代码框架和实现细节)
yolo·rk3588·多线程·rkmpp·硬件加速·视频解码·librga
大桶矿泉水22 天前
RK3588使用笔记:debian/ubuntu/麒麟系统下基础功能配置(不定期更新)
ubuntu·rk3588·银河麒麟
&向上2 个月前
RK3588配置成为路由器
网络·智能路由器·rk3588
玖石书3 个月前
【apt源】RK3588 平台ubuntu20.04更换apt源
apt·rk3588
Hi202402173 个月前
RK3588-NPU pytorch-image-models 模型编译测试
人工智能·pytorch·python·rk3588·onnx·推理
ArmSoM3 个月前
ArmSoM RK3588/RK3576核心板,开发板网络设置
rk3588·树莓派·开源硬件·rockchip·rk3576