wg-perception/ros-object_recognition — Issue #1: ecto-config.cmake and ecto-extras.cmake contain wrong paths
Author: stwirth
Created: 2012-03-07 10:10:56+00:00
State: open

Version 0.3.1 of ros-electric-object-recognition contains wrong hardcoded paths in ecto-config.cmake and ecto-extras.cmake.
Trying to use ecto from this stack fails:

$ cd /tmp/hello_ecto/build
$ export ecto_DIR=/opt/ros/electric/stacks/object_recognition/object_recognition_core/share/ecto
$ cmake ..
CMake Error at /opt/ros/electric/stacks/object_recognition/object_recognition_core/share/ecto/cmake/ecto-config.cmake:17 (message):
Library 'ecto' in package ecto is not installed properly
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred!
Trying to fix this using $ENV{ROS_ROOT} to find the files I found out that ecto/boost-config.hpp includes catkin/boost-config.hpp. However, catkin does not seem to be included in the stack.