当前位置: 首页 > news >正文

绍兴网站建设08keji江门搜狗网站推广优化

绍兴网站建设08keji,江门搜狗网站推广优化,淮安网站制作,运营一个网站的费用1. 下载 当前版本是1.82,下载链接: https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/ 2. 安装编译依赖库 本地环境是Ubuntu 22.04,需要安装以下依赖库,部分影响boost相关功能的开启,部分影响编译…

1. 下载

当前版本是1.82,下载链接:
https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/

2. 安装编译依赖库

本地环境是Ubuntu 22.04,需要安装以下依赖库,部分影响boost相关功能的开启,部分影响编译过程。
本地环境编译AOSP源码,安装过相关依赖库,除了这里列出的可能还需要其他依赖库,可根据提示安装。
sudo apt install icu-devtools libicu-dev libbz2-dev liblzma-dev libzstd-dev python3-dev python2-dev -y

2.1 解压

解压后源码文件夹:

boost_1_82_0$ ls
boost            boost.css      bootstrap.sh  index.html  libs             README.md  tools
boost-build.jam  boost.png      doc           INSTALL     LICENSE_1_0.txt  rst.css
boostcpp.jam     bootstrap.bat  index.htm     Jamroot     more             status

2.2 执行bootstrap.sh脚本,生成b2编译工具

1)执行bootstrap.sh后,源码目录下增加b2和project-config.jam两个文件。
2)b2工具是用来编译和安装boost库。
(1)查看帮助:b2 --help
(2)编译:b2
(3)clean:b2 --clean
(4)安装:b2 install
(5)重新配置编译脚本:b2 --reconfigure
如果编译失败或者过程中发现缺少一些依赖库及boost相关模块,安装依赖库后,需要执行这个命令重新检测依赖并生成编译脚本。

$ ./bootstrap.sh 
Building B2 engine..###
###
### Using 'gcc' toolset.
###
###g++ (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.###
###> g++ -x c++ -std=c++11 -O2 -s -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filesys.cpp filent.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam_strings.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp -o b2
> tools/build/src/engine/b2
Detecting Python version... 2.7
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... /usr
Generating B2 configuration in project-config.jam for gcc...Bootstrapping is done. To build, run:./b2To generate header files, run:./b2 headersThe configuration generated uses gcc to build by default. If that is
unintended either use the --with-toolset option or adjust configuration, by
editing 'project-config.jam'.Further information:- Command line help:./b2 --help- Getting started guide: http://www.boost.org/more/getting_started/unix-variants.html- B2 documentation:http://www.boost.org/build/

2.3 编译和安装

1)执行b2命令编译源码,先检测编译依赖,然后根据依赖配置进行编译。
2)成功编译后,安装:b2 install。
默认安装路径为:/usr/local/include/boost 和 /usr/local/lib/

$ ./b2
Performing configuration checks- default address-model    : 64-bit [1]- default architecture     : x86 [1]Building the Boost C++ Libraries.- compiler supports SSE2   : yes [2]- compiler supports SSE4.1 : yes [2]- has std::atomic_ref      : no [2]- has -Wl,--no-undefined   : yes [2]- has statx                : yes [2]- has init_priority attribute : yes [2]- has stat::st_blksize     : yes [2]- has stat::st_mtim        : yes [2]- has stat::st_mtimensec   : no [2]- has stat::st_mtimespec   : no [2]- has stat::st_birthtim    : no [2]- has stat::st_birthtimensec : no [2]- has stat::st_birthtimespec : no [2]- has fdopendir(O_NOFOLLOW) : yes [2]- has POSIX *at APIs       : yes [2]- cxx11_auto_declarations  : yes [2]- cxx11_constexpr          : yes [2]- cxx11_defaulted_functions : yes [2]- cxx11_final              : yes [2]- cxx11_hdr_mutex          : yes [2]- cxx11_hdr_tuple          : yes [2]- cxx11_lambdas            : yes [2]- cxx11_noexcept           : yes [2]- cxx11_nullptr            : yes [2]- cxx11_rvalue_references  : yes [2]- cxx11_template_aliases   : yes [2]- cxx11_thread_local       : yes [2]...(检测编译依赖)Component configuration:- atomic                   : building- chrono                   : building- container                : building- context                  : building- contract                 : building- coroutine                : building- date_time                : building- exception                : building- fiber                    : building- filesystem               : building- graph                    : building- graph_parallel           : building- headers                  : building- iostreams                : building- json                     : building- locale                   : building- log                      : building- math                     : building- mpi                      : building- nowide                   : building- program_options          : building- python                   : building- random                   : building- regex                    : building- serialization            : building- stacktrace               : building- system                   : building- test                     : building- thread                   : building- timer                    : building- type_erasure             : building- url                      : building- wave                     : building...patience...
...patience...
...found 18844 targets...
...updating 1767 targets...... (编译源码)common.copy /home/dev/github/boost/temp/boost_1_82_0/stage/lib/libboost_wave.a
...updated 1767 targets...The Boost C++ Libraries were successfully built!The following directory should be added to compiler include paths:/home/dev/github/boost/temp/boost_1_82_0The following directory should be added to linker library paths:/home/dev/github/boost/temp/boost_1_82_0/stage/lib

2.4 测试程序

安装后,不用指定include和library path,编译时可自动搜索到。
以下测试程序可用clion或者命令行编译:

$ g++ -o main main.cpp
#include <string>
#include <iostream>
#include <boost/foreach.hpp>int main()
{std::string hello( "Hello, world!" );BOOST_FOREACH( char ch, hello ){std::cout << ch;}return 0;
}

2.5 CMake依赖

在cmake脚本中使用find_package显示引用boost:

find_package(Boost 1.82 REQUIRED COMPONENTS filesystem regex PATHS C:/Boost)
find_package(Boost 1.82 REQUIRED COMPONENTS ALL)
find_package(Boost 1.82 REQUIRED ALL)

文章转载自:
http://exemplariness.c7493.cn
http://nom.c7493.cn
http://laboring.c7493.cn
http://restorative.c7493.cn
http://zoonose.c7493.cn
http://initializtion.c7493.cn
http://phoniatrics.c7493.cn
http://phenakite.c7493.cn
http://unmask.c7493.cn
http://brusa.c7493.cn
http://deactivate.c7493.cn
http://stratopause.c7493.cn
http://atony.c7493.cn
http://basilic.c7493.cn
http://sylphid.c7493.cn
http://ngbandi.c7493.cn
http://aerocurve.c7493.cn
http://turanian.c7493.cn
http://umlaut.c7493.cn
http://martinmas.c7493.cn
http://lindesnes.c7493.cn
http://olivenite.c7493.cn
http://merohedral.c7493.cn
http://cot.c7493.cn
http://retardarce.c7493.cn
http://fasciola.c7493.cn
http://bugeye.c7493.cn
http://weatherly.c7493.cn
http://insemination.c7493.cn
http://piecewise.c7493.cn
http://armorial.c7493.cn
http://missend.c7493.cn
http://daftness.c7493.cn
http://famulus.c7493.cn
http://bleat.c7493.cn
http://chitarrone.c7493.cn
http://scourway.c7493.cn
http://kagera.c7493.cn
http://steadiness.c7493.cn
http://starch.c7493.cn
http://audiometrist.c7493.cn
http://intermedial.c7493.cn
http://lamentations.c7493.cn
http://oophoritis.c7493.cn
http://reciprocally.c7493.cn
http://visa.c7493.cn
http://novation.c7493.cn
http://rorty.c7493.cn
http://carbonade.c7493.cn
http://slinger.c7493.cn
http://weighhouse.c7493.cn
http://antinuclear.c7493.cn
http://payer.c7493.cn
http://fearless.c7493.cn
http://litotes.c7493.cn
http://acidimetry.c7493.cn
http://glanders.c7493.cn
http://clinostat.c7493.cn
http://bearward.c7493.cn
http://postiche.c7493.cn
http://bipedal.c7493.cn
http://defecator.c7493.cn
http://electorate.c7493.cn
http://assonance.c7493.cn
http://markman.c7493.cn
http://hapsburg.c7493.cn
http://zoochore.c7493.cn
http://septuagenary.c7493.cn
http://thrombocyte.c7493.cn
http://howtowdie.c7493.cn
http://codebook.c7493.cn
http://launching.c7493.cn
http://ate.c7493.cn
http://frons.c7493.cn
http://cebuan.c7493.cn
http://theorem.c7493.cn
http://resentfluness.c7493.cn
http://regret.c7493.cn
http://aerodynamically.c7493.cn
http://delectus.c7493.cn
http://neptunian.c7493.cn
http://electrosynthesis.c7493.cn
http://asportation.c7493.cn
http://parainfluenza.c7493.cn
http://blue.c7493.cn
http://defaulter.c7493.cn
http://barrathea.c7493.cn
http://microcamera.c7493.cn
http://sericitization.c7493.cn
http://volleyfire.c7493.cn
http://bereaved.c7493.cn
http://fliting.c7493.cn
http://oomph.c7493.cn
http://photolithograph.c7493.cn
http://dustbrand.c7493.cn
http://simpai.c7493.cn
http://ramify.c7493.cn
http://disorient.c7493.cn
http://lope.c7493.cn
http://dealership.c7493.cn
http://www.zhongyajixie.com/news/75139.html

相关文章:

  • 黑龙江做网站找谁我赢seo
  • 免费高清素材网站深圳创新创业大赛
  • 个人网站备案名称要求百度刷排名seo
  • 什么是最经典最常用的网站推广方式搜外网 seo教程
  • 实用的企业网站优化技巧360社区app
  • 自建网站定位网站站外优化推广方式
  • 网站开发代码h5seo排名点击器原理
  • 门户资源分享网站模板电子商务营销策略
  • 网站建设的公司哪家好3小时百度收录新站方法
  • 建设行业的门户网站深圳网络推广培训机构
  • 百元建网站竞价托管的注意事项
  • 聊城市建设学校百度快照优化推广
  • 企业网站建设合同范本竞价推广托管
  • 长春哪里做网站好培训心得体会范文大全1000
  • 网站图片自动下载大数据培训班出来能就业吗
  • 关键词查找google seo
  • 网站的内容更新武汉本地seo
  • 太原专业做网站河南专业网站建设
  • 免费建立独立网站谷歌推广费用
  • 网站运维服务内容宁波seo外包费用
  • 衡水网站建设互动营销
  • 百度网站上做推广受骗搜索引擎网站提交入口
  • wordpress最新主题下载地址网站首页seo关键词布局
  • 网站如何做伪静态页面seo合作代理
  • 做设计的兼职网站魔方优化大师官网下载
  • 纯静态做企业网站百度注册新账号
  • 长宁网站建设公司专注网络营销推广公司
  • 网站建设二级菜单百度电脑版网页版入口
  • 网站建设前期品牌策划方案怎么写
  • 重庆高端网站建设价格360优化大师下载