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

相关推荐
Industio_触觉智能6 天前
新品|瑞芯微RK3588工控机IPC8801适用AI算力、边缘计算、工业视觉
人工智能·rk3588·openharmony·工控机
heater40420 天前
【rk3588】环境搭建及系统编译
rk3588
做程序员的第一天20 天前
RKNPU2从入门到实践 ---- 【8】借助 RKNN Toolkit lite2 在RK3588开发板上部署RKNN模型
linux·人工智能·pycharm·rk3588·rknpu
做程序员的第一天20 天前
rknntoolkitlite2环境搭建
linux·人工智能·pycharm·rk3588·rknpu
做程序员的第一天21 天前
更新RK3588开发板的rknn_server和librknnrt.so【这篇文章是RKNPU2从入门到实践 --- 【5】的配套文章】
linux·人工智能·rk3588
做程序员的第一天22 天前
RKNPU2从入门到实践 --- 【4】RKNN 模型构建【使用pycharm一步一步搭建RKNN模型】
linux·ide·人工智能·python·pycharm·rk3588·rknpu
suifen_1 个月前
RK3588 RTL8125BG调试
linux·rk3588·dts·rtl8125bg
我是陈扣题1 个月前
使用RKNN在Orange Pi 5 (RK3588s) 上部署推理PPO深度学习模型
人工智能·深度学习·rk3588·强化学习·模型部署·ppo·orangep
suifen_1 个月前
rk3588 I2S调试
驱动开发·rk3588