This topic describes how to install EventBridge SDK for C++.
Install dependent libraries
Before you install the SDK for C++, you must install the required dependent libraries, including Boost and OpenSSL libraries, and the C++ REST SDK. You can use one of the following methods based on your operating system to install the dependent libraries:
- If your operating system is macOS, we recommend that you use Homebrew to install the
dependent libraries.
brew install boost cpprestsdk openssl
- If your operating system is Linux, we recommend that you use YUM or apt-get to install
the dependent libraries.
yum install boost-devel openssl-devel
Note You cannot install the C++ REST SDK by using YUM.sudo add-apt-repository ppa:mhier/libboost-latest -y && sudo apt-get update && sudo apt-get install libboost-all-dev && sudo apt-get install libcpprest-dev libcurl4-openssl-dev libssl-dev
- If your operating system is Windows, we recommend that you use vcpkg to install the
dependent libraries.
vcpkg install boost openssl-windows cpprestsdk