hector_slamを使用したいため、以下のコマンドで~/catkin_ws/srcにおいてgit cloneしました。
git clone
https://github.com/tu-darmstadt-ros-pkg/hector_slam.gitそのあと、~/catkin_wsにおいて、catkin_makeをしました。
すると、いかのようなエラーが表示されました。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
Base path: /home/ros1/catkin_ws
Source space: /home/ros1/catkin_ws/src
Build space: /home/ros1/catkin_ws/build
Devel space: /home/ros1/catkin_ws/devel
Install space: /home/ros1/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/ros1/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/ros1/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/ros1/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/ros1/catkin_ws/devel;/opt/ros/indigo
-- 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/ros1/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.18
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 13 packages in topological order:
-- ~~ - hector_slam (metapackage)
-- ~~ - hector_slam_launch
-- ~~ - hector_map_tools
-- ~~ - hector_nav_msgs
-- ~~ - hector_geotiff
-- ~~ - hector_geotiff_plugins
-- ~~ - hector_marker_drawing
-- ~~ - hector_compressed_map_transport
-- ~~ - hector_imu_attitude_to_tf
-- ~~ - hector_imu_tools
-- ~~ - hector_map_server
-- ~~ - hector_trajectory_server
-- ~~ - hector_mapping
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'hector_slam'
-- ==> add_subdirectory(hector_slam/hector_slam)
-- +++ processing catkin package: 'hector_slam_launch'
-- ==> add_subdirectory(hector_slam/hector_slam_launch)
-- +++ processing catkin package: 'hector_map_tools'
-- ==> add_subdirectory(hector_slam/hector_map_tools)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'hector_nav_msgs'
-- ==> add_subdirectory(hector_slam/hector_nav_msgs)
-- Using these message generators: gencpp;genlisp;genpy
-- hector_nav_msgs: 0 messages, 5 services
-- +++ processing catkin package: 'hector_geotiff'
-- ==> add_subdirectory(hector_slam/hector_geotiff)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'hector_geotiff_plugins'
-- ==> add_subdirectory(hector_slam/hector_geotiff_plugins)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'hector_marker_drawing'
-- ==> add_subdirectory(hector_slam/hector_marker_drawing)
-- +++ processing catkin package: 'hector_compressed_map_transport'
-- ==> add_subdirectory(hector_slam/hector_compressed_map_transport)
-- Using these message generators: gencpp;genlisp;genpy
-- OpenCV ARCH:
-- OpenCV RUNTIME:
-- OpenCV STATIC: OFF
CMake Warning at /home/ros1/opencv-2.4.11/cmake/OpenCVConfig.cmake:161 (message):
Found OpenCV Windows Pack but it has not binaries compatible with your
configuration.
You should manually point CMake variable OpenCV_DIR to your build of OpenCV
library.
Call Stack (most recent call first):
hector_slam/hector_compressed_map_transport/CMakeLists.txt:25 (find_package)
CMake Error at hector_slam/hector_compressed_map_transport/CMakeLists.txt:25 (find_package):
Found package configuration file:
/home/ros1/opencv-2.4.11/cmake/OpenCVConfig.cmake
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.
-- Configuring incomplete, errors occurred!
See also "/home/ros1/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ros1/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] エラー 1
Invoking "make cmake_check_build_system" failed
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
これはなぜでしょうか?わかる人がいらっしゃいましたら、ご教授おねがいします。