18316199165 发表于 2020-8-31 11:03:47

程序在linux上交叉编译后移植到开发板运行不了

[ 本帖最后由 18316199165 于 2020-8-31 12:08 编辑 ]\n\n在qt上写好的程序通过arm-linux-gcc 5.4交叉编译后产生得可执行文件,移植到PX30开发板上运行不了
报错-/bin/sh: ./xxx: not found

# ./ControlInterface -/bin/sh: ./ControlInterface: not found
# source ControlInterface-/bin/sh: /bin/ControlInterface: line 1: syntax error: unexpected word (expecting ")")

18316199165 发表于 2020-8-31 12:06:11

时间的蝴蝶 发表于 2020-9-2 09:27:50

没有执行权限吧, chmod 755 ControlInterface
页: [1]
查看完整版本: 程序在linux上交叉编译后移植到开发板运行不了