18 Nov
2019
18 Nov
'19
7:56 p.m.
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