0

我是 ROS 的新手,我得到了一个工作区,我需要对其进行编译并用于大学项目。尝试使用catkin_make编译此工作区时,出现以下错误:

CMake Error at ecl_core/src/ecl_core/ecl_filesystem/CMakeLists.txt:18   
(ecl_detect_filesystem):
Unknown CMake command "ecl_detect_filesystem".

这是完整的输出:

####
#### Running command: "make cmake_check_build_system" in "/home/celsoluiz81/ros_catkin_ws/fendt_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/celsoluiz81/ros_catkin_ws/fendt_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /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/celsoluiz81/ros_catkin_ws/fendt_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.14
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 30 packages in topological order:
-- ~~  - 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_linear_algebra
-- ~~  - ecl_math
-- ~~  - ecl_statistics
-- ~~  - ecl_utilities
-- ~~  - ecl_containers
-- ~~  - ecl_geometry
-- ~~  - ecl_threads
-- ~~  - ecl_devices
-- ~~  - ecl_sigslots
-- ~~  - ecl_streams
-- ~~  - ecl_core_apps
-- ~~  - comm
-- ~~  - geometry_helpers
-- ~~  - odom
-- ~~  - path_planner
-- ~~  - path_controller
-- ~~  - task_controller
-- ~~  - gazebo_simulation
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'ecl_core'
-- ==> add_subdirectory(ecl_core/src/ecl_core/ecl_core)
-- +++ processing catkin package: 'ecl_command_line'
-- ==> add_subdirectory(ecl_core/src/ecl_core/ecl_command_line)
-- +++ processing catkin package: 'ecl_eigen'
-- ==> add_subdirectory(ecl_core/src/ecl_core/ecl_eigen)
-- Eigen found (include: /usr/include/eigen3)
-- +++ processing catkin package: 'ecl_exceptions'
-- ==> add_subdirectory(ecl_core/src/ecl_core/ecl_exceptions)
-- +++ processing catkin package: 'ecl_filesystem'
-- ==> add_subdirectory(ecl_core/src/ecl_core/ecl_filesystem)
CMake Error at ecl_core/src/ecl_core/ecl_filesystem/CMakeLists.txt:18 (ecl_detect_filesystem):
Unknown CMake command "ecl_detect_filesystem".

我曾尝试使用apt-get安装包 ecl_filesystem ,但它无法通过存储库安装。

ecl_filesystem 文件似乎存在于我正在尝试构建的工作空间中,但我无法在 /op/ros/indigo 下的 ROS 安装中的任何位置找到它们。

我确信这是一个很容易解决的问题,但到目前为止我的尝试都没有成功。我相信 cmake 只在我的 ROS 安装目录中查找包,而不是在我的工作区本地查找。

有人可以指出我解决这个问题的正确方向吗?我正在使用Ubuntu 14.04 LTS任何帮助将不胜感激。

4

0 回答 0