⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.boost

📁 用c++编写http server的源码库,对socket等网络处理的代码可迅速转为己用.
💻 BOOST
字号:
Installing Boost with ASIO==========================Starting with 0.2.0, libpion requires Boost 1.34.0 with ASIO 0.3.8.  Sincethese are both fairly recent releases, none of our supported platformscurrently have pre-built versions available of these libraries.  Therefore,you will likely need to download, compile and install the source tarballs.Note that although the ASIO library is not currently included in the Boostdistribution, it has been accepted into the library and will be includedin a future release (most likely 1.35.0).  You can use it with the currentBoost release by just copying ASIO's files into the Boost source tree.First, download the latest tarballs from SourceForge.net:wget http://downloads.sourceforge.net/boost/boost_1_34_0.tar.bz2wget http://downloads.sourceforge.net/asio/boost_asio_0_3_8rc3.tar.bz2Next, uncompress the tarballs and copy the ASIO files into the Boostdirectory:bzip2 -dc boost_1_34_0.tar.bz2 | tar xvf -bzip2 -dc boost_asio_0_3_8rc3.tar.bz2 | tar xvf -tar cvf - -C boost_asio_0_3_8rc3 boost libs | tar xf - -C boost_1_34_0Finally, configure, build and install the Boost libraries (now with ASIO):cd boost_1_34_0./configure --prefix=/usr/local   (set prefix to your install directory)make all installNote: Some platforms require additional steps for building Boost 1.34.0. Please see the appropriate README.platform file for more information.If you are using a non-standard build environment, you may instead want touse the bjam utility to configure more options for your build.  See the BoostGetting Started guide for more information on using bjam:http://www.boost.org/more/getting_started/That's it!  You're now ready to build libpion by configuring it with yourBoost installation directory (/usr/local above).  Just use the same pathyou used for "--prefix" above for libpion's "--with-boost" option(i.e. "./configure --with-boost=/usr/local")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -