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

ubuntu1604 catkin_make failed #1876

Open
turinglife opened this issue Mar 3, 2022 · 1 comment
Open

ubuntu1604 catkin_make failed #1876

turinglife opened this issue Mar 3, 2022 · 1 comment

Comments

@turinglife
Copy link

/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \


solution:

  1. put set(CMAKE_CXX_FLAGS "-std=c++11") to CMakeList.txt @ abseil-cpp
  2. put set(CMAKE_CXX_FLAGS "-std=c++11") to CMakeList.txt @ src/cartographer/
@turinglife
Copy link
Author

turinglife commented Mar 3, 2022

SetUsageMessage’ is not a member of ‘google

solution:
change to

#ifdef GFLAGS_NAMESPACE
GFLAGS_NAMESPACE::ParseCommandLineFlags(&argc, &argv, true);
#else
google::ParseCommandLineFlags(&argc, &argv, true);
#endif

@turinglife turinglife changed the title 0x_warning.h:32:2: error: #error ubuntu1604 catkin_make failed Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant