You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling on Debian/buster with gcc-8 fails :
[...]
[ 14%] Building CXX object CMakeFiles/rviz_visual_tools_remote_control.dir/src/remote_control.cpp.o
In file included from /usr/include/c++/8/ext/string_conversions.h:41,
from /usr/include/c++/8/bits/basic_string.h:6400,
from /usr/include/c++/8/string:52,
from /home/jkur/dev/ros/ros-testbed/src/rviz_visual_tools/src/remote_control.cpp:40:
/usr/include/c++/8/cstdlib:75:15: fatal error: stdlib.h: Datei oder Verzeichnis nicht gefunden
#include_next <stdlib.h>
A vague search suggest a wrong use of the -Isystem flag with gcc-8 (and gcc-7).
Compiling on Debian/buster with gcc-8 fails :
[...]
[ 14%] Building CXX object CMakeFiles/rviz_visual_tools_remote_control.dir/src/remote_control.cpp.o
In file included from /usr/include/c++/8/ext/string_conversions.h:41,
from /usr/include/c++/8/bits/basic_string.h:6400,
from /usr/include/c++/8/string:52,
from /home/jkur/dev/ros/ros-testbed/src/rviz_visual_tools/src/remote_control.cpp:40:
/usr/include/c++/8/cstdlib:75:15: fatal error: stdlib.h: Datei oder Verzeichnis nicht gefunden
#include_next <stdlib.h>
A vague search suggest a wrong use of the -Isystem flag with gcc-8 (and gcc-7).
Removing "SYSTEM" from CMakeLists.txt :78
include_directories(include ${catkin_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS} ${OGRE_OV_INCLUDE_DIRS})
fixes this issue for me. I'm unsure if this is a general fix or breaks something elsewhere...
The text was updated successfully, but these errors were encountered: