zoukankan      html  css  js  c++  java
  • boost1.55安装教程

    PC上=============================================
    解压,进入目录,然后执行:
    #这里只编译system,thread,locale,filesystem这四个库,其他的库我们基本用不到
    ./bootstrap.sh --with-libraries=system,thread,locale,filesystem,date_time --with-toolset=gcc
    ./b2 toolset=gcc

    稍等一会,编译成功.安装吧。
    #这里如果运行./b2 install 命令,库默认安装在/usr/local/lib目录下,头文件在/usr/local/include/boost目录下.
    ./b2 install --prefix=/usr
    安装完毕!


    arm-linux上(Nuvoton linux)==================================
    ./bootstrap.sh --with-libraries=system,thread,filesystem
    在文件./tools/build/v2/user-config.jam 增加以下内容:
    using gcc : arm : arm-linux-g++ ;
    ./b2
    ./b2 install --prefix=/home/myron/boost/armlinuxlib
    安装完毕!


    arm-linux-gnueabihf上=======================================
    ./bootstrap.sh --with-libraries=system,thread,filesystem
    在文件./tools/build/v2/user-config.jam 增加以下内容:
    using gcc : arm : arm-linux-gnueabihf-g++ ;
    ./b2
    ./b2 install --prefix=/home/myron/boost/arma8linuxlib
    安装完毕!

    PC安装时输出========================================
    ............
    common.copy /usr/include/boost/tr1/tr1/map
    common.copy /usr/include/boost/tr1/tr1/sstream
    common.copy /usr/include/boost/tr1/tr1/algorithm
    common.copy /usr/include/boost/tr1/tr1/valarray
    common.copy /usr/include/boost/tr1/tr1/strstream
    common.copy /usr/include/boost/tr1/tr1/unordered_set
    common.copy /usr/lib/libboost_system.a
    common.copy /usr/lib/libboost_filesystem.a
    common.copy /usr/lib/libboost_date_time.a
    common.copy /usr/lib/libboost_thread.a
    common.copy /usr/lib/libboost_chrono.a
    common.copy /usr/lib/libboost_log.a
    common.copy /usr/lib/libboost_log_setup.a
    ...updated 10790 targets...

    我们编译的库信息:
    Component configuration:
    - atomic : not building
    - chrono : not building
    - context : not building
    - coroutine : not building
    - date_time : not building
    - exception : not building
    - filesystem : building
    - graph : not building
    - graph_parallel : not building
    - iostreams : not building
    - locale : not building
    - log : building
    - math : not building
    - mpi : not building
    - program_options : not building
    - python : not building
    - random : not building
    - regex : not building
    - serialization : not building
    - signals : not building
    - system : building
    - test : not building
    - thread : building
    - timer : not building
    - wave : not building

  • 相关阅读:
    记录一个用关于mybatis对象为null的坑
    微信小程序开发初体验--教你开发小程序
    聚合数据全国天气预报api接口
    免费的无次数限制的各类API接口(2)
    外卖订单爬虫(美团,饿了么,百度外卖)
    如何快速开发出一个高质量的APP——创业谈
    调用手机话费充值API的SDK编写思路
    基于Retrotfit2.1+Material Design+ijkplayer开发的一个APP(新闻,gif 动图,视频播放)
    技巧:利用 Workflow 显示附近的免费 Wi-Fi
    MyDiary,《你的名字。》同款日记应用
  • 原文地址:https://www.cnblogs.com/adjk/p/7727013.html
Copyright © 2011-2022 走看看