T_jack 发表于 2022-9-22 15:36:28

RKNN_demo编译运行

系统是UBUNTU18.04.15
按照Rockchip_User_Guide_RKNN_API_V1.3.0_CN.pdf文档进行liunx

所有步骤均确认无误,AIO-3399ProC在/tmp文件夹下执行报错信息
firefly@firefly:/tmp$ ./rknn_ssd
bash: ./rknn_ssd: cannot execute binary file: Exec format error
firefly@firefly:/tmp$ dash ./rknn_ssd
./rknn_ssd: 1: ./rknn_ssd: Syntax error: "(" unexpected
firefly@firefly:/tmp$ bash ./rknn_ssd
./rknn_ssd: ./rknn_ssd: cannot execute binary file
firefly@firefly:/tmp$ sudo ./rknn_ssd
./rknn_ssd: 1: ./rknn_ssd: Syntax error: "(" unexpected
firefly@firefly:/tmp$ sudo dash ./rknn_ssd
./rknn_ssd: 1: ./rknn_ssd: Syntax error: "(" unexpected
firefly@firefly:/tmp$


尝试在开发板中下载交叉编译器编译cpp文件,结果无法下载,找不到源,同为aliyun的PC端能下载编译。
以下是下载时的报错信息,已经更新源列表
firefly@firefly:~/tjc/RKNN/RKNN/rknn-api/Linux/rknn_api_sdk$ sudo apt install gcc-aarch64-linux-gnu
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package gcc-aarch64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-aarch64-linux-gnu' has no installation candidate



页: [1]
查看完整版本: RKNN_demo编译运行