Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin_make error! #98

Open
lkyfly0765 opened this issue Dec 6, 2018 · 2 comments
Open

catkin_make error! #98

lkyfly0765 opened this issue Dec 6, 2018 · 2 comments

Comments

@lkyfly0765
Copy link

lkyfly0765 commented Dec 6, 2018

eric@eric-ThinkPad-S2:~/crazyflie_ws$ catkin_make
Base path: /home/eric/crazyflie_ws
Source space: /home/eric/crazyflie_ws/src
Build space: /home/eric/crazyflie_ws/build
Devel space: /home/eric/crazyflie_ws/devel
Install space: /home/eric/crazyflie_ws/install

Running command: "cmake /home/eric/crazyflie_ws/src -DCATKIN_DEVEL_PREFIX=/home/eric/crazyflie_ws/devel -DCMAKE_INSTALL_PREFIX=/home/eric/crazyflie_ws/install -G Unix Makefiles" in "/home/eric/crazyflie_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/eric/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/eric/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 20 packages in topological order:
-- ~~ - crazyflie (metapackage)
-- ~~ - crazyflie_cpp
-- ~~ - crazyflie_description
-- ~~ - crazyflie_tools
-- ~~ - hector_quadrotor
-- ~~ - hector_quadrotor_demo
-- ~~ - hector_quadrotor_description
-- ~~ - hector_uav_msgs
-- ~~ - crazyflie_demo
-- ~~ - hector_quadrotor_model
-- ~~ - crazyflie_controller
-- ~~ - crazyflie_driver
-- ~~ - hector_quadrotor_gazebo_plugins
-- ~~ - hector_quadrotor_pose_estimation
-- ~~ - hector_quadrotor_interface
-- ~~ - hector_quadrotor_actions
-- ~~ - hector_quadrotor_controllers
-- ~~ - hector_quadrotor_teleop
-- ~~ - hector_quadrotor_controller_gazebo
-- ~~ - hector_quadrotor_gazebo
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'crazyflie'
-- ==> add_subdirectory(crazyflie_ros/crazyflie)
-- +++ processing catkin package: 'crazyflie_cpp'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_cpp)
Using ROS (catkin_make)
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
catkin_package() DEPENDS on '/usr/lib/x86_64-linux-gnu/libusb-1.0.so' but
neither '/usr/lib/x86_64-linux-gnu/libusb-1.0.so_INCLUDE_DIRS' nor
'/usr/lib/x86_64-linux-gnu/libusb-1.0.so_LIBRARIES' is defined.
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
crazyflie_ros/crazyflie_cpp/ROS.cmake:18 (catkin_package)
crazyflie_ros/crazyflie_cpp/CMakeLists.txt:6 (include)

