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)

相关推荐
禅口魔心6 天前
边缘网关开发计划(一):在 Rock 5T 上部署 Docker
物联网·docker·rk3588·边缘网关
Coovally AI模型快速验证18 天前
RK3588上111 FPS:轻量YOLOv8+异步视频处理系统实现无人机自主电力巡检
yolo·无人机·rk3588·yolov8·塔杆定位
Industio_触觉智能22 天前
玩转RK3588远程控制,Ubuntu22.04 Wayland安装RustDesk工具
linux·ubuntu·rk3588·远程工具·rustdesk·wayland·ubuntu22.04
炭烤毛蛋24 天前
rk3588 适配音频解码芯片 es8388
arm开发·音视频·rk3588·es8388
Industio_触觉智能1 个月前
瑞芯微RK3588 RKNN模型推理环境部署与功能测试技巧(下)
嵌入式硬件·ai·rk3588·rknn·瑞芯微·rknn-toolkit2·rk3588j
优美的赫蒂1 个月前
香橙派5plus单独编译内核安装时的报错记录
linux·rk3588·orangepi
野指针YZZ2 个月前
GStreamer RKNN 插件自制
linux·音视频·rk3588·gstreamer
野指针YZZ2 个月前
Gstreamer插入第三方plugins流程:rgaconvert
linux·音视频·rk3588
peixiuhui3 个月前
G8701 RK3576 RealTime Linux 测试报告
linux·运维·边缘计算·rk3588·rk3576·rt-linux·实时内核
野指针YZZ3 个月前
一键配置RK3588网络与SSH远程连接
网络·ssh·rk3588