Unknown CMake command "ecl_detect_filesystem".

asked 2016-03-08 21:35:02 -0600

Asaad Irfan gravatar image

updated 2016-03-08 21:39:41 -0600

I'm trying to build my turtlebot_arm package on ROS Hydro (Ubuntu 12.04) using

catkin_make

but i get the following error:

asaad@VAIO:~/turtlebot_arm$ catkin_make
Base path: /home/asaad/turtlebot_arm
Source space: /home/asaad/turtlebot_arm/src
Build space: /home/asaad/turtlebot_arm/build
Devel space: /home/asaad/turtlebot_arm/devel
Install space: /home/asaad/turtlebot_arm/install
####
#### Running command: "make cmake_check_build_system" in "/home/asaad/turtlebot_arm/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/asaad/turtlebot_arm/devel
-- Using CMAKE_PREFIX_PATH: /home/asaad/turtlebot_arm/devel;/home/asaad/ecto_image_pipeline/devel;/opt/ros/hydro
-- This workspace overlays: /home/asaad/turtlebot_arm/devel;/home/asaad/ecto_image_pipeline/devel;/opt/ros/hydro
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/asaad/turtlebot_arm/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.90
-- BUILD_SHARED_LIBS is on
WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 75 packages in topological order:
-- ~~  - arbotix (metapackage)
-- ~~  - arbotix_controllers
-- ~~  - arbotix_firmware
-- ~~  - arbotix_python
-- ~~  - arbotix_sensors
-- ~~  - ecl_core (metapackage)
-- ~~  - ecl_command_line
-- ~~  - ecl_eigen
-- ~~  - ecl_exceptions
-- ~~  - ecl_filesystem
-- ~~  - ecl_mpl
-- ~~  - ecl_time
-- ~~  - ecl_ipc
-- ~~  - ecl_type_traits
-- ~~  - ecl_concepts
-- ~~  - ecl_converters
-- ~~  - ecl_formatters
-- ~~  - ecl_math
-- ~~  - ecl_linear_algebra
-- ~~  - ecl_statistics
-- ~~  - ecl_utilities
-- ~~  - ecl_containers
-- ~~  - ecl_geometry
-- ~~  - ecl_threads
-- ~~  - ecl_devices
-- ~~  - ecl_sigslots
-- ~~  - ecl_streams
-- ~~  - ecl_core_apps
-- ~~  - roslint
-- ~~  - rospeex (metapackage)
-- ~~  - rospeex_audiomonitor
-- ~~  - rospeex_launch
-- ~~  - arbotix_msgs
-- ~~  - linux_hardware
-- ~~  - rospeex_msgs
-- ~~  - turtlebot (metapackage)
-- ~~  - turtlebot_arm (metapackage)
-- ~~  - turtlebot_arm_bringup
-- ~~  - turtlebot_arm_description
-- ~~  - turtlebot_arm_moveit_demos
-- ~~  - turtlebot_bringup
-- ~~  - turtlebot_capabilities
-- ~~  - turtlebot_dashboard
-- ~~  - turtlebot_rviz_launchers
-- ~~  - turtlebot_viz (metapackage)
-- ~~  - rospeex_core
-- ~~  - rospeex_if
-- ~~  - rospeex_samples
-- ~~  - rospeex_webaudiomonitor
-- ~~  - turtlebot_arm_kinect_calibration
-- ~~  - turtlebot_interactive_markers
-- ~~  - turtlebot_arm_ikfast_plugin
-- ~~  - turtlebot_arm_block_manipulation
-- ~~  - turtlebot_arm_moveit_config
-- ~~  - turtlebot_description
-- ~~  - yocs_ar_pair_approach
-- ~~  - yocs_cmd_vel_mux
-- ~~  - yocs_controllers
-- ~~  - yocs_keyop
-- ~~  - yocs_localization_manager
-- ~~  - yocs_math_toolkit
-- ~~  - yocs_ar_marker_tracking
-- ~~  - yocs_diff_drive_pose_controller
-- ~~  - yocs_msgs
-- ~~  - yocs_ar_pair_tracking
-- ~~  - yocs_joyop
-- ~~  - yocs_navi_toolkit
-- ~~  - yocs_navigator
-- ~~  - yocs_rapps
-- ~~  - yocs_safety_controller
-- ~~  - yocs_velocity_smoother
-- ~~  - yocs_virtual_sensor
-- ~~  - yocs_waypoint_provider
-- ~~  - yocs_waypoints_navi
-- ~~  - yujin_ocs (metapackage)
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'arbotix'
-- ==> add_subdirectory(arbotix_ros/arbotix)
-- +++ processing catkin package: 'arbotix_controllers'
-- ==> add_subdirectory(arbotix_ros/arbotix_controllers)
-- +++ processing catkin package: 'arbotix_firmware'
-- ==> add_subdirectory(arbotix_ros/arbotix_firmware)
-- +++ processing catkin package: 'arbotix_python'
-- ==> add_subdirectory(arbotix_ros/arbotix_python)
-- +++ processing catkin package: 'arbotix_sensors'
-- ==> add_subdirectory(arbotix_ros/arbotix_sensors)
-- +++ processing catkin metapackage: 'ecl_core'
-- ==> add_subdirectory(ecl_core/ecl_core)
-- +++ processing catkin package: 'ecl_command_line'
-- ==> add_subdirectory(ecl_core/ecl_command_line)
-- +++ processing catkin package: 'ecl_eigen'
-- ==> add_subdirectory(ecl_core/ecl_eigen)
-- Eigen found (include: /usr/include/eigen3)
-- +++ processing catkin package: 'ecl_exceptions'
-- ==> add_subdirectory(ecl_core/ecl_exceptions)
-- +++ processing catkin package: 'ecl_filesystem'
-- ==> add_subdirectory(ecl_core/ecl_filesystem)
CMake Error at ecl_core/ecl_filesystem/CMakeLists.txt:18 (ecl_detect_filesystem):
  Unknown CMake command "ecl_detect_filesystem".


-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

I've tried reinstalling all ecl packages using

sudo apt-get install ros-hydro-ecl-*

but this doesnt solve the problem either.

edit retag flag offensive close merge delete

Comments

A quick google search turns up: http://stackoverflow.com/questions/31... which suggests that you don't need to have ecl_core in your workspace.

ahendrix gravatar image ahendrix  ( 2016-03-08 22:04:00 -0600 )edit

I install kobuki in indiigo,i get the same error. Merged ecl_core and ecl_navigation in kobuki/src,when I used catkin_make,error occcured CMake Error at ecl_core/ecl_filesystem/CMakeLists.txt:22 (ecl_detect_filesystem): Unknown CMake command "ecl_detect_filesystem". Do you have solved the problem?

captainyao gravatar image captainyao  ( 2018-03-13 21:43:37 -0600 )edit