-- +++ processing catkin package: 'crazyflie_description'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_description)
-- +++ processing catkin package: 'crazyflie_tools'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_tools)
Using ROS (catkin_make)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- program_options
-- +++ processing catkin package: 'hector_quadrotor'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor)
-- +++ processing catkin package: 'hector_quadrotor_demo'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_demo)
-- +++ processing catkin package: 'hector_quadrotor_description'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_description)
-- +++ processing catkin package: 'hector_uav_msgs'
-- ==> add_subdirectory(hector_quadrotor/hector_uav_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Generating .msg files for action hector_uav_msgs/Pose /home/eric/crazyflie_ws/src/hector_quadrotor/hector_uav_msgs/action/Pose.action
Generating for action Pose
-- Generating .msg files for action hector_uav_msgs/Landing /home/eric/crazyflie_ws/src/hector_quadrotor/hector_uav_msgs/action/Landing.action
Generating for action Landing
-- Generating .msg files for action hector_uav_msgs/Takeoff /home/eric/crazyflie_ws/src/hector_quadrotor/hector_uav_msgs/action/Takeoff.action
Generating for action Takeoff
-- hector_uav_msgs: 42 messages, 1 services
-- +++ processing catkin package: 'crazyflie_demo'
-- ==> add_subdirectory(crazyflie_ros/crazyflie_demo)
-- +++ processing catkin package: 'hector_quadrotor_model'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_model)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- thread
-- chrono
-- system
-- date_time
-- atomic
-- +++ 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
-- crazyflie_driver: 7 messages, 11 services
-- +++ processing catkin package: 'hector_quadrotor_gazebo_plugins'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_gazebo_plugins)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- thread
-- signals
-- system
-- filesystem
-- program_options
-- regex
-- iostreams
-- date_time
-- chrono
-- atomic
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so
-- Boost version: 1.58.0
-- Looking for OGRE...
-- OGRE_PREFIX_WATCH changed.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'OGRE'
-- Found OGRE, version 1.9.0
-- Found Ogre Ghadamon (1.9.0)
-- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- Looking for OGRE_Volume...
-- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
-- Looking for OGRE_Overlay...
-- Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
-- Gazebo version: 7.0
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'hector_quadrotor_pose_estimation'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_pose_estimation)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'hector_quadrotor_interface'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_interface)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- +++ processing catkin package: 'hector_quadrotor_actions'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_actions)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'hector_quadrotor_controllers'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_controllers)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'hector_quadrotor_teleop'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_teleop)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:22 (add_executable):
add_executable cannot create target "quadrotor_teleop" because another
target with the same name already exists. The existing target is an
executable created in source directory
"/home/eric/crazyflie_ws/src/crazyflie_ros/crazyflie_demo". See
documentation for policy CMP0002 for more details.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "hector_quadrotor_interface" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libtinyxml2.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libclass_loader.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/libPocoFoundation.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libdl.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libroslib.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/librospack.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libpython2.7.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library
"/usr/lib/x86_64-linux-gnu/libboost_program_options.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libtinyxml.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/liborocos-kdl.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/liborocos-kdl.so.1.3.0"
to target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libtf2_ros.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libactionlib.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libmessage_filters.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libroscpp.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library
"/usr/lib/x86_64-linux-gnu/libboost_filesystem.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libboost_signals.so"
to target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/librosconsole.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/librosconsole_log4cxx.so"
to target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library
"/opt/ros/kinetic/lib/librosconsole_backend_interface.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/liblog4cxx.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libboost_regex.so"
to target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libxmlrpcpp.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libtf2.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library
"/opt/ros/kinetic/lib/libroscpp_serialization.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/librostime.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/opt/ros/kinetic/lib/libcpp_common.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libboost_system.so"
to target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libboost_thread.so"
to target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libboost_chrono.so"
to target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library
"/usr/lib/x86_64-linux-gnu/libboost_date_time.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libboost_atomic.so"
to target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library "/usr/lib/x86_64-linux-gnu/libpthread.so" to
target "quadrotor_teleop" which is not built in this directory.

CMake Error at hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:23 (target_link_libraries):
Attempt to add link library
"/usr/lib/x86_64-linux-gnu/libconsole_bridge.so" to target
"quadrotor_teleop" which is not built in this directory.

CMake Error at /opt/ros/kinetic/share/catkin/cmake/custom_install.cmake:13 (_install):
install TARGETS given target "quadrotor_teleop" which does not exist in
this directory.
Call Stack (most recent call first):
hector_quadrotor/hector_quadrotor_teleop/CMakeLists.txt:26 (install)

-- +++ processing catkin package: 'hector_quadrotor_controller_gazebo'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_controller_gazebo)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- thread
-- signals
-- system
-- filesystem
-- program_options
-- regex
-- iostreams
-- date_time
-- chrono
-- atomic
-- Boost version: 1.58.0
-- Looking for OGRE...
-- Found Ogre Ghadamon (1.9.0)
-- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- Looking for OGRE_Volume...
-- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
-- Looking for OGRE_Overlay...
-- Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
-- Gazebo version: 7.0
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'hector_quadrotor_gazebo'
-- ==> add_subdirectory(hector_quadrotor/hector_quadrotor_gazebo)
-- Configuring incomplete, errors occurred!
See also "/home/eric/crazyflie_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/eric/crazyflie_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

@lkyfly0765 lkyfly0765 changed the title catkin_make catkin_make error! Dec 6, 2018
@lkyfly0765
Copy link
Author

What's wrong with it ?

@kosmastsk
Copy link

Try installing the quadrotor_teleop package first, and then run catkin_make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants