Home > other >  GuYueJu ros integrated application of robot
GuYueJu ros integrated application of robot

Time:09-30

when doing the compilation appear this kind of circumstance,

Could not find the required component 'ecl_threads'. The following CMake error are that either the need to install the package with the same name or change your environment so that it can be found.
CMake Error at/opt/ros/kinetic/share/catkin/CMake/catkinConfig CMake: 83 (find_package) :
Could not find a package configuration file provided by "ecl_threads" with
Any of the following names:

Ecl_threadsConfig. Cmake
Ecl_threads - config. Cmake

Add the installation the prefix of "ecl_threads" to CMAKE_PREFIX_PATH or set
"Ecl_threads_DIR" to a directory containing one of the above files. If
"Ecl_threads" provides a separate development package or SDK, be sure it
Has had been installed.
The Call Stack (the most recent Call first) :
Follower_velocity_smoother/CMakeLists. TXT: 3 (find_package)


- you incomplete, errors occurred!
See also "/home/a/catkin_ws/build/CMakeFiles/CMakeOutput log".
See also "/home/a/catkin_ws/build/CMakeFiles/CMakeError log".
Makefile: 2488: the recipe for target 'cmake_check_build_system failed
Make: * * * [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed



open CMakelists file don't know where there's a problem, ask for help!!!!!!!!!!!


below CMakelists file content

# toplevel CMakeLists. TXT for a catkin workspace
# catkin/cmake/toplevel. Cmake

Cmake_minimum_required (VERSION 2.8.3)

Set (CATKIN_TOPLEVEL TRUE)

# search for catkin within the workspace
Set (_cmd "catkin_find_pkg" "catkin" "${CMAKE_SOURCE_DIR}")
Execute_process (COMMAND ${_cmd}
RESULT_VARIABLE _res
OUTPUT_VARIABLE _outCould not find the required component 'ecl_threads'. The following CMake error are that either the need to install the package with the same name or change your environment so that it can be found.
CMake Error at/opt/ros/kinetic/share/catkin/CMake/catkinConfig CMake: 83 (find_package) :
Could not find a package configuration file provided by "ecl_threads" with
Any of the following names:

Ecl_threadsConfig. Cmake
Ecl_threads - config. Cmake

Add the installation the prefix of "ecl_threads" to CMAKE_PREFIX_PATH or set
"Ecl_threads_DIR" to a directory containing one of the above files. If
"Ecl_threads" provides a separate development package or SDK, be sure it
Has had been installed.
The Call Stack (the most recent Call first) :
Follower_velocity_smoother/CMakeLists. TXT: 3 (find_package)


- you incomplete, errors occurred!
See also "/home/a/catkin_ws/build/CMakeFiles/CMakeOutput log".
See also "/home/a/catkin_ws/build/CMakeFiles/CMakeError log".
Makefile: 2488: the recipe for target 'cmake_check_build_system failed
Make: * * * [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

ERROR_VARIABLE _err
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_STRIP_TRAILING_WHITESPACE
)
If (NOT _res EQUAL 0 AND NOT _res EQUAL 2)
# the searching fot catkin resulted in an error
String (REPLACE ";" "" _cmd_str" ${_cmd} ")
The message (FATAL_ERROR "Search for 'catkin in the workspace failed (${_cmd_str}) : ${_err}")
Endif ()

# include catkin from the workspace or via find_package ()
If (_res EQUAL 0)
Set (catkin_EXTRAS_DIR "${CMAKE_SOURCE_DIR}/${_out}/cmake")
# include all. Cmake without add_subdirectory to let it operate in same scope
Include (${catkin_EXTRAS_DIR}/all. Cmake NO_POLICY_SCOPE)
Add_subdirectory (" ${_out} ")

The else ()
# use either CMAKE_PREFIX_PATH explicitly passed to CMake as a command line argument
# or CMAKE_PREFIX_PATH from the environment
If (NOT DEFINED CMAKE_PREFIX_PATH)
If (NOT "$ENV {CMAKE_PREFIX_PATH}" STREQUAL "")
If (NOT the WIN32)
String (REPLACE ":" ";" CMAKE_PREFIX_PATH $ENV {CMAKE_PREFIX_PATH})
The else ()
The set ($ENV CMAKE_PREFIX_PATH {CMAKE_PREFIX_PATH})
Endif ()
Endif ()
Endif ()

# list of catkin machine-specific
Set (catkin_search_path "")
Foreach (path ${CMAKE_PREFIX_PATH})
If (EXISTS "${path}/. Catkin")
The list (FIND catkin_search_path ${path} _index)
If (_index EQUAL 1)
The list (APPEND catkin_search_path ${path})
Endif ()
Endif ()
Endforeach ()

# search for catkin in all workspaces
Set (CATKIN_TOPLEVEL_FIND_PACKAGE TRUE)
Find_package (catkin QUIET
NO_POLICY_SCOPE
PATHS ${catkin_search_path}
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
The unset (CATKIN_TOPLEVEL_FIND_PACKAGE)

If (NOT catkin_FOUND)
nullnullnullnullnull
  • Related