fatal error Boost [closed]

asked 2014-10-10 05:34:01 -0500

takb gravatar image

updated 2014-10-16 11:38:03 -0500

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-01-18 03:16:12.388310

Comments

1

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.

ahendrix gravatar image ahendrix  ( 2014-10-10 11:19:29 -0500 )edit