On macOS 14, install the latest boost through homebrew, and with anaconda installed. CPR will incorrectly link boost (1.73) within anaconda during compilation, and report error:
Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
This commit https://github.com/libcpr/cpr/pull/929 Add one line:
#define BOOST_FILESYSTEM_VERSION 4
According to boost changelog 1.77, version 4 was introduced in version boost 1.77.
But cpr looks for boost >= 1.44
https://github.com/libcpr/cpr/blob/6b3e3531d3e5781b4b19e7cf64ed76035bf59d37/include/CMakeLists.txt#L55-L61
On macOS 14, install the latest boost through homebrew, and with anaconda installed. CPR will incorrectly link boost (1.73) within anaconda during compilation, and report error: