Open evandrix opened 6 years ago
The output of cmake . && make reproduced below:
cmake . && make
[ 9%] Building CXX object CMakeFiles/abradelib.dir/Options.cpp.o [ 18%] Building CXX object CMakeFiles/abradelib.dir/Generator.cpp.o [ 27%] Building CXX object CMakeFiles/abradelib.dir/Exception.cpp.o [ 36%] Building CXX object CMakeFiles/abradelib.dir/Controller.cpp.o [ 45%] Linking CXX static library libabradelib.a [ 45%] Built target abradelib Scanning dependencies of target abrade [ 54%] Building CXX object CMakeFiles/abrade.dir/main.cpp.o [ 63%] Linking CXX executable abrade undef: _ERR_remove_thread_state undef: _TLSv1_2_client_method undef: _SSL_COMP_free_compression_methods undef: _TLSv1_1_server_method undef: _TLSv1_1_method undef: _TLSv1_1_client_method undef: _TLSv1_2_method undef: _TLSv1_2_server_method Undefined symbols for architecture x86_64: "_ERR_remove_thread_state", referenced from: boost::asio::ssl::detail::openssl_init_base::do_init::~do_init() in lto.o "_TLSv1_2_client_method", referenced from: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o "_SSL_COMP_free_compression_methods", referenced from: boost::asio::ssl::detail::openssl_init_base::do_init::~do_init() in lto.o "_TLSv1_1_server_method", referenced from: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o "_TLSv1_1_method", referenced from: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o "_TLSv1_1_client_method", referenced from: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o "_TLSv1_2_method", referenced from: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o "_TLSv1_2_server_method", referenced from: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [abrade] Error 1 make[1]: *** [CMakeFiles/abrade.dir/all] Error 2 make: *** [all] Error 2```
@evandrix Hi, what version of Boost are you using?
The output of
cmake . && make
reproduced below: