Ask Your Question
0

ROS cannot be compiled, tested on RPI 3 and 4

asked 2020-01-25 14:15:17 -0600

phil123456 gravatar image

Hello,

I installed the latest version of raspbian on both RPI 3 and 4 and it just does not compile

/home/pi/ros_catkin_ws/src/rospack/include/rospack/rospack.h:108:10: fatal error: boost/tr1/unordered_set.hpp: No such file or directory

I first read it was becos RPI4 was too new, but apparently something is broken

I followed this tutorial : http://wiki.ros.org/ROSberryPi/Instal...

I use : 2019-09-26-raspbian-buster.img

how can I fix this ?

thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-01-25 15:35:47 -0600

marguedas gravatar image

There is currently no version of ROS targeting Debian Buster. It looks like you're trying to install a version of ROS targeting an older version of boost (<1.63) than the one available on your system (Buster 1.67). In your version these headers don't exist anymore.

The header names have been updated in later versions of ROS https://github.com/ros/rospack/pull/80.

You could to try to compile ROS Melodic rather than ROS Kinetic that targets more recent OSes. You should be able to follow the same instructions and just replace kinetic with melodic in the commands.

edit flag offensive delete link more

Comments

jolly good, I'll give it a try, I am a complete noob, so... thanks

phil123456 gravatar imagephil123456 ( 2020-01-25 16:41:06 -0600 )edit

ok so it works, it crashed on compilation but I just reran it with the -j2 option

phil123456 gravatar imagephil123456 ( 2020-01-26 03:36:14 -0600 )edit

Glad it worked for you,

You can mark the answer as accepted by clicking the checkmark, this will let the community know that this has been solved and doesn't need additional invstigation

marguedas gravatar imagemarguedas ( 2020-01-26 04:35:19 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-01-25 14:14:13 -0600

Seen: 31 times

Last updated: Jan 26