Closed wbmartin closed 3 years ago
Hi @wbmartin, Thanks for the feedback, which version of g++ are you using ?
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.
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
but unfortunately I receive this error message:
I wanted to see if you could offer any suggestions as to what I did wrong?