Required External Libraries

Your program will need to link to external libraries depending on what your build environment looks like. Below is a table of libraries that may be required along with descriptions of what triggers that requirement.

Header only Libraries

Library Required for
Boost Bind Build environments without C++11 <bind>
Boost Smart Pointers Build environments without C++11 <memory>
Boost Thread Build environments without C++11 <mutex> and <thread>
Boost Stdint Build environments without <stdint.h>
Boost Asio (1.47 or later) Asio based transport (Alternative to standalone Asio)
Standalone Asio (1.8 or later) Asio based transport (alternative to Boost Asio)

Linked Libraries

Library Required for Platform
boost_system Builds that use Boost Asio or build environments without std::error_code All
boost_random Client role only, build environments without std::random All
libcrypto Required for TLS socket component Posix, ?
libssl Required for TLS socket component Posix, ?
libz Required for compression extension support Posix, ?
libpthread Required on posix for thread support Posix, ?
librt Required on posix for high resolution timer support (some examples) Posix, ?

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.