ros-perception / calibration

Provides a toolchain to calibrate sensors and URDF robot models.
http://www.ros.org/wiki/calibration
33 stars 30 forks source link

Fix "stdlib.h: No such file or directory" errors in GCC-6 #41

Closed ghost closed 8 years ago

ghost commented 8 years ago

Building with GCC-6 causes errors such as:

`/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory

include_next `

Including ${Boost_INCLUDE_DIR} or ${catkin_INCLUDE_DIRS} with-isystem has the effect of including -isystem /usr/include.

This breaks building with GCC-6.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129

Also see https://github.com/ros/geometry/pull/130