loveliu928 发表于 2020-7-3 10:18:34

RK1808怎么搭建ROS交叉编译环境

想在RK1808上面跑ros,但不知道怎么在ubuntu主机上搭建交叉编译环境及cmake交叉编译环境,还请指导一下

penguin 发表于 2020-7-3 12:30:21

https://github.com/rockchip-linux/docs/blob/master/Linux/ApplicationNote/Rockchip_Instruction_Linux_ROS_CN.pdf

loveliu928 发表于 2020-7-6 17:33:19

penguin 发表于 2020-7-3 12:30
https://github.com/rockchip-linux/docs/blob/master/Linux/ApplicationNote/Rockchip_Instruction_Linux_ ...

sdk源码使用buildroot能编译通过,也能编译Ubuntu,但是按照提供的方法添加ros配置,编译就报错。还请您指导一下,错误如下:
>>> host-python-empy 3.3.3 Installing to host directory
(cd /home/cvte/rk1808/rk1808-linuxsdk/buildroot/output/rockchip_rk1808-firefly-aiojd4/build/host-python-empy-3.3.3//; PATH="/home/cvte/rk1808/rk1808-linuxsdk/buildroot/output/rockchip_rk1808-firefly-aiojd4/host/bin:/home/cvte/rk1808/rk1808-linuxsdk/buildroot/output/rockchip_rk1808-firefly-aiojd4/host/sbin:/opt/ros/melodic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PYTHONNOUSERSITE=1/home/cvte/rk1808/rk1808-linuxsdk/buildroot/output/rockchip_rk1808-firefly-aiojd4/host/bin/python setup.py install --prefix=/home/cvte/rk1808/rk1808-linuxsdk/buildroot/output/rockchip_rk1808-firefly-aiojd4/host --root=/ --single-version-externally-managed )
usage: setup.py cmd1 ...]
   or: setup.py --help
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --single-version-externally-managed not recognized
package/pkg-generic.mk:264: recipe for target '/home/cvte/rk1808/rk1808-linuxsdk/buildroot/output/rockchip_rk1808-firefly-aiojd4/build/host-python-empy-3.3.3/.stamp_host_installed' failed
make: *** Error 1
/home/cvte/rk1808/rk1808-linuxsdk/buildroot/output/rockchip_rk1808-firefly-aiojd4/Makefile:16: recipe for target '_all' failed
make: *** Error 2

wuzefan1234 发表于 2020-8-14 11:42:17

loveliu928 发表于 2020-7-6 17:33
sdk源码使用buildroot能编译通过,也能编译Ubuntu,但是按照提供的方法添加ros配置,编译就报错。还请您 ...

我也是同样的问题,不管怎么操作都卡在这里。请问有解决吗?

蓝蓝的恋 发表于 2021-10-25 15:53:11

这个问题怎么解决呢
页: [1]
查看完整版本: RK1808怎么搭建ROS交叉编译环境