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)

相关推荐
沉在嵌入式的鱼3 天前
使用nomachine远程连接ARM设备桌面
arm开发·rk3588·远程连接·nomachine
雨之小13 天前
RK3588调试之旅:adbd服务配置全攻略
adb·rk3588
小猿成长1 个月前
RK3588 RTL8211F PHY的LED灯调试
rk3588·rtl8211
ergevv1 个月前
在 RK3588 上通过 VSCode 远程开发配置指南
vscode·debian·ssh·rk3588·远程开发
凌佚1 个月前
训练自己的yolo模型,并部署到rk3588上
yolo·rk3588
Hi202402171 个月前
RK3588 ArmNN CPU/GPU ResNet50 FP32/FP16/INT8 推理测试
嵌入式·rk3588·vulkan·ai推理·armnn
YueiL2 个月前
基于RK3588的智慧农场系统开发|RS485总线|华为云IOT|node-red|MQTT
c++·物联网·华为云·rk3588·rs485
achene_ql2 个月前
深入探索 RKNN 模型转换之旅
python·目标检测·rk3588·模型部署·rk3566
沐风_ZTL3 个月前
在RK3588上使用哪个流媒体服务器合适
运维·服务器·rk3588·c/c++·流媒体服务器
沐风_ZTL3 个月前
ZLMediaKit流媒体服务器
运维·服务器·音视频·rk3588·c/c++·流媒体服务器