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

hector_localization build error

asked 2014-12-01 11:51:48 -0600

tinytron gravatar image

Hi again,

trying to catkin_make the hector_localization package in ROS Hydro on Ubuntu 12.04 I get the following errors:

CMake Error at /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a configuration file for package geographic_msgs.

  Set geographic_msgs_DIR to the directory containing a CMake configuration
  file for geographic_msgs.  The file will have one of the following names:

    geographic_msgsConfig.cmake
    geographic_msgs-config.cmake

Call Stack (most recent call first):
  hector_localization/hector_pose_estimation_core/CMakeLists.txt:7 (find_package)


-- Eigen found (include: /usr/include/eigen3)
-- CMAKE_BUILD_TYPE:               RelWithDebInfo
-- CMAKE_CXX_FLAGS_RELEASE:        -O3 -DNDEBUG
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O3 -g -DNDEBUG
-- CMAKE_CXX_FLAGS_MINSIZEREL:     -Os -DNDEBUG
-- CMAKE_CXX_FLAGS_DEBUG:          -g
-- +++ processing catkin package: 'hector_pose_estimation'
-- ==> add_subdirectory(hector_localization/hector_pose_estimation)
-- Using these message generators: gencpp;genlisp;genpy
CMake Error at /home/tinytron/catkin_ws/devel/share/hector_pose_estimation_core/cmake/hector_pose_estimation_coreConfig.cmake:165 (find_package):
  Could not find module Findgeographic_msgs.cmake or a configuration file for
  package geographic_msgs.

  Adjust CMAKE_MODULE_PATH to find Findgeographic_msgs.cmake or set
  geographic_msgs_DIR to the directory containing a CMake configuration file
  for geographic_msgs.  The file will have one of the following names:

    geographic_msgsConfig.cmake
    geographic_msgs-config.cmake

Call Stack (most recent call first):
  /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:75 (find_package)
  hector_localization/hector_pose_estimation/CMakeLists.txt:7 (find_package)

Any idea how to fix it?

edit retag flag offensive close merge delete

Comments

1

Do you have all dependencies installed? Especially "geographic_msgs"?

Dirk Thomas gravatar image Dirk Thomas  ( 2014-12-01 12:12:51 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-12-02 03:49:00 -0600

tinytron gravatar image

Well, what solved the problem was manually installing two packages from git.

Namely geographic_msgs and uuid_msgs.

I'm not quite sure why those went missing but now hector_localization compiled.

Thanks Dirk!

edit flag offensive delete link more

Comments

I am completely new to the structure of GitHub and of repositories, in general. Which commands did you use to install the geographic_msgs and uuid_msgs?

Thanks!

The_Mad_Geometer gravatar image The_Mad_Geometer  ( 2015-08-27 07:54:13 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-12-01 11:51:48 -0600

Seen: 1,038 times

Last updated: Dec 02 '14