drogon: Cannot get cmake working with latest Drogon
I just pulled latest drogon and cmake refuses to build my code.
To Reproduce Steps to reproduce the behavior:
- Clone latest drogon
- Compile and install
- Create a new simple drogon program with a CMakeLists.txt
- Run cmake …
Expected behavior It should run successfully.
However, it fails with following messages:
CMake Error at /usr/local/lib/cmake/Drogon/FindFilesystem.cmake:258 (message):
Cannot run simple program using std::filesystem
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/local/lib/cmake/Drogon/DrogonConfig.cmake:71 (find_dependency)
CMakeLists.txt:54 (find_package)
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 16 (5 by maintainers)
Well, my report can be ignored. The problem was due to the installation of VS2022 on a fresh Windows installing obsolete msvc libraries in C:\Windows\System32, although the latest redists are present in add/remove software. Reinstalling the redists fixes the problem.
This is a broken framework with zero support. I raised a regression issue in its base trantor package. The changes broke my code and nobody cared to figure out the issue. I will suggest that you use actix which has much better community.