Technical requirements
For this chapter, we will need to install third-party libraries to compile examples.
The spdlog
and {fmt}
libraries need to be installed to compile the example in the logging section. Please check their documentation (spdlog
’s documentation is available at https://github.com/gabime/spdlog and {fmt}
’s documentation is available at https://github.com/fmtlib/fmt) and follow the installation steps suitable for your platform.
Some examples need a compiler supporting C++20. Therefore, check the technical requirements section in Chapter 3, which has some guidance on how to install GCC 13 and Clang 8 compilers.
You can find all the complete code in the following GitHub repository:
https://github.com/PacktPublishing/Asynchronous-Programming-with-CPP
The examples for this chapter are located under the Chapter_11
folder. All source code files can be compiled using CMake as follows:
$ cmake . && cmake —build .
Executable binaries...