【rk3568】编译环境编译

environment-setup-cortexa53-crypto-poky-linux

 然后source environment-setup-cortexa53-crypto-poky-linux 即可进行编译

# Check for LD_LIBRARY_PATH being set, which can break SDK and generally is a bad practice
# http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80
# http://xahlee.info/UnixResource_dir/_/ldpath.html
# Only disable this check if you are absolutely know what you are doing!
if [ ! -z "$LD_LIBRARY_PATH" ]; then
    echo "Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH'"
    echo "but please check why this was set in the first place and that it's safe to unset."
    echo "The SDK will not operate correctly in most cases when LD_LIBRARY_PATH is set."
    echo "For more references see:"
    echo "  http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80"
    echo "  http://xahlee.info/UnixResource_dir/_/ldpath.html"
    return 1
fi
export PATH=$PATH:/work//buildroot/output/rockchip_rk356x_robot/
export LD_LIBRARY_PATH=/work/7/buildroot/output/rockchip_rk356x_robot/host/lib/
export SYSROOT=/work//buildroot/output/rockchip_rk356x_robot/host/aarch64-buildroot-linux-gnu/sysroot/
export CC=/work/buildroot/output/rockchip_rk356x_robot/host/bin/aarch64-buildroot-linux-gnu-gcc
export CXX=/work/buildroot/output/rockchip_rk356x_robot/host/bin/aarch64-buildroot-linux-gnu-g++
export CROSS_COMPILE=/work/buildroot/output/rockchip_rk356x_robot/host/bin/aarch64-buildroot-linux-gnu-
export STRIP=/work/buildroot/output/rockchip_rk356x_robot/host/bin/aarch64-buildroot-linux-gnu-strip
export TARGET_ARCH=aarch64

export PYTHONPATH=/work/buildroot/output/rockchip_rk356x_robot/target/opt/ros/lib/python3.9/site-packages
export AMENT_PREFIX_PATH=/opt/ros/foxy

export CMAKE_PREFIX_PATH="/work/buildroot/output/rockchip_rk356x_robot/target/opt/ros"
export OpenCV_DIR="/work/buildroot/output/rockchip_rk356x_robot/host/aarch64-buildroot-linux-gnu/sysroot/usr/share/OpenCV"

export OECORE_TARGET_ARCH="aarch64"
export OECORE_TARGET_OS="linux"

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值