Skip to content
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

Build failure #117

Open
jlegrand62 opened this issue Jul 18, 2024 · 0 comments
Open

Build failure #117

jlegrand62 opened this issue Jul 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jlegrand62
Copy link
Member

Following the README guidelines to build the branch ci_dev of this repo (on Ubuntu 24.04) I get an error when calling make:

rdp@RDP-9020-OR:~/Projects/romi-rover-build-and-test/build$ make
[  1%] Linking CXX static library /home/rdp/Projects/romi-rover-build-and-test/build/lib/libgtest.a
[  1%] Built target gtest
[  2%] Linking CXX static library /home/rdp/Projects/romi-rover-build-and-test/build/lib/libgmock.a
[  2%] Built target gmock
[  2%] Linking CXX static library /home/rdp/Projects/romi-rover-build-and-test/build/lib/libgmock_main.a
[  2%] Built target gmock_main
[  2%] Linking CXX static library /home/rdp/Projects/romi-rover-build-and-test/build/lib/libgtest_main.a
[  2%] Built target gtest_main
[  2%] Building CXX object librcom/librcom/CMakeFiles/rcom.dir/src/sha1.cpp.o
[  2%] Building CXX object librcom/librcom/CMakeFiles/rcom.dir/src/util.cpp.o
[  2%] Building CXX object librcom/librcom/CMakeFiles/rcom.dir/src/ip.cpp.o
[  3%] Building CXX object librcom/librcom/CMakeFiles/rcom.dir/src/Address.cpp.o
[  3%] Building CXX object librcom/librcom/CMakeFiles/rcom.dir/src/BaseSocket.cpp.o
[  3%] Building CXX object librcom/librcom/CMakeFiles/rcom.dir/src/ClientSideWebSocket.cpp.o
[  3%] Building CXX object librcom/librcom/CMakeFiles/rcom.dir/src/ConsoleLog.cpp.o
[  3%] Building CXX object librcom/librcom/CMakeFiles/rcom.dir/src/HttpParser.cpp.o
/home/rdp/Projects/romi-rover-build-and-test/librcom/librcom/src/HttpParser.cpp: In member function ‘void rcom::HttpParser::error(const char*)’:
/home/rdp/Projects/romi-rover-build-and-test/librcom/librcom/src/HttpParser.cpp:305:28: error: ‘runtime_error’ is not a member of ‘std’
  305 |                 throw std::runtime_error(message);
      |                            ^~~~~~~~~~~~~
/home/rdp/Projects/romi-rover-build-and-test/librcom/librcom/src/HttpParser.cpp:28:1: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>; did you forget to ‘#include <stdexcept>’?
   27 | #include "rcom/HttpParser.h"
  +++ |+#include <stdexcept>
   28 | 
make[2]: *** [librcom/librcom/CMakeFiles/rcom.dir/build.make:174 : librcom/librcom/CMakeFiles/rcom.dir/src/HttpParser.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:1627 : librcom/librcom/CMakeFiles/rcom.dir/all] Erreur 2
make: *** [Makefile:146 : all] Erreur 2
@jlegrand62 jlegrand62 added the bug Something isn't working label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants