geometry2 icon indicating copy to clipboard operation
geometry2 copied to clipboard

GCC Version not supported

Open mblasi opened this issue 1 year ago • 0 comments

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?

mblasi avatar Sep 19 '24 02:09 mblasi