mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
Page:
install_boost
Pages
Home
Q&A
Test page 2 bla bla
install_boost
test
v1_0_cpp_adaptor
v1_0_cpp_configure
v1_0_cpp_object
v1_0_cpp_overview
v1_0_cpp_packer
v1_0_cpp_unpacker
v1_0_cpp_versioning
v1_1_c_overview
v1_1_cpp_adaptor
v1_1_cpp_configure
v1_1_cpp_object
v1_1_cpp_overview
v1_1_cpp_packer
v1_1_cpp_unpacker
v1_1_cpp_versioning
v1_2_zone
v2_0_c_overview
v2_0_cpp_adaptor
v2_0_cpp_configure
v2_0_cpp_object
v2_0_cpp_overview
v2_0_cpp_packer
v2_0_cpp_tutorial
v2_0_cpp_unpack_visit
v2_0_cpp_unpacker
v2_0_cpp_variant
v2_0_cpp_versioning
v2_0_cpp_visitor
v_2_0_cpp_json
v_2_0_cpp_x3_parse
Clone
4
install_boost
Takatoshi Kondo edited this page 2021-09-23 15:06:01 +09:00
Install boost
msgpack-c (C++) requires boost libraries.
Minimal install
If you just want to use msgpack-c, you need only header-only boost libraries.
| component | link |
|---|---|
| assert | https://github.com/boostorg/assert |
| numeric_conversion | https://github.com/boostorg/numeric_conversion |
| variant | https://github.com/boostorg/variant |
| utility (string_ref, string_view) | https://github.com/boostorg/utility |
| fusion | https://github.com/boostorg/fusion |
| optional | https://github.com/boostorg/optional |
| predef | https://github.com/boostorg/predef |
| preprosessor | https://github.com/boostorg/preprocessor |
MSGPACK_USE_X3_PARSE is defined
| component | link |
|---|---|
| spirit(x3) | https://github.com/boostorg/spirit |
Download and add include path (No install required just place files)
- Download boost libraries https://www.boost.org/users/download/
- Add
BOOST_PATHto your include path.BOOST_PATHis for exampleboost_1_77_0. It hasboostsub-directory. Inboostdirectory, all headers exist.
Using package manager
vcpkg
vcpkg install boost-assert boost-numeric-conversion boost-variant boost-utility boost-fusion boost-optional boost-predef boost-preprocessor
For test:
vcpkg install boost-test
For examples:
vcpkg install boost-timer
yum
sudo yum install boost-devel
apt
sudo apt install libboost-all-dev
pkg
sudo pkg install boost-libs
pacman
pacman -S boost
Full install
It is required only you want to build and run tests and examples.
Download and install from source code
- On Windows See https://www.boost.org/more/getting_started/windows.html
- On Unix vavriants (Linux, BSD, mac, ...etc) See https://www.boost.org/more/getting_started/unix-variants.html
Using package manager
vcpkg
vcpkg install boost
yum
sudo yum install boost-devel
apt
sudo apt install libboost-all-dev
pkg
sudo pkg install boost-libs
pacman
pacman -S boost
- Home
- Q&A
- v2.0.x or later
- v1.1.x - v1.4.x
- v1.0.x