I’m using Visual Studio 2022 v17.10.0 and Boost 1.84.0. The Boost.JSON documentation says the following:
To use as header-only; that is, to eliminate the requirement to link a
program to a static or dynamic Boost.JSON library, simply place the
following line in exactly one new or existing source file in your
project.#include <boost/json/src.hpp>
MSVC users must also define the macro BOOST_JSON_NO_LIB to disable auto-linking.
I do the above and get the following linker error:
fatal error LNK1104: cannot open file
‘libboost_container-vc143-mt-x64-1_84.lib’