-
Notifications
You must be signed in to change notification settings - Fork 883
install_boost
Takatoshi Kondo edited this page Sep 23, 2021
·
4 revisions
msgpack-c (C++) requires boost libraries.
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 boost libraries https://www.boost.org/users/download/
- Add
BOOST_PATH
to your include path.BOOST_PATH
is for exampleboost_1_77_0
. It hasboost
sub-directory. Inboost
directory, all headers exist.
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
sudo yum install boost-devel
sudo apt install libboost-all-dev
sudo pkg install boost-libs
pacman -S boost
It is required only you want to build and run tests and examples.
- 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
vcpkg install boost
sudo yum install boost-devel
sudo apt install libboost-all-dev
sudo pkg install boost-libs
pacman -S boost
-
Home
- Q&A
- v2.0.x or later
- v1.1.x - v1.4.x
- v1.0.x