Problem while building ros from source on RPI3
Hello,
Following instructions on: http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi
I tried to compile and install ros, but failed at step 3.3, namely the command:
sudo ./src/catkin/bin/catkinmakeisolated --install -DCMAKEBUILDTYPE=Release --install-space /opt/ros/kinetic
it will work for a while, and then give the following error I pasted below. I checked that libeigen3-dev is installed on the rpi.
Here is the error:
==> Building with env: '/opt/ros/kinetic/env.sh' ==> cmake /home/pi/roscatkinws/src/geometricshapes -DCATKINDEVELPREFIX=/home/pi/roscatkinws/develisolated/geometricshapes -DCMAKEINSTALLPREFIX=/opt/ros/kinetic -DCMAKEBUILDTYPE=Release -G Unix Makefiles in '/home/pi/roscatkinws/buildisolated/geometricshapes' -- Boost version: 1.55.0 -- Found the following Boost libraries: -- system -- filesystem CMake Error at CMakeLists.txt:24 (findpackage): By not providing "FindEigen3.cmake" in CMAKEMODULEPATH this project has asked CMake to find a package configuration file provided by "Eigen3", but CMake did not find one.
Could not find a package configuration file provided by "Eigen3" with any of the following names:
Eigen3Config.cmake
eigen3-config.cmake
Add the installation prefix of "Eigen3" to CMAKEPREFIXPATH or set "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" provides a separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred! See also "/home/pi/roscatkinws/buildisolated/geometricshapes/CMakeFiles/CMakeOutput.log". <== Failed to process package 'geometricshapes': Command '['/opt/ros/kinetic/env.sh', 'cmake', '/home/pi/roscatkinws/src/geometricshapes', '-DCATKINDEVELPREFIX=/home/pi/roscatkinws/develisolated/geometricshapes', '-DCMAKEINSTALLPREFIX=/opt/ros/kinetic', '-DCMAKEBUILDTYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1
Reproduce this error by running: ==> cd /home/pi/roscatkinws/buildisolated/geometricshapes && /opt/ros/kinetic/env.sh cmake /home/pi/roscatkinws/src/geometricshapes -DCATKINDEVELPREFIX=/home/pi/roscatkinws/develisolated/geometricshapes -DCMAKEINSTALLPREFIX=/opt/ros/kinetic -DCMAKEBUILD_TYPE=Release -G 'Unix Makefiles'
Command failed, exiting.
Asked by wintermute on 2017-05-02 08:46:30 UTC
Comments
Some answers may be here: https://github.com/ThotAlion/InstallROSRPI3/blob/master/install_ros.sh not updated for kinetic yet...but gives a pre step that may be of help Also I a reasonably good success with using the Dexter microSD image from their website
Asked by rnunziata on 2017-05-02 16:35:40 UTC
i will give it a try, but this one is for ros jade. the ros kinetic install above just fails because of a missing package config, named eigen3 - and i am sure it can be fixed.
Asked by wintermute on 2017-05-03 00:30:09 UTC
I finally got ROS compiled and running and talking to my remote pc on my raspberrypi3 using https://github.com/ROSbots/rosbots_setup_tools see if it helps you.
Asked by rnunziata on 2017-05-06 16:56:30 UTC
Hello,
I got ros compiled and installed using only the ros_comm and not the robot install. if I generate an install file with the "robot" flag, it will still fail due to eigen.
I will test this method you mentioned as well. Do you know which packages it installs?
Cheers, C.
Asked by wintermute on 2017-05-08 04:54:14 UTC
the are listed in the py file https://github.com/ROSbots/rosbots_setup_tools/blob/master/rpi_setup/fabfile.py you can probably modify it to your needs.
Asked by rnunziata on 2017-05-08 15:00:14 UTC
yes, I found out that it failed at step 4. thank you.
Asked by wintermute on 2017-05-08 15:01:55 UTC