Invoking make suddenly fails everywhere!
Hi all,
after nearly 3 years of using the same (groovy) workspace on Ubuntu 12.04, yesterday as I was making a pkg (which was compiling fine), it started to give me weird errors in make. Even when the code is:
#include <ros/ros.h>
int main(int argc, char **argv)
{
return (0);
}
Make produces the same error in all of my packages now, which has dumbfounded me. Can anyone suggest what's going on? Extremely long sheet follows:
mkdir -p bin cd build && cmake -Wdev
-DCMAKE_TOOLCHAIN_FILE=/opt/ros/groovy/share/ros/core/rosbuild/rostoolchain.cmake .. [rosbuild] Building package test_pkg
-- Using CATKIN_DEVEL_PREFIX: /home/george/ros_ws/mobot_nav/test_pkg/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy
-- This workspace overlays: /opt/ros/groovy
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Skip enable_testing() for dry packages
-- Using CATKIN_TEST_RESULTS_DIR: /home/george/ros_ws/mobot_nav/test_pkg/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.89
-- Using these message generators: gencpp;genlisp;genpy [rosbuild] Including /opt/ros/groovy/share/roslisp/rosbuild/roslisp.cmake [rosbuild] Including /opt/ros/groovy/share/roscpp/rosbuild/roscpp.cmake [rosbuild] Including /opt/ros/groovy/share/rospy/rosbuild/rospy.cmake
-- Configuring done
-- Generating done CMake Warning: Manually-specified variables were not used by the project:
CMAKE_TOOLCHAIN_FILE
-- Build files have been written to: /home/george/ros_ws/mobot_nav/test_pkg/build cd build && make make[1]: Entering directory `/home/george/ros_ws/mobot_nav/test_pkg/build' make[2]: Entering directory `/home/george/ros_ws/mobot_nav/test_pkg/build' make[3]: Entering directory `/home/george/ros_ws/mobot_nav/test_pkg/build' make[3]: Leaving directory `/home/george/ros_ws/mobot_nav/test_pkg/build' [ 0%] Built target rospack_genmsg_libexe make[3]: Entering directory `/home/george/ros_ws/mobot_nav/test_pkg/build' make[3]: Leaving directory `/home/george/ros_ws/mobot_nav/test_pkg/build' [ 0%] Built target rosbuild_precompile make[3]: Entering directory `/home/george/ros_ws/mobot_nav/test_pkg/build' make[3]: Leaving directory `/home/george/ros_ws/mobot_nav/test_pkg/build' make[3]: Entering directory `/home/george/ros_ws/mobot_nav/test_pkg/build' [100%] Building CXX object CMakeFiles/testt.dir/src/ex.cpp.o In file included from /usr/include/boost/format.hpp:50:0,
from /usr/include/boost/math/policies/error_handling.hpp:30,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/groovy/include/ros/time.h:58,
from /opt/ros/groovy/include/ros/ros.h:38,
from /home/george/ros_ws/mobot_nav/test_pkg/src/ex.cpp:1: /usr/include/boost/format/parsing.hpp: In member function ‘boost::basic_format<Ch, Tr, Alloc>& boost::basic_format<Ch, Tr, Alloc>::parse(const string_type&) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, boost::basic_format<Ch, Tr, Alloc>::string_type = std::basic_string<char>]’: /usr/include/boost/format/format_implementation.hpp:33:13: instantiated from ‘boost::basic_format<Ch, Tr, Alloc>::basic_format(const Ch*) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]’ /usr/include/boost/math/policies/error_handling.hpp:106:3: instantiated from ‘void boost::math::policies::detail::raise_error(const char*, const char*, const T&) [with E
= boost::math::rounding_error, T = double ...