boost交叉编译安装(aarch64)

本文详细描述了如何在rk3568开发中,由于默认文件系统不包含Boost库,而在Ubuntu18.04虚拟机上使用交叉编译器aarch64-linux-gnu-gcc,选择filesystem,system,thread三个库进行单独编译和安装的过程。

在做rk3568开发,默认的文件系统中不带boost库,所以需要自己重新交叉编译boost

交叉编译在ubuntu18.04虚拟机中进行,事先需要安装交叉编译器aarch64-linux-gnu-gcc并下载boost_1_73_0.tar.gz

tar -zxvf boost_1_73_0.tar.gz解压源码文件

进入目录

cd boost_1_73_0

查看可选库

./bootstrap.sh --show-libraries

显示结果

root@ubuntu:/home/ireal/third/boost_1_73_0# ./bootstrap.sh --show-libraries

Building Boost.Build engine with toolset gcc... tools/build/src/engine/b2

The following Boost libraries have portions that require a separate build

and installation step. Any library not listed here can be used by including

the headers only.

The Boost libraries requiring separate building and installation are:

    - atomic

    - chrono

    - container

    - context

    - contract

    - coroutine

    - date_time

    - exception<

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值