![]() ![]() ![]() If you want to always use the new gcc, you could run command echo "scl enable devtoolset-8 bash" > ~/.bash_profile, system will automatically activate the new gcc after restarting. Note: Command scl enable devtoolset-8 bash only activate the new gcc temporarily until the session is end. Upgrade gcc yum install centos-release-scl The default installed cmake version is too low, use source installation git clone System Preparation Examples Ubuntu 18.04 Environment sudo apt install git gtest, not mandatory, if the gtest library is installed, the unit tests can be compiled.the client development libraries of postgreSQL, mariadb and sqlite3, not mandatory, if one or more of them is installed, drogon will support access to the according database.boost, the version should be no less than 1.61, is required only if the C++ compiler does not support C++ 17 and if the STL doesn't fully support std::filesystem.libbrotli, not mandatory, if the libbrotli library is installed, drogon will support brotli compression when sending HTTP responses.c-ares, not mandatory, if the c-ares library is installed,drogon will be more efficient with DNS.OpenSSL, not mandatory, if the OpenSSL library is installed, drogon will support HTTPS as well, otherwise drogon only supports HTTP.zlib, used to support compressed transmission. ![]() jsoncpp, JSON's c++ library, the version should be no less than 1.7.trantor, a non-blocking I/O C++ network library, also developed by the author of Drogon, has been used as a git repository submodule, no need to install in advance.Use git as the version management tool.Use cmake as the build tool, and the cmake version should be not less than 3.5.The gcc version is not less than 5.4.0.The Linux kernel should be not lower than 2.6.9, 64-bit version.Other systems are similar System Requirements This section takes Linux as an example to introduce the installation process. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |