We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm newbie, when i start the application it got error. This is my main.cc
`#include <drogon/drogon.h>
int main() { drogon::app().setLogLevel(trantor::Logger::kTrace);
try { drogon::app().addListener("127.0.0.1", 2201); drogon::app().run(); } catch (const std::exception& e) { std::cerr << "Error: " << e.what() << std::endl; } return 0;
} `
The code failed on line drogon::app().addListener("127.0.0.1", 2201); the exception throwed is 'Error: vector too long'
I'm using Visual Studio Community 2022, this is output when build the project with VsCode:
[main] Building folder: d:/Code/WebC++/DrogonWin/build [build] Starting build [proc] Executing command: "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.EXE" --build d:/Code/WebC++/DrogonWin/build --config Debug --target ALL_BUILD -j 22 -- [build] MSBuild version 17.13.9+e0f243f1e for .NET Framework [build] [build] main.cc [build] DrogonWin_test.vcxproj -> D:\Code\WebC++\DrogonWin\build\test\Debug\DrogonWin_test.exe [build] DrogonWin.vcxproj -> D:\Code\WebC++\DrogonWin\build\Debug\DrogonWin.exe [driver] Build completed: 00:00:02.796 [build] Build finished with exit code 0
The text was updated successfully, but these errors were encountered:
This is callstack
Sorry, something went wrong.
No branches or pull requests
I'm newbie, when i start the application it got error. This is my main.cc
`#include <drogon/drogon.h>
int main() {
drogon::app().setLogLevel(trantor::Logger::kTrace);
}
`
The code failed on line drogon::app().addListener("127.0.0.1", 2201);
the exception throwed is 'Error: vector too long'
I'm using Visual Studio Community 2022, this is output when build the project with VsCode:
[main] Building folder: d:/Code/WebC++/DrogonWin/build [build] Starting build [proc] Executing command: "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.EXE" --build d:/Code/WebC++/DrogonWin/build --config Debug --target ALL_BUILD -j 22 -- [build] MSBuild version 17.13.9+e0f243f1e for .NET Framework [build] [build] main.cc [build] DrogonWin_test.vcxproj -> D:\Code\WebC++\DrogonWin\build\test\Debug\DrogonWin_test.exe [build] DrogonWin.vcxproj -> D:\Code\WebC++\DrogonWin\build\Debug\DrogonWin.exe [driver] Build completed: 00:00:02.796 [build] Build finished with exit code 0
The text was updated successfully, but these errors were encountered: