I can compile this release in my macOS catalina, 10.15.1. I don't have lama installed in my OS, so I didn't have the issue below.only some warnings out.
Thanks
Liang----- 原始邮件 -----
发件人:Marshall Clow via Boost
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
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost