drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.04k stars 1.06k forks source link

where to find config.h #2000

Closed robot3human0 closed 2 months ago

robot3human0 commented 2 months ago

Hi, I try to compile code from repository and this error occurred:

/HttpAppFrameworkImpl.h:18:10: fatal error: drogon/config.h: No such file or directory
   18 | #include <drogon/config.h>
      |          ^~~~~~~~~~~~~~~~~

What to do? BTW sorry, I'm a beginner.

an-tao commented 2 months ago

The config.h file is created by the cmake tool. You should first use cmake to configure the build.