Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't catkin_make iai_kinect2

Hi, I'm Japanese, so maybe my English is strange. Now, I want to try visual slam with Kinect One, ubuntu16.04, ROS Kinetic Kame. I could install libfreenect2 and checked ./Protonect. And I tried to install iai_kinect2 but I can't do catkin_make -DCMAKE_BUILD_TYPE="Release". Please help me and tell me what should I do in detail. I delete opencv-3.2.0-dev in /opt/ros/kinetic/share/ /opt/ros/kinetic/include because it is written that iai_kinect2 can't work with opencv3. And I added opencv2.4.13 in /opt/ros/kinetic/share/ /opt/ros/kinetic/include. Was this bad? I write error message.


Base path: /home/ariga/catkin_ws Source space: /home/ariga/catkin_ws/src Build space: /home/ariga/catkin_ws/build Devel space: /home/ariga/catkin_ws/devel Install space: /home/ariga/catkin_ws/install

#

Running command: "cmake /home/ariga/catkin_ws/src -DCMAKE_BUILD_TYPE=Release -DCATKIN_DEVEL_PREFIX=/home/ariga/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ariga/catkin_ws/install -G Unix Makefiles" in "/home/ariga/catkin_ws/build"

#

-- Using CATKIN_DEVEL_PREFIX: /home/ariga/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic -- This workspace overlays: /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/ariga/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.7.6 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 7 packages in topological order: -- ~~ - iai_kinect2 (metapackage) -- ~~ - turtlebot_octomap -- ~~ - beginner_tutorials -- ~~ - kinect2_registration -- ~~ - kinect2_bridge -- ~~ - kinect2_calibration -- ~~ - kinect2_viewer -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'iai_kinect2' -- ==> add_subdirectory(iai_kinect2/iai_kinect2) -- +++ processing catkin package: 'turtlebot_octomap' -- ==> add_subdirectory(turtlebot_octomap) -- +++ processing catkin package: 'beginner_tutorials' -- ==> add_subdirectory(beginner_tutorials) -- +++ processing catkin package: 'kinect2_registration' -- ==> add_subdirectory(iai_kinect2/kinect2_registration) -- CPU based depth registration enabled -- OpenCL based depth registration enabled CMake Warning at iai_kinect2/kinect2_registration/CMakeLists.txt:60 (message): Your libOpenCL.so is incompatible with CL/cl.h. Install ocl-icd-opencl-dev to update libOpenCL.so?

-- +++ processing catkin package: 'kinect2_bridge' -- ==> add_subdirectory(iai_kinect2/kinect2_bridge) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Error at /opt/ros/kinetic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:106 (message): Project 'cv_bridge' specifies '/opt/ros/kinetic/include/opencv-3.2.0-dev' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/opt/ros/kinetic//opt/ros/kinetic/include/opencv-3.2.0-dev'. Ask the maintainer 'Vincent Rabaud vincent.rabaud@gmail.com' to fix it. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package) iai_kinect2/kinect2_bridge/CMakeLists.txt:24 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/ariga/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/ariga/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed


Can't catkin_make iai_kinect2

Hi, I'm Japanese, so maybe my English is strange. Now, I want to try visual slam with Kinect One, ubuntu16.04, ROS Kinetic Kame. I could install libfreenect2 and checked ./Protonect. ./Protonect. And I tried to install iai_kinect2 but I can't do catkin_make -DCMAKE_BUILD_TYPE="Release". -DCMAKE_BUILD_TYPE="Release". Please help me and tell me what should I do in detail. I delete opencv-3.2.0-dev in /opt/ros/kinetic/share/ /opt/ros/kinetic/include because it is written that iai_kinect2 can't work with opencv3. And I added opencv2.4.13 in /opt/ros/kinetic/share/ /opt/ros/kinetic/include. Was this bad? I write error message.


Base path: /home/ariga/catkin_ws
Source space: /home/ariga/catkin_ws/src
Build space: /home/ariga/catkin_ws/build
Devel space: /home/ariga/catkin_ws/devel
Install space: /home/ariga/catkin_ws/install

#

/home/ariga/catkin_ws/install #### #### Running command: "cmake /home/ariga/catkin_ws/src -DCMAKE_BUILD_TYPE=Release -DCATKIN_DEVEL_PREFIX=/home/ariga/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ariga/catkin_ws/install -G Unix Makefiles" in "/home/ariga/catkin_ws/build"

#

"/home/ariga/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/ariga/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic -- This workspace overlays: /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/ariga/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.7.6 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 7 packages in topological order: -- ~~ - iai_kinect2 (metapackage) -- ~~ - turtlebot_octomap -- ~~ - beginner_tutorials -- ~~ - kinect2_registration -- ~~ - kinect2_bridge -- ~~ - kinect2_calibration -- ~~ - kinect2_viewer -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'iai_kinect2' -- ==> add_subdirectory(iai_kinect2/iai_kinect2) -- +++ processing catkin package: 'turtlebot_octomap' -- ==> add_subdirectory(turtlebot_octomap) -- +++ processing catkin package: 'beginner_tutorials' -- ==> add_subdirectory(beginner_tutorials) -- +++ processing catkin package: 'kinect2_registration' -- ==> add_subdirectory(iai_kinect2/kinect2_registration) -- CPU based depth registration enabled -- OpenCL based depth registration enabled CMake Warning at iai_kinect2/kinect2_registration/CMakeLists.txt:60 (message): Your libOpenCL.so is incompatible with CL/cl.h. Install ocl-icd-opencl-dev to update libOpenCL.so?

libOpenCL.so? -- +++ processing catkin package: 'kinect2_bridge' -- ==> add_subdirectory(iai_kinect2/kinect2_bridge) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Error at /opt/ros/kinetic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:106 (message): Project 'cv_bridge' specifies '/opt/ros/kinetic/include/opencv-3.2.0-dev' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/opt/ros/kinetic//opt/ros/kinetic/include/opencv-3.2.0-dev'. Ask the maintainer 'Vincent Rabaud vincent.rabaud@gmail.com' <vincent.rabaud@gmail.com>' to fix it. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package) iai_kinect2/kinect2_bridge/CMakeLists.txt:24 (find_package)

(find_package) -- Configuring incomplete, errors occurred! See also "/home/ariga/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/ariga/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed


failed