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)

相关推荐
野指针YZZ5 天前
Gstreamer插入第三方plugins流程:rgaconvert
linux·音视频·rk3588
peixiuhui18 天前
G8701 RK3576 RealTime Linux 测试报告
linux·运维·边缘计算·rk3588·rk3576·rt-linux·实时内核
野指针YZZ20 天前
一键配置RK3588网络与SSH远程连接
网络·ssh·rk3588
深圳英康仕1 个月前
面向高速ETC系统的嵌入式工控设备技术选型探讨
嵌入式硬件·rk3588·工控机·高速etc
用什么都重名1 个月前
【RK芯片学习笔记】RK3588开发板上大语言模型转换教程
rk3588·模型转换·rkllm-toolkit
J ..1 个月前
MeloTTS 生成 RKNN 模型
rk3588·tts·melo
农夫山泉2号1 个月前
【rk】——rk3588推理获得logits
人工智能·rk3588·ppl
~光~~1 个月前
【嵌入式linux学习】04_Pinctrl 和 GPIO子系统
linux·rk3588·嵌入式linux
Industio_触觉智能1 个月前
瑞芯微RK3588核心板规格书,详细参数配置,定位ARM高端AIOT智能模组,板对板连接器320Pin 间距0.5 B to B连接器
arm开发·rk3588·开发板·开源鸿蒙·核心板·瑞芯微·rk3588j
信工 18021 个月前
RK3588系统烧录后扩容
linux·rk3588