Invoking "make cmake_check_build_system" failed

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Invoking "make cmake_check_build_system" failed

adilbonzi
Hello. I was working rtabmap_ros for my project. I followed the installation instructions for rtabmap_ros, but im facing this problem and till now i cannot find a proper solution. I have done alot of check through the other issues but still to no avail. Im using ubuntu 14.04 ros indigo, Intel® Core™ i7-3612QM CPU @ 2.10GHz × 8 Intel® Ivybridge Mobile. This is the error im receving when i reach my installation step 3. When i run the command catkin_make, it is giving me the following,

adil@adil-HP-Pavilion-g6:~/catkin_ws$ catkin_make
Base path: /home/adil/catkin_ws
Source space: /home/adil/catkin_ws/src
Build space: /home/adil/catkin_ws/build
Devel space: /home/adil/catkin_ws/devel
Install space: /home/adil/catkin_ws/install
####  
#### Running command: "make cmake_check_build_system" in "/home/adil/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/adil/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- 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/adil/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.18
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 6 packages in topological order:
 -- ~~  - iai_kinect2 (metapackage)
-- ~~  - kinect2_registration
-- ~~  - kinect2_bridge
-- ~~  - kinect2_calibration
-- ~~  - kinect2_viewer
-- ~~  - rtabmap_ros
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'iai_kinect2'
-- ==> add_subdirectory(iai_kinect2/iai_kinect2)
-- +++ processing catkin package: 'kinect2_registration'
-- ==> add_subdirectory(iai_kinect2/kinect2_registration)
-- CPU based depth registration enabled
-- OpenCL based depth registration enabled
 -- +++ processing catkin package: 'kinect2_bridge'
-- ==> add_subdirectory(iai_kinect2/kinect2_bridge)
-- Using these message generators: gencpp;genlisp;genpy
 -- +++ processing catkin package: 'kinect2_calibration'
 -- ==> add_subdirectory(iai_kinect2/kinect2_calibration)
-- +++ processing catkin package: 'kinect2_viewer'
-- ==> add_subdirectory(iai_kinect2/kinect2_viewer)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   iostreams
 --   serialization
-- checking for module 'openni-dev'
--   package 'openni-dev' not found
-- checking for module 'openni-dev'
--   package 'openni-dev' not found
-- checking for module 'openni-dev'
--   package 'openni-dev' not found
-- looking for PCL_COMMON
-- looking for PCL_OCTREE
-- looking for PCL_IO
-- looking for PCL_KDTREE
 -- looking for PCL_SEARCH
-- looking for PCL_SAMPLE_CONSENSUS
-- looking for PCL_FILTERS
-- looking for PCL_FEATURES
-- looking for PCL_KEYPOINTS
-- looking for PCL_GEOMETRY
-- looking for PCL_SEGMENTATION
-- looking for PCL_VISUALIZATION
-- looking for PCL_OUTOFCORE
-- looking for PCL_REGISTRATION
-- looking for PCL_RECOGNITION
-- looking for PCL_SURFACE
-- looking for PCL_PEOPLE
-- looking for PCL_TRACKING
-- looking for PCL_APPS
-- +++ processing catkin package: 'rtabmap_ros'
-- ==> add_subdirectory(rtabmap_ros)
-- Using these message generators: gencpp;genlisp;genpy
-- rtabmap_ros: 12 messages, 6 services
CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
 file problem creating directory:
 /home/adil/catkin_ws/devel/include/rtabmap_ros
 Call Stack (most recent call first):
/home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:114 (_generate_msg_cpp)
/opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
rtabmap_ros/CMakeLists.txt:91 (generate_messages)


CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
 file problem creating directory:
 /home/adil/catkin_ws/devel/include/rtabmap_ros
 Call Stack (most recent call first):
 /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:120 (_generate_msg_cpp)
 /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
 rtabmap_ros/CMakeLists.txt:91 (generate_messages)


CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
 file problem creating directory:
 /home/adil/catkin_ws/devel/include/rtabmap_ros
 Call Stack (most recent call first):
 /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:126 (_generate_msg_cpp)
 /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
 rtabmap_ros/CMakeLists.txt:91 (generate_messages)


CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/adil/catkin_ws/devel/include/rtabmap_ros
 Call Stack (most recent call first):
 /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:132 (_generate_msg_cpp)
 /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
 rtabmap_ros/CMakeLists.txt:91 (generate_messages)


  CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
 file problem creating directory:
  /home/adil/catkin_ws/devel/include/rtabmap_ros
 Call Stack (most recent call first):
  /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:138 (_generate_msg_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
  rtabmap_ros/CMakeLists.txt:91 (generate_messages)


 CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/adil/catkin_ws/devel/include/rtabmap_ros  
 Call Stack (most recent call first):
  /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:144 (_generate_msg_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
  rtabmap_ros/CMakeLists.txt:91 (generate_messages)


  CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
   file problem creating directory:
   /home/adil/catkin_ws/devel/include/rtabmap_ros
  Call Stack (most recent call first):
   /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:150 (_generate_msg_cpp)
   /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
   rtabmap_ros/CMakeLists.txt:91 (generate_messages)


   CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
   file problem creating directory:
   /home/adil/catkin_ws/devel/include/rtabmap_ros  
   Call Stack (most recent call first):
   /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:156 (_generate_msg_cpp)
   /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
   rtabmap_ros/CMakeLists.txt:91 (generate_messages)


   CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
   file problem creating directory:
    /home/adil/catkin_ws/devel/include/rtabmap_ros
   Call Stack (most recent call first):
    /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:162 (_generate_msg_cpp)
    /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
    rtabmap_ros/CMakeLists.txt:91 (generate_messages)


   CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
   file problem creating directory:
   /home/adil/catkin_ws/devel/include/rtabmap_ros
   Call Stack (most recent call first):
   /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:168 (_generate_msg_cpp)
   /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
   rtabmap_ros/CMakeLists.txt:91 (generate_messages)


   CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
   file problem creating directory:
   /home/adil/catkin_ws/devel/include/rtabmap_ros
   Call Stack (most recent call first):
    /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:174 (_generate_msg_cpp)
    /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
   rtabmap_ros/CMakeLists.txt:91 (generate_messages)


   CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
   file problem creating directory:
    /home/adil/catkin_ws/devel/include/rtabmap_ros
    Call Stack (most recent call first):
    /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:180 (_generate_msg_cpp)
    /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
    rtabmap_ros/CMakeLists.txt:91 (generate_messages)


   CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
    file problem creating directory:
   /home/adil/catkin_ws/devel/include/rtabmap_ros
   Call Stack (most recent call first):
    /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
   /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:188 (_generate_srv_cpp)
    /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
    rtabmap_ros/CMakeLists.txt:91 (generate_messages)


  CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
   file problem creating directory:
   /home/adil/catkin_ws/devel/include/rtabmap_ros
   Call Stack (most recent call first):
    /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
   /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:194 (_generate_srv_cpp)
   /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
   rtabmap_ros/CMakeLists.txt:91 (generate_messages)


   CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
    file problem creating directory:
    /home/adil/catkin_ws/devel/include/rtabmap_ros
   Call Stack (most recent call first):
    /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
    /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:200 (_generate_srv_cpp)
   /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
   rtabmap_ros/CMakeLists.txt:91 (generate_messages)


   CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
   file problem creating directory:
   /home/adil/catkin_ws/devel/include/rtabmap_ros
   Call Stack (most recent call first):
   /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
   /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:206 (_generate_srv_cpp)
   /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
   rtabmap_ros/CMakeLists.txt:91 (generate_messages)


  CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/adil/catkin_ws/devel/include/rtabmap_ros
  Call Stack (most recent call first):
  /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
  /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:212 (_generate_srv_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
  rtabmap_ros/CMakeLists.txt:91 (generate_messages)


 CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
 file problem creating directory:
  /home/adil/catkin_ws/devel/include/rtabmap_ros
 Call Stack (most recent call first):
  /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
 /home/adil/catkin_ws/build/rtabmap_ros/cmake/rtabmap_ros-genmsg.cmake:218 (_generate_srv_cpp)
 /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
 rtabmap_ros/CMakeLists.txt:91 (generate_messages)


 -- WITH costmap_2d
 -- WITH octomap
 -- WITH rviz
 -- Configuring incomplete, errors occurred!  
See also "/home/adil/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/adil/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed




My rtabmap is working perfect in stand alone. But it does not work when i insert $ roslaunch rtabmap_ros rgbd_mapping_kinect2.launch. It gives me this error.

ERROR: cannot launch node of type [rtabmap_ros/rgbd_odometry]: can't locate node [rgbd_odometry] in package [rtabmap_ros] ERROR: cannot launch node of type [rtabmap_ros/rtabmap]: can't locate node [rtabmap] in package [rtabmap_ros] ERROR: cannot launch node of type [rtabmap_ros/rtabmapviz]: can't locate node [rtabmapviz] in package [rtabmap_ros]





Can you guide me, as to how am i supposed to clear this error. And make the rtabmap_ros run properly.
Reply | Threaded
Open this post in threaded view
|

Re: Invoking "make cmake_check_build_system" failed

matlabbe
Administrator
This post was updated on .
Hi,

The error is "file problem creating directory". Do you have write permissions in catkin_ws? The code is not building, so it is normal that nodes cannot be located on the next step.

You can see an example build here on Indigo 14.04: https://travis-ci.org/introlab/rtabmap_ros/jobs/212153169

cheers,
Mathieu
Reply | Threaded
Open this post in threaded view
|

Re: Invoking "make cmake_check_build_system" failed

adilbonzi
Thank you for the reply Mathieu. I tried to follow the tutorial link as well. But I'm still getting the same output for catkin_make.
Shoudl I re-install the rtabmap again?
Reply | Threaded
Open this post in threaded view
|

Re: Invoking "make cmake_check_build_system" failed

matlabbe
Administrator
Try cleanup your catkin workspace and rebuild rtabmap_ros.
Reply | Threaded
Open this post in threaded view
|

Re: Invoking "make cmake_check_build_system" failed

adilbonzi
This post was updated on .
Hi Mathieu, I cleaned my workspace and rebuilt rtabmap but still its giving the same error. One thing i want to mention, i also have installed iai_kinect2 package in the src directory. Do you think the error is due to the iai-kinect2 package?
Reply | Threaded
Open this post in threaded view
|

Re: Invoking "make cmake_check_build_system" failed

adilbonzi
This post was updated on .
In reply to this post by matlabbe
http://official-rtab-map-forum.206.s1.nabble.com/Rtabmap-error-in-process-rtabmap-rgbd-odometry-1-ubuntu-on-raspberry-pi-td444.html I followed this problem. It was the problem of permissions. I ran $sudo chown -R [username] ./ command on my terminal and the catkin_make was successfully run.

Thank you Mathieu.