[SOLVED] Crazyflie ROS Stack "cmake failure"
Posted: Fri Jan 18, 2019 9:58 pm
Hi All,
I am attempting to setup the crazyfle software on a Linux system running ubuntu 16.04 LTS and ROS Kinetic.
As I am quite so unfamiliar with the operating system itself and also ROS, I have therefore done some background research and familiarised myself with the basics. Now, I am utilising one particular publication to download the crazyflie software and get it running on my PC. However I have ran into an error which I don't entirely understand or know how to go about fixing.
I am using this publication ("Flying Multiple UAVs Using ROS" - http://act.usc.edu/publications/Hoenig_ ... OS2017.pdf) to help support the setup of the software. I have, so far, successfully completed the instructions up until and including section 3.3. When executing the following commands as part of section 3.4
$ git clone https://github.com/whoenig/crazyflie_ros.git
$ cd ~/crazyflie_ws
$ catkin_make
I encounter the following error message in the command window
Base path: /home/huzayfaa/crazyflie_ws
Source space: /home/huzayfaa/crazyflie_ws/src
Build space: /home/huzayfaa/crazyflie_ws/build
Devel space: /home/huzayfaa/crazyflie_ws/devel
Install space: /home/huzayfaa/crazyflie_ws/install
####
#### Running command: "cmake /home/huzayfaa/crazyflie_ws/src -DCATKIN_DEVEL_PREFIX=/home/huzayfaa/crazyflie_ws/devel -DCMAKE_INSTALL_PREFIX=/home/huzayfaa/crazyflie_ws/install -G Unix Makefiles" in "/home/huzayfaa/crazyflie_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/huzayfaa/crazyflie_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- 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/huzayfaa/crazyflie_ws/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.14
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 5 packages in topological order:
-- ~~ - crazyflie (metapackage)
-- ~~ - crazyflie_description
-- ~~ - crazyflie_demo
-- ~~ - crazyflie_controller
-- ~~ - crazyflie_driver
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'crazyflie'
-- ==> add_subdirectory(crazyflie_ros/crazyflie)
-- +++ processing catkin package: 'crazyflie_description'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_description)
-- +++ processing catkin package: 'crazyflie_demo'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_demo)
-- +++ processing catkin package: 'crazyflie_controller'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_controller)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'crazyflie_driver'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_driver)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "crazyflie_cpp"
with any of the following names:
crazyflie_cppConfig.cmake
crazyflie_cpp-config.cmake
Add the installation prefix of "crazyflie_cpp" to CMAKE_PREFIX_PATH or set
"crazyflie_cpp_DIR" to a directory containing one of the above files. If
"crazyflie_cpp" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
crazyflie_ros/crazyflie_driver/CMakeLists.txt:7 (find_package)
-- Could not find the required component 'crazyflie_cpp'. The following CMake error indicates that you either 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 "crazyflie_cpp"
with any of the following names:
crazyflie_cppConfig.cmake
crazyflie_cpp-config.cmake
Add the installation prefix of "crazyflie_cpp" to CMAKE_PREFIX_PATH or set
"crazyflie_cpp_DIR" to a directory containing one of the above files. If
"crazyflie_cpp" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
crazyflie_ros/crazyflie_driver/CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/huzayfaa/crazyflie_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/huzayfaa/crazyflie_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I have also attached the two files that the code above refers to.
I would very much appreciate any help. Thank in advance for your time and support!
Thanks,
Huzayfaa
p.s. if this matter should have been posted elsewhere please let me know and I'd be more than happy to remove the post from here and re-post it under a different forum - sorry.
I am attempting to setup the crazyfle software on a Linux system running ubuntu 16.04 LTS and ROS Kinetic.
As I am quite so unfamiliar with the operating system itself and also ROS, I have therefore done some background research and familiarised myself with the basics. Now, I am utilising one particular publication to download the crazyflie software and get it running on my PC. However I have ran into an error which I don't entirely understand or know how to go about fixing.
I am using this publication ("Flying Multiple UAVs Using ROS" - http://act.usc.edu/publications/Hoenig_ ... OS2017.pdf) to help support the setup of the software. I have, so far, successfully completed the instructions up until and including section 3.3. When executing the following commands as part of section 3.4
$ git clone https://github.com/whoenig/crazyflie_ros.git
$ cd ~/crazyflie_ws
$ catkin_make
I encounter the following error message in the command window
Base path: /home/huzayfaa/crazyflie_ws
Source space: /home/huzayfaa/crazyflie_ws/src
Build space: /home/huzayfaa/crazyflie_ws/build
Devel space: /home/huzayfaa/crazyflie_ws/devel
Install space: /home/huzayfaa/crazyflie_ws/install
####
#### Running command: "cmake /home/huzayfaa/crazyflie_ws/src -DCATKIN_DEVEL_PREFIX=/home/huzayfaa/crazyflie_ws/devel -DCMAKE_INSTALL_PREFIX=/home/huzayfaa/crazyflie_ws/install -G Unix Makefiles" in "/home/huzayfaa/crazyflie_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/huzayfaa/crazyflie_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- 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/huzayfaa/crazyflie_ws/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.14
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 5 packages in topological order:
-- ~~ - crazyflie (metapackage)
-- ~~ - crazyflie_description
-- ~~ - crazyflie_demo
-- ~~ - crazyflie_controller
-- ~~ - crazyflie_driver
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'crazyflie'
-- ==> add_subdirectory(crazyflie_ros/crazyflie)
-- +++ processing catkin package: 'crazyflie_description'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_description)
-- +++ processing catkin package: 'crazyflie_demo'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_demo)
-- +++ processing catkin package: 'crazyflie_controller'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_controller)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'crazyflie_driver'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_driver)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "crazyflie_cpp"
with any of the following names:
crazyflie_cppConfig.cmake
crazyflie_cpp-config.cmake
Add the installation prefix of "crazyflie_cpp" to CMAKE_PREFIX_PATH or set
"crazyflie_cpp_DIR" to a directory containing one of the above files. If
"crazyflie_cpp" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
crazyflie_ros/crazyflie_driver/CMakeLists.txt:7 (find_package)
-- Could not find the required component 'crazyflie_cpp'. The following CMake error indicates that you either 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 "crazyflie_cpp"
with any of the following names:
crazyflie_cppConfig.cmake
crazyflie_cpp-config.cmake
Add the installation prefix of "crazyflie_cpp" to CMAKE_PREFIX_PATH or set
"crazyflie_cpp_DIR" to a directory containing one of the above files. If
"crazyflie_cpp" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
crazyflie_ros/crazyflie_driver/CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/huzayfaa/crazyflie_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/huzayfaa/crazyflie_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I have also attached the two files that the code above refers to.
I would very much appreciate any help. Thank in advance for your time and support!
Thanks,
Huzayfaa
p.s. if this matter should have been posted elsewhere please let me know and I'd be more than happy to remove the post from here and re-post it under a different forum - sorry.