-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
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
Unable to build hello-world on local install #62
Comments
Hi @wbmartin, |
Thanks for the quick response @matt-42. g++ -v yields "gcc version 8.3.0 (Debian 8.3.0-6) |
gcc 8.3 is not supported, can you upgrade to g++ 9.3 or a more recent version ? It should work with this version. |
@matt-42 that fixed it nicely. Thanks for the great support. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First, wanted to thank you for offering this tool to the community. I've been interested since I saw it win the TechEmpower Benchmark (Congratulations!). I am admittedly a bit rusty with my C++, so I may be missing something obvious. I ran the CLI/docker install and it worked great the first time, but complained about the port being already in use on subsequent runs. I can go back to that method if you suggest. I decided to try the local install on a new debian buster install.
I stumbled on the prerequisites needed, but I think I got past that with this:
I also had to modify the install.sh g++ command, adding " -lstdc++fs" in two places to get it to build, guessing it is a debian quirk related to the filesystem library.
Then I tried a fresh project with a copy of the hello_world script in my_api.cc (to follow the cmake_project_template):
and the CMakeLists.txt from the cmake_project_template, removing the mysql and sqllite
Then ran
mkdir build cd build cmake .. make
but unfortunately I receive this error message:
I wanted to see if you could offer any suggestions as to what I did wrong?
The text was updated successfully, but these errors were encountered: