fatal error Boost [closed]
I am trying to follow this beginner_tutorial on creating listener and talker and I get this error when i do catkin_make
In file included from /opt/ros/indigo/include/ros/ros.h:38:0, from /home/bharat/catkin_ws/src/beginner_tutorials/src/listener.cpp:1: /opt/ros/indigo/include/ros/time.h:58:50: fatal error: boost/math/special_functions/round.hpp: No such file or directory compilation terminated.
What do I do ?
EDIT:
OS Ubuntu 14.04 ROS Indigo BOOST Version: 1.54
Its crazy because this code compiles perfectly:
(hash)include <boost/version.hpp>
(hash)include <iostream>
(hash)include <boost/math/special_functions/round.hpp>
using namespace std;
int main()
{
cout << "Boost version: " << BOOST_LIB_VERSION << endl;
return 0;
}
Edit: Stupid error. I think my bashrc was configuring CXX for android-eabi which was the error. Removing that, and reinstalling ros removed the error.
This looks like you might not have the right version of Boost installed. Please edit your question to include your OS, ROS and Boost versions.