build and install on Jetson Tk1 board failed

385 views
Skip to first unread message

Longxiang Wang

unread,
Oct 24, 2016, 10:10:14 AM10/24/16
to google-cartographer
Hi there,
i have been following the tutorial on this link (https://google-cartographer-ros.readthedocs.io/en/latest/index.html) to install Cartography on Nvidia Jetson Tk1 board,
everything runs fine except the last step:
catkin_make_isolated --install --use-ninja
the error message is:
CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "tf2_eigen" with
  any of the following names:

    tf2_eigenConfig.cmake
    tf2_eigen-config.cmake

  Add the installation prefix of "tf2_eigen" to CMAKE_PREFIX_PATH or set
  "tf2_eigen_DIR" to a directory containing one of the above files.  If
  "tf2_eigen" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:38 (find_package)


-- Could not find the required component 'tf2_eigen'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "tf2_eigen" with
  any of the following names:

    tf2_eigenConfig.cmake
    tf2_eigen-config.cmake

  Add the installation prefix of "tf2_eigen" to CMAKE_PREFIX_PATH or set
  "tf2_eigen_DIR" to a directory containing one of the above files.  If
  "tf2_eigen" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:38 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/catkin_ws/build_isolated/cartographer_ros/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/catkin_ws/build_isolated/cartographer_ros/CMakeFiles/CMakeError.log".
<== Failed to process package 'cartographer_ros': 
  Command '['/home/ubuntu/catkin_ws/install_isolated/env.sh', 'cmake', '/home/ubuntu/catkin_ws/src/cartographer_ros/cartographer_ros', '-DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel_isolated/cartographer_ros', '-DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install_isolated', '-G', 'Ninja']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/ubuntu/catkin_ws/build_isolated/cartographer_ros && /home/ubuntu/catkin_ws/install_isolated/env.sh cmake /home/ubuntu/catkin_ws/src/cartographer_ros/cartographer_ros -DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel_isolated/cartographer_ros -DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install_isolated -G Ninja

Command failed, exiting.
can anyone help?
Thanks in advance!



Holger Rapp

unread,
Oct 25, 2016, 5:17:10 AM10/25/16
to Longxiang Wang, google-cartographer
​You are missing ​http://wiki.ros.org/tf2_eigen. Probably other ros stuff too. install the ros-*-desktop package and it should be contained.


--
You received this message because you are subscribed to the Google Groups "google-cartographer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cartographer+unsub...@googlegroups.com.
To post to this group, send email to google-cartographer@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cartographer/844b904b-63d7-48d1-b604-f90c5401bb5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Google Germany GmbH
Erika-Mann-Straße 33
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle


Reply all
Reply to author
Forward
0 new messages