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

GCC Version not supported #570

Open
mblasi opened this issue Sep 19, 2024 · 0 comments
Open

GCC Version not supported #570

mblasi opened this issue Sep 19, 2024 · 0 comments

Comments

@mblasi
Copy link

mblasi commented Sep 19, 2024

I'm almost done with the build:

The following command fails with C++-14 is required error:

(.python) $ ~/ros_catkin_ws/build_isolated/tf $ ../../install_isolated/env.sh make -j16 -l16

[ 82%] Built target tf_echo
[ 82%] Built target tf_change_notifier
[ 88%] Built target testBroadcaster
[ 94%] Building CXX object CMakeFiles/testListener.dir/test/testListener.cpp.o
[ 94%] Building CXX object CMakeFiles/transform_listener_unittest.dir/test/transform_listener_unittest.cpp.o
En el fichero incluido desde /usr/include/gtest/gtest-message.h:57,
                 desde /usr/include/gtest/gtest-assertion-result.h:46,
                 desde /usr/include/gtest/gtest.h:64,
                 desde /home/matias/ros_catkin_ws/src/geometry/tf/test/transform_listener_unittest.cpp:30:
/usr/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported.
  279 | #error C++ versions less than C++14 are not supported.
      |  ^~~~~

While, I'm pretty sure that I'm running gcc-14:

(.python) $ ~/ros_catkin_ws/build_isolated/tf $ eselect gcc list
 [1] x86_64-pc-linux-gnu-13
 [2] x86_64-pc-linux-gnu-14 *
(.python) $ ~/ros_catkin_ws/build_isolated/tf $ 
(.python) $ ~/ros_catkin_ws/build_isolated/tf $ gcc --version
gcc (Gentoo 14.2.1_p20240817 p4) 14.2.1 20240817
Copyright (C) 2024 Free Software Foundation, Inc.
Esto es software libre; vea el código para las condiciones de copia.  NO hay
garantía; ni siquiera para MERCANTIBILIDAD o IDONEIDAD PARA UN PROPÓSITO EN
PARTICULAR
(.python) $ ~/ros_catkin_ws/build_isolated/tf $ 

Any clue?

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