ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

unordered_set.hpp no such file or directory

asked 2019-09-12 10:18:57 -0600

Corey gravatar image

I'm trying to build ROS for a raspberry pi; however, I keep getting an error

boost/tr1/unordered_set.hpp: No such file or directory
#include <boost/tr1/unordered_set.hpp>

I tried installing libboost, but it says that it's already at the latest version. Is there something I am missing?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2020-04-30 00:06:13 -0600

if you are using MacOS, you can brew install install boost@1.59, and then you ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_RPATH=$HOME/ros_catkin_ws/install_isolated/lib --from-pkg roscpp --cmake-args -DBOOST_ROOT=/usr/local/opt/boost@1.59 if have error that boost version <1.61, you can change the version 106100 into 105900 in error cpp file because boost version 1.59's directionary is different from newest.

edit flag offensive delete link more

answered 2019-09-12 16:55:26 -0600

gvdhoorn gravatar image

I believe this is a duplicate of #q328303.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-09-12 10:18:57 -0600

Seen: 1,903 times

Last updated: Sep 12 '19