尝试编译cpprestsdk时出现以下错误:
/Users/radu/work/casablanca/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp:425:24:错误:没有匹配函数调用'make_shared' m_strand = lib::make_shared(^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory :4808:1:注意:候选模板被忽略:模板参数'_Tp'的无效显式指定参数make_shared(_Args&& ...__args)
我有maxOS High Sierra
:
$ g++ --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix