标题: rk3588板子编译opencv调用opencl mali [打印本页] 作者: wzh 时间: 2023-6-2 14:58 标题: rk3588板子编译opencv调用opencl mali 本帖最后由 wzh 于 2023-6-2 14:58 编辑
rk3588板子上/usr/lib/aarch64-linux-gnu/没有libpOpenCL.so文件,通过命令sudo apt-get install ocl-icd-opencl-dev opencl-headers安装了opencl-3.0,编译opencv4.1.5时候opencl库指向/usr/lib/aarch64-linux-gnu/libmali.so,opencl头文件指向/usr/include/,编译出现警告,请问如何解决。错误如下:
/usr/bin/ld: /usr/lib/aarch64-linux-gnu//libmali.so.1: .dynsym local symbol at index 3 (>= sh_info of 3)
/usr/bin/ld: /usr/lib/aarch64-linux-gnu//libmali.so.1: .dynsym local symbol at index 4 (>= sh_info of 3)
/usr/bin/ld: /usr/lib/aarch64-linux-gnu//libmali.so.1: .dynsym local symbol at index 5 (>= sh_info of 3)
/usr/bin/ld: /usr/lib/aarch64-linux-gnu//libmali.so.1: .dynsym local symbol at index 6 (>= sh_info of 3)
/usr/bin/ld: /usr/lib/aarch64-linux-gnu//libmali.so.1: .dynsym local symbol at index 7 (>= sh_info of 3)
/usr/bin/ld: /usr/lib/aarch64-linux-gnu//libmali.so.1: .dynsym local symbol at index 8 (>= sh_info of 3)
/usr/bin/ld: /usr/lib/aarch64-linux-gnu//libmali.so.1: .dynsym local symbol at index 9 (>= sh_info of 3)