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

相关推荐
qq762118222 天前
Ubuntu20.04 Rk3588 交叉编译ffmpeg7.0
ffmpeg·rk3588
anhuihbo3 天前
FPGA通过MIPI CSI-2发送实时图像到RK3588,并HDMI显示
fpga开发·rk3588·rk3588 sdk
迅为电子16 天前
迅为RK3588开发板Android多屏显示之多屏同显和多屏异显
人工智能·rk3588·多屏显示
通俗_易懂22 天前
44-RK3588s调试 camera-engine-rkaiq(rkaiq_3A_server)
人工智能·计算机视觉·rk3588·驱动·camera·imx415
mucheni1 个月前
探索巅峰性能 |迅为 RK3588开发板深度剖析
rk3588
零意@1 个月前
rk3588调试es8388语音编解码IC小结
linux·rk3588·音频编解码·es8388·声卡
不做签到员2 个月前
RKLLM部署
python·大模型·rk3588·rknn·rkllm
Industio_触觉智能2 个月前
新品|瑞芯微RK3588工控机IPC8801适用AI算力、边缘计算、工业视觉
人工智能·rk3588·openharmony·工控机
heater4043 个月前
【rk3588】环境搭建及系统编译
rk3588