shiva16 / rtabmap

Automatically exported from code.google.com/p/rtabmap
0 stars 0 forks source link

catkin_make on indigo fails #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Building the actual ros package. All the previous steps in the installation 
went fine. I had issues with opencv-non-free but i was able to resolve it by 
using opencv 2.4 and also the vision package. The libraries were built. 

What is the expected output? What do you see instead?

darthlenius@DarthLenius:~/catkin_ws$ catkin_make
Base path: /home/darthlenius/catkin_ws
Source space: /home/darthlenius/catkin_ws/src
Build space: /home/darthlenius/catkin_ws/build
Devel space: /home/darthlenius/catkin_ws/devel
Install space: /home/darthlenius/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in 
"/home/darthlenius/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/darthlenius/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/darthlenius/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/darthlenius/catkin_ws/devel;/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/darthlenius/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.9
-- BUILD_SHARED_LIBS is on
WARNING: package "opencv_tests" should not depend on metapackage "ros" but on 
its packages instead
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 6 packages in topological order:
-- ~~  - openni2_launch
-- ~~  - cv_bridge
-- ~~  - image_geometry
-- ~~  - vision_opencv (metapackage)
-- ~~  - opencv_tests
-- ~~  - rtabmap
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'openni2_launch'
-- ==> add_subdirectory(openni2_launch)
-- +++ processing catkin package: 'cv_bridge'
-- ==> add_subdirectory(vision_opencv/cv_bridge)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   python
-- +++ processing catkin package: 'image_geometry'
-- ==> add_subdirectory(vision_opencv/image_geometry)
-- +++ processing catkin metapackage: 'vision_opencv'
-- ==> add_subdirectory(vision_opencv/vision_opencv)
-- +++ processing catkin package: 'opencv_tests'
-- ==> add_subdirectory(vision_opencv/opencv_tests)
-- +++ processing catkin package: 'rtabmap'
-- ==> add_subdirectory(rtabmap)
-- Using these message generators: gencpp;genlisp;genpy
-- rtabmap: 6 messages, 3 services
CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:69 (_generate_msg_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:75 (_generate_msg_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:81 (_generate_msg_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:87 (_generate_msg_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:93 (_generate_msg_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:99 (_generate_msg_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:107 (_generate_srv_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:113 (_generate_srv_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

CMake Error at /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:8 (file):
  file problem creating directory:
  /home/darthlenius/catkin_ws/devel/include/rtabmap
Call Stack (most recent call first):
  /opt/ros/indigo/share/gencpp/cmake/gencpp-extras.cmake:34 (_generate_msg_cpp)
  /home/darthlenius/catkin_ws/build/rtabmap/cmake/rtabmap-genmsg.cmake:119 (_generate_srv_cpp)
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  rtabmap/CMakeLists.txt:58 (generate_messages)

-- Configuring incomplete, errors occurred!
See also "/home/darthlenius/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/darthlenius/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
darthlenius@DarthLenius:~/catkin_ws$ 

=======================================================================

What version of the product are you using? On what operating system?
ROS indigo and Ubuntu 14.04. and code from 
http://rtabmap.googlecode.com/svn/trunk/ros-pkg

Please provide any additional information below.

I recently installed indigo so I m not sure if its an indigo issue but I I ve 
tried building openni2, vision packages in catkin workspace and those seem to 
build properly. 

Original issue reported on code.google.com by vijethra...@gmail.com on 15 Nov 2014 at 1:09

GoogleCodeExporter commented 9 years ago
Nevermind. I was able to fix it myself. I had to change the privileges of the 
/devel/include folder of catkin_ws. I ve used Hydro extensively and never had 
to change the user privileges before. Strangely other packages didnt give have 
that issue. 

Anyway, I'm happy that the issue is solved nevertheless and I am able to build 
the package. Will test it out soon.

Original comment by vijethra...@gmail.com on 15 Nov 2014 at 1:51

GoogleCodeExporter commented 9 years ago
It may be not the case, but if you have installed some third party libraries 
(like rtabmaplib) in your catkin workspace (catkin_ws/devel), you should use 
`$make install` instead of `$sudo make install`.

Original comment by matla...@gmail.com on 17 Nov 2014 at 3:08