Search code examples
c++network-programmingcpp-netlib

Binaries for cpp-netlib


I would like to know if it is possible to get the binaries for the static library for windows (x86 and x64) now present in cpp-netlib for the version 0.9.1?

Frankly it is a pain to compile this on windows for me.

Thanks


Solution

  • It seems that cpp-netlib is a header-only library, although it relies on some boost compiled libraries, such as Boost.System, Boost.Date_time, and Boost.Regex. You can easily find boost pre-compiled libraries all over the Internet. You will also need the boost headers to be in your build path as well. Even though cpp-netlib says that Boost 1.41.0 will do, in actuality, version 0.9.1 requires Boost version 1.46.0 or later (just grab the latest which is 1.47.0).

    You could also try defining BOOST_NETWORK_NO_LIB which should help out.