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

ROS Kinetic Build Raspberry Pi 3 - "Missing" Eigen3

asked 2017-01-24 05:25:51 -0500

MarkyMark2012 gravatar image

Hi All,

I can see that this question has been asked a number of times. I'm trying to build Kinetic on my Pi 3. Currently hitting issue building robot_state_publisher where Eigen3 isn't being found.

I know it's on the system (I've sudo apt-get install libeigen3-dev)

Anyone have any suggestions? Trawling the net hasn't yet yielded a definitive answer. I wonder if there's something wrong in the make files.

Many Thanks

Mark

Compile output:

==> Processing catkin package: 'robot_state_publisher'
==> Building with env: '/opt/ros/kinetic/env.sh'
==> cmake /home/pi/ros_catkin_ws_2/src/robot_state_publisher -DCATKIN_DEVEL_PREFIX=/home/pi/ros_catkin_ws_2/devel_isolated/robot_state_publisher -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic -DCMAKE_BUILD_TYPE=Release -G     Unix Makefiles in '/home/pi/ros_catkin_ws_2/build_isolated/robot_state_publisher'
-- Using CATKIN_DEVEL_PREFIX: /home/pi/ros_catkin_ws_2/devel_isolated/robot_state_publisher
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
 -- Using Debian Python package layout
 -- Using empy: /usr/bin/empy
 -- Using CATKIN_ENABLE_TESTING: ON
 -- Call enable_testing()
 -- Using CATKIN_TEST_RESULTS_DIR: /home/pi/ros_catkin_ws_2/build_isolated/robot_state_publisher/test_results
 -- Found gtest sources under '/usr/src/gtest': gtests will be built
 -- Using Python nosetests: /usr/bin/nosetests-2.7
 -- catkin 0.7.4
 -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at CMakeLists.txt:8 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH 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 CMAKE_PREFIX_PATH 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/ros_catkin_ws_2/build_isolated/robot_state_publisher/CMakeFiles/CMakeOutput.log".
See also "/home/pi/ros_catkin_ws_2/build_isolated/robot_state_publisher/CMakeFiles/CMakeError.log".
<== Failed to process package 'robot_state_publisher':
Command '['/opt/ros/kinetic/env.sh', 'cmake', '/home/pi/ros_catkin_ws_2/src/robot_state_publisher', '-DCATKIN_DEVEL_PREFIX=/home/pi/ros_catkin_ws_2/devel_isolated/robot_state_publisher', '-DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-08-30 07:41:03 -0500

baqwas gravatar image
# Download
git clone --single-branch --depth=1 --branch "$version" \
    https://gitlab.com/libeigen/eigen.git
mkdir eigen/build && cd $_
# Configure
cmake .. \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX="$prefix"
# Install
make install
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-01-24 05:25:51 -0500

Seen: 495 times

Last updated: Aug 30 '22