This appears to be https://github.com/boostorg/iostreams/issues/102, and
https://github.com/boostorg/iostreams/pull/103 is a suggested fix.
-- Marshall
On Mon, Nov 18, 2019 at 11:56 AM Marshall Clow
On my Mac, I the version of LZMA that I have installed (via homebrew) does not have the multi-tasking calls (_lzma_cputhreads and _lzma_stream_encoder_mt). It identifies itself:
$ cat junk.cpp #include <iostream> #include "lzma.h"
int main() { std::cout << LZMA_VERSION << std::endl; }
$ clang++ junk.cpp && ./a.out 50020042 $
Changing libs/iostreams/src/lzma.cpp thus solves enables things to build:
#ifndef BOOST_IOSTREAMS_LZMA_NO_MULTITHREADED - #if LZMA_VERSION < 50020002 + #if LZMA_VERSION <= 50020042 #define BOOST_IOSTREAMS_LZMA_NO_MULTITHREADED #endif #endif
-- Marshall