Invoking "make -j4 -l4" failed
Hi. I am trying to install the ego-planner package. When I run catkin_make
, I get an error. I am running ROS Melodic on Ubuntu 18.04. How do I fix this? This is the output I get (I have included all of the output, because I wasn't sure what was relevant. Please feel free to edit my question and remove unnecessary lines):
Base path: /home/kadhir/catkin_ws/src/ego-planner
Source space: /home/kadhir/catkin_ws/src/ego-planner/src
Build space: /home/kadhir/catkin_ws/src/ego-planner/build
Devel space: /home/kadhir/catkin_ws/src/ego-planner/devel
Install space: /home/kadhir/catkin_ws/src/ego-planner/install
####
#### Running command: "cmake /home/kadhir/catkin_ws/src/ego-planner/src -DCATKIN_DEVEL_PREFIX=/home/kadhir/catkin_ws/src/ego-planner/devel -DCMAKE_INSTALL_PREFIX=/home/kadhir/catkin_ws/src/ego-planner/install -G Unix Makefiles" in "/home/kadhir/catkin_ws/src/ego-planner/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/kadhir/catkin_ws/src/ego-planner/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/kadhir/catkin_ws/src/ego-planner/build/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17")
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.28
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 18 packages in topological order:
-- ~~ - quadrotor_msgs
-- ~~ - cmake_utils
-- ~~ - map_generator
-- ~~ - plan_env
-- ~~ - path_searching
-- ~~ - bspline_opt
-- ~~ - pose_utils
-- ~~ - multi_map_server
-- ~~ - odom_visualization
-- ~~ - local_sensing_node
-- ~~ - mockamap
-- ~~ - so3_control
-- ~~ - traj_utils
-- ~~ - ego_planner
-- ~~ - uav_utils
-- ~~ - so3_quadrotor_simulator
-- ~~ - rviz_plugins
-- ~~ - waypoint_generator
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'quadrotor_msgs'
-- ==> add_subdirectory(uav_simulator/Utils/quadrotor_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- quadrotor_msgs: 13 messages, 0 services
-- +++ processing catkin package: 'cmake_utils'
-- ==> add_subdirectory(uav_simulator/Utils/cmake_utils)
-- +++ processing catkin package: 'map_generator'
-- ==> add_subdirectory(uav_simulator/map_generator)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- iostreams
-- serialization
-- chrono
-- atomic
-- regex
-- Could NOT find ensenso (missing: ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR)
** WARNING ** io features related to ensenso will be disabled
-- Could NOT find DAVIDSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR)
** WARNING ** io features related to davidSDK will be disabled
-- Could NOT find DSSDK (missing: _DSSDK_LIBRARIES)
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
-- The imported target "vtkRenderingPythonTkWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtk" references the file
"/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and ...