Invoking "cmake" failed

asked 2020-06-03 14:07:57 -0500

aman gravatar image

updated 2020-06-03 14:52:29 -0500

gvdhoorn gravatar image

Hi when i used command catkin make to install Install Intel® RealSense™ ROS package using ros melodic on ubuntu 18.04 that was the outbut

ubuntu@ubuntu:~$ mkdir -p ~/catkin_ws/src/realsense/
ubuntu@ubuntu:~$ cd ~/catkin_ws/src/
ubuntu@ubuntu:~/catkin_ws/src$ git clone https://github.com/IntelRealSense/realsense-ros.git
Cloning into 'realsense-ros'...
remote: Enumerating objects: 300, done.
remote: Counting objects: 100% (300/300), done.
remote: Compressing objects: 100% (166/166), done.
remote: Total 9393 (delta 141), reused 135 (delta 134), pack-reused 9093
Receiving objects: 100% (9393/9393), 21.71 MiB | 870.00 KiB/s, done.
Resolving deltas: 100% (5538/5538), done.
ubuntu@ubuntu:~/catkin_ws/src$ cd realsense-ros/
ubuntu@ubuntu:~/catkin_ws/src/realsense-ros$ git checkout `git tag | sort -V | grep -P "^\d+\.\d+\.\d+" | tail -1`
Note: checking out '2.2.13'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 98a8c71 add CHANGELOG.rst
ubuntu@ubuntu:~/catkin_ws/src/realsense-ros$ cd ..
ubuntu@ubuntu:~/catkin_ws/src$ catkin_init_workspace
File "/home/ubuntu/catkin_ws/src/CMakeLists.txt" already existsubuntu@ubuntu:~/catkin_ws/src$ cd ..
ubuntu@ubuntu:~/catkin_ws$ catkin_make clean
Base path: /home/ubuntu/catkin_ws
Source space: /home/ubuntu/catkin_ws/src
Build space: /home/ubuntu/catkin_ws/build
Devel space: /home/ubuntu/catkin_ws/devel
Install space: /home/ubuntu/catkin_ws/install
####
#### Running command: "cmake /home/ubuntu/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install -G Unix Makefiles" in "/home/ubuntu/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/ubuntu/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/ubuntu/catkin_ws/devel;/opt/ros/melodic
-- This workspace overlays: /home/ubuntu/catkin_ws/devel;/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/ubuntu/catkin_ws/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.26
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 16 packages in topological order:
-- ~~  - hector_slam (metapackage)
-- ~~  - hector_slam_launch
-- ~~  - realsense2_description
-- ~~  - hector_map_tools
-- ~~  - hector_nav_msgs
-- ~~  - hector_geotiff
-- ~~  - hector_geotiff_plugins
-- ~~  - hector_marker_drawing
-- ~~  - hector_compressed_map_transport
-- ~~  - rplidar_ros
-- ~~  - hector_imu_attitude_to_tf
-- ~~  - hector_imu_tools
-- ~~  - hector_map_server
-- ~~  - hector_trajectory_server
-- ~~  - realsense2_camera
-- ~~  - hector_mapping
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'hector_slam'
-- ==> add_subdirectory(hector_slam/hector_slam)
-- +++ processing catkin package: 'hector_slam_launch'
-- ==> add_subdirectory(hector_slam/hector_slam_launch)
-- +++ processing catkin package: 'realsense2_description'
-- ==> add_subdirectory(realsense-ros/realsense2_description)
-- +++ processing catkin package: 'hector_map_tools'
-- ==> add_subdirectory(hector_slam/hector_map_tools)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'hector_nav_msgs'
-- ==> add_subdirectory(hector_slam/hector_nav_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- hector_nav_msgs: 0 messages, 5 services
-- +++ processing catkin package: 'hector_geotiff'
-- ==> add_subdirectory(hector_slam/hector_geotiff ...
(more)
edit retag flag offensive close merge delete

Comments

Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x

Have you installed Qt?

mgruhler gravatar image mgruhler  ( 2020-06-04 05:46:05 -0500 )edit