chisel_ros fails to build, cannot find ros/service_traits.h

asked 2019-11-28 03:01:58 -0600

updated 2019-11-28 05:01:31 -0600

I'm trying to build VI-MEAN package github repo. Which includes OpenChisel's chisel_ros. However I'm failing to build it due to cmake cannot find ros/service_traits.h

This is the chisel_ros package I'm using: https://github.com/dvorak0/VI-MEAN/tr...

Any help would be appreciated. Thank you.

catkin_make log:

Base path: /home/nvidia/catkin_ws
Source space: /home/nvidia/catkin_ws/src
Build space: /home/nvidia/catkin_ws/build
Devel space: /home/nvidia/catkin_ws/devel
Install space: /home/nvidia/catkin_ws/install
Whitelisted packages: chisel_ros, open_chisel
####
#### Running command: "cmake /home/nvidia/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/nvidia/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/nvidia/catkin_ws/install -DCATKIN_WHITELIST_PACKAGES=chisel_ros;open_chisel -G Unix Makefiles" in "/home/nvidia/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/nvidia/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/nvidia/catkin_ws/devel;/home/nvidia/theia2_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/nvidia/catkin_ws/devel;/home/nvidia/theia2_ws/devel;/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/nvidia/catkin_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
-- Using CATKIN_WHITELIST_PACKAGES: chisel_ros;open_chisel
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 2 packages in topological order:
-- ~~  - open_chisel
-- ~~  - chisel_ros
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'open_chisel'
-- ==> add_subdirectory(VI-MEAN/OpenChisel/open_chisel)
CMake Warning at /opt/ros/kinetic/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message):
    The FindEigen.cmake Module in the cmake_modules package is deprecated.

    Please use the FindEigen3.cmake Module provided with Eigen.  Change
    instances of find_package(Eigen) to find_package(Eigen3).  Check the
    FindEigen3.cmake Module for the resulting CMake variable names.

Call Stack (most recent call first):
    VI-MEAN/OpenChisel/open_chisel/catkin.cmake:7 (find_package)
    VI-MEAN/OpenChisel/open_chisel/CMakeLists.txt:5 (include)


-- Eigen found (include: /usr/local/include/eigen3)
-- +++ processing catkin package: 'chisel_ros'
-- ==> add_subdirectory(VI-MEAN/OpenChisel/chisel_ros)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Warning at /opt/ros/kinetic/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message):
    The FindEigen.cmake Module in the cmake_modules package is deprecated.

    Please use the FindEigen3.cmake Module provided with Eigen.  Change
    instances of find_package(Eigen) to find_package(Eigen3).  Check the
    FindEigen3.cmake Module for the resulting CMake variable names.

Call Stack (most recent call first):
    VI-MEAN/OpenChisel/chisel_ros/catkin.cmake:8 (find_package)
    VI-MEAN/OpenChisel/chisel_ros/CMakeLists.txt:5 (include)


-- Eigen found (include: /usr/local/include/eigen3)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   iostreams
--   serialization
--   chrono
--   atomic
--   regex
-- Checking for module 'libopenni2'
--   No package 'libopenni2' found
-- Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) 
** WARNING ** io features related to openni2 will be disabled
-- 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 ...
(more)
edit retag flag offensive close merge delete

Comments

Are you sure you've copied the correct output? There is no mention of ros/service_traits.h in it.

gvdhoorn gravatar imagegvdhoorn ( 2019-11-28 04:05:20 -0600 )edit

@gvdhoorn I've updated the log can you check it out again?

denizdaking gravatar imagedenizdaking ( 2019-11-28 05:01:53 -0600 )edit