Rosanswers logo

I am building from source with an isolated catkin workspace. I wonder why it throws "not a catkin package", although catkin_make_isolated is supposed to build plain cmake projects, too.

-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /ws/catkin/build_isolated/eigen_conversions/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.88
CMake Error at /ws/catkin/src/catkin/cmake/catkin_package.cmake:176 (message):
  catkin_package() CATKIN_DEPENDS on 'orocos_kdl', which has been found in
  '/ws/catkin/build_isolated/orocos_kdl/devel/orocos_kdl-config.cmake', but
  it is not a catkin package
Call Stack (most recent call first):

  /ws/catkin/src/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  CMakeLists.txt:10 (catkin_package)

-- Configuring incomplete, errors occurred!
See also "/ws/catkin/build_isolated/eigen_conversions/CMakeFiles/CMakeOutput.log".
See also "/ws/catkin/build_isolated/eigen_conversions/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
<== Failed to process package 'eigen_conversions': 
  Command '/ws/catkin/devel_isolated/geometry_msgs/env.sh make cmake_check_build_system' returned non-zero exit status 2

Originally posted by Long Hoang on ROS Answers with karma: 38 on 2014-08-08

Post score: 1

Original comments

Comment by ahendrix on 2014-08-11:
Which version of ROS are you using? Which version of eigen_conversions are you trying to build? I ask because it looks like orocos_kdl moved from a catkin package to a cmake package between Groovy and Hydro.


1 Answer 1


Rosanswers logo

catkin_make_isolated is fine to build packages which are not catkin packages.

Your problem is that you cannot use a CATKIN_DEPENDS on a non-catkin package. You have to use DEPENDS. catkin CMakeLists.txt documentation

Originally posted by tfoote with karma: 58457 on 2014-08-09

This answer was ACCEPTED on the original site

Post score: 0


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.