cd C:\dev\repos\boost_1_89_0
set OPENSSL_ROOT_DIR=C:/dev/libs/OpenSSL
set OPENSSL_USE_STATIC_LIBS=ON
bootstrap.bat
b2 cxxstd=20 install --with-system --with-thread --with-cobalt --prefix=C:/dev/libs/boost_1_89_0 --toolset=msvc-14.3 -s _WIN32_WINNT=0x0A00 link=static runtime-link=static variant=release address-model=64
b2 cxxstd=20 install --with-system --with-thread --with-cobalt --prefix=C:/dev/libs/boost_1_89_0 --toolset=msvc-14.3 -s _WIN32_WINNT=0x0A00 link=static runtime-link=static variant=debug address-model=64
Performing configuration checks
- default address-model : 64-bit (cached) [1]
- default architecture : x86 (cached) [1]
- has pthread_cond_clockwait : no (cached) [2]
- compiler supports SSE2 : yes (cached) [2]
- compiler supports SSE4.1 : yes (cached) [2]
- cxx11_constexpr : yes (cached) [2]
- cxx11_noexcept : yes (cached) [2]
- cxx11_nullptr : yes (cached) [2]
- cxx11_decltype : yes (cached) [2]
- cxx11_decltype_n3276 : yes (cached) [2]
- cxx11_template_aliases : yes (cached) [2]
- cxx11_static_assert : yes (cached) [2]
- cxx11_rvalue_references : yes (cached) [2]
- cxx11_scoped_enums : yes (cached) [2]
- cxx11_defaulted_functions : yes (cached) [2]
- cxx11_deleted_functions : yes (cached) [2]
- cxx11_hdr_ratio : yes (cached) [2]
- cxx11_hdr_chrono : yes (cached) [2]
- has unions with non-trivial members : yes (cached) [2]
- has <type_traits> sufficient for Boost.Atomic : yes (cached) [2]
- cxx11_char16_t : yes (cached) [2]
- cxx11_char32_t : yes (cached) [2]
- cxx20_hdr_concepts : no (cached) [2]
- cxx20_hdr_concepts : no (cached) [3]
- BOOST_ARCH_WORD_BITS == 0.0.16 : no (cached) [2]
- BOOST_ARCH_WORD_BITS == 0.0.32 : no (cached) [2]
- BOOST_ARCH_WORD_BITS == 0.0.64 : no (cached) [2]
- BOOST_ARCH_X86 : no (cached) [2]
- BOOST_ARCH_IA64 : no (cached) [2]
- BOOST_ARCH_SPARC : no (cached) [2]
- BOOST_ARCH_LOONGARCH : no (cached) [2]
- BOOST_ARCH_MIPS : no (cached) [2]
- BOOST_ARCH_PARISC : no (cached) [2]
- BOOST_ARCH_ARM : no (cached) [2]
- BOOST_ARCH_RISCV : no (cached) [2]
- BOOST_ARCH_PPC : no (cached) [2]
- BOOST_ARCH_SYS390 : no (cached) [2]
[1] msvc-14.3
[2] msvc-14.3/debug/x86_64/link-static/runtime-link-static/threadapi-win32/threading-multi/visibility-hidden
[3] msvc-14.3/debug/x86_64/build-no/link-static/runtime-link-static/threadapi-win32/threading-multi/visibility-hidden
Component configuration:
- date_time : not building
- exception : not building
- graph : not building
- graph_parallel : not building
- program_options : not building
- serialization : not building
- test : not building
- accumulators : not building
- any : not building
- array : not building
- asio : not building
- assert : not building
- assign : not building
- atomic : not building
- beast : not building
- bimap : not building
- bind : not building
- bloom : not building
- charconv : not building
- chrono : not building
- cobalt : building
- compat : not building
- concept_check : not building
- config : not building
- container : not building
- container_hash : not building
- context : not building
- contract : not building
- conversion : not building
- core : not building
- coroutine : not building
- coroutine2 : not building
- crc : not building
- describe : not building
- detail : not building
- dll : not building
- dynamic_bitset : not building
- endian : not building
- fiber : not building
- filesystem : not building
- flyweight : not building
- format : not building
- function : not building
- function_types : not building
- geometry : not building
- hana : not building
- hash2 : not building
- headers : not building
- heap : not building
- histogram : not building
- integer : not building
- interprocess : not building
- intrusive : not building
- iostreams : not building
- iterator : not building
- json : not building
- lambda : not building
- lambda2 : not building
- lexical_cast : not building
- locale : not building
- lockfree : not building
- log : not building
- logic : not building
- math : not building
- metaparse : not building
- move : not building
- mp11 : not building
- mpi : not building
- mpl : not building
- mqtt5 : not building
- msm : not building
- multiprecision : not building
- multi_index : not building
- mysql : not building
- nowide : not building
- optional : not building
- outcome : not building
- parameter : not building
- parser : not building
- pfr : not building
- poly_collection : not building
- pool : not building
- predef : not building
- preprocessor : not building
- process : not building
- property_map : not building
- property_tree : not building
- ptr_container : not building
- python : not building
- random : not building
- ratio : not building
- rational : not building
- redis : not building
- regex : not building
- scope : not building
- signals2 : not building
- smart_ptr : not building
- sort : not building
- spirit : not building
- stacktrace : not building
- static_assert : not building
- stl_interfaces : not building
- system : building
- thread : building
- throw_exception : not building
- timer : not building
- tokenizer : not building
- tuple : not building
- typeof : not building
- type_erasure : not building
- type_index : not building
- type_traits : not building
- unordered : not building
- url : not building
- utility : not building
- uuid : not building
- variant : not building
- variant2 : not building
- wave : not building
- winapi : not building
- yap : not building
The following libs appeared in C:\dev\libs\boost_1_89_0\lib
:
libboost_atomic-vc143-mt-s-x64-1_89.lib
libboost_atomic-vc143-mt-sgd-x64-1_89.lib
libboost_chrono-vc143-mt-s-x64-1_89.lib
libboost_chrono-vc143-mt-sgd-x64-1_89.lib
libboost_cobalt-vc143-mt-s-x64-1_89.lib
libboost_cobalt-vc143-mt-sgd-x64-1_89.lib
libboost_cobalt_io-vc143-mt-s-x64-1_89.lib
libboost_cobalt_io-vc143-mt-sgd-x64-1_89.lib
libboost_container-vc143-mt-s-x64-1_89.lib
libboost_container-vc143-mt-sgd-x64-1_89.lib
libboost_context-vc143-mt-s-x64-1_89.lib
libboost_context-vc143-mt-sgd-x64-1_89.lib
libboost_date_time-vc143-mt-s-x64-1_89.lib
libboost_date_time-vc143-mt-sgd-x64-1_89.lib
libboost_exception-vc143-mt-s-x64-1_89.lib
libboost_exception-vc143-mt-sgd-x64-1_89.lib
libboost_thread-vc143-mt-s-x64-1_89.lib
libboost_thread-vc143-mt-sgd-x64-1_89.lib
https://www.boost.org/doc/libs/1_82_0/doc/html/boost_asio/example/cpp11/ssl/client.cpp
https://www.boost.org/doc/libs/1_82_0/doc/html/boost_asio/example/cpp11/ssl/server.cpp
dmitriano@HOME-DESKTOP:~/dev/ssl$ ip route show default
default via 172.24.48.1 dev eth0 proto kernel
dmitriano@HOME-DESKTOP:~/dev/ssl$ telnet 172.24.48.1 12345
export ad_ip="172.24.48.1"
export ad_user="administrator@my.local"
export ad_password="1234@abc"
export LDAPTLS_REQCERT=never
ldapsearch -H ldaps://$ad_ip:12345 -x -D $ad_user -w $ad_password -b "DC=my,DC=local" \
-s sub -a always -z 1000 "(objectClass=user)" "serviceClassName" "serviceDNSName" "objectClass"
Clean everything Boost built
./b2 –clean-all