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)

相关推荐
深圳英康仕1 天前
ARM工控机openEuler系统Docker安装指南
arm开发·docker·rk3588·工控机
键来大师8 天前
Android16 RK3576 系统清理缓存
android·缓存·framework·rk3588·android15
习惯就好zz9 天前
在 RK3588 上彻底禁用 HDMI 音频输出
音视频·rk3588·安卓·hdmi·禁用音频输出
里纽斯11 天前
RK平台Watchdog硬件看门狗验证
android·linux·rk3588·watchdog·看门狗·rk平台·wtd
键来大师11 天前
Android15 安装APK时监听且替换安装
android·framework·rk3588·android15
源来猿往16 天前
大模型(qwen3-1.7b)转rkllm
ai·rk3588·rkllm
lxmyzzs17 天前
在 RK3588 开发板上部署 DeepSeek-R1-Distill-Qwen-1.5B 模型:RKLLM API 实战指南
人工智能·rk3588·deepseek
Industio_触觉智能17 天前
瑞芯微RK3568平台FFmpeg硬件编解码移植及性能测试实战攻略
ffmpeg·rk3588·rk3568·瑞芯微·rk3562·rk3576
zhongxon19 天前
ORIN+FPGA高速采集AI智能处理板
无人机·rk3588·fpga·orin·orin+fpga·cameralink·coaxpress
lxmyzzs25 天前
作为一名工程师,何不试试瑞芯微?
笔记·rk3588