brew install drogonframework/drogon/drogon(yes, that’s
@ramithKS If you have issues installing Drogon from source, you can try the Homebrew formula, as it also compiles from source.
Regarding your VSCode issue, I’m not sure, because I don’t use that editor, but I would suspect that you would have to tell the editor project configuration where your header search paths are in order to get full completion. Otherwise the LSP-Server won’t find signatures for completion.
CMake Error at /opt/homebrew/Cellar/cmake/3.21.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) Call Stack (most recent call first): /opt/homebrew/Cellar/cmake/3.21.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /opt/homebrew/Cellar/cmake/3.21.0/share/cmake/Modules/FindOpenSSL.cmake:574 (find_package_handle_standard_args) /opt/homebrew/Cellar/cmake/3.21.0/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /opt/homebrew/lib/cmake/Trantor/TrantorConfig.cmake:38 (find_dependency) /opt/homebrew/Cellar/cmake/3.21.0/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /opt/homebrew/lib/cmake/Drogon/DrogonConfig.cmake:40 (find_dependency) CMakeLists.txt:29 (find_package)
ramithks@Ramiths-MacBook-Air build % make [ 50%] Building CXX object CMakeFiles/test-pro.dir/main.cc.o /Users/ramithks/Desktop/development/c++/test-pro/main.cc:1:10: fatal error: 'drogon/drogon.h' file not found #include <drogon/drogon.h> ^~~~~~~~~~~~~~~~~ 1 error generated. make: *** [CMakeFiles/test-pro.dir/main.cc.o] Error 1 make: *** [CMakeFiles/test-pro.dir/all] Error 2 make: *** [all] Error 2