iai_kinect2
iai_kinect2 copied to clipboard
This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead.
The following is my mistake. What's the reason
ziu_dakin@zdj-ubuntu:~/octomap_ws$ catkin_make -DCMAKE_BUILD_TYPE="Release"
Base path: /home/ziu_dakin/octomap_ws
Source space: /home/ziu_dakin/octomap_ws/src
Build space: /home/ziu_dakin/octomap_ws/build
Devel space: /home/ziu_dakin/octomap_ws/devel
Install space: /home/ziu_dakin/octomap_ws/install
Running command: "make cmake_check_build_system" in "/home/ziu_dakin/octomap_ws/build"
-- Using CATKIN_DEVEL_PREFIX: /home/ziu_dakin/octomap_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/melodic -- This workspace overlays: /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/ziu_dakin/octomap_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.29 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 10 packages in topological order: -- ~~ - iai_kinect2 (metapackage) -- ~~ - octomap_mapping (metapackage) -- ~~ - perception_pcl (plain cmake) -- ~~ - kinect2_registration -- ~~ - pcl_conversions (plain cmake) -- ~~ - kinect2_bridge -- ~~ - kinect2_calibration -- ~~ - kinect2_viewer -- ~~ - pcl_ros (plain cmake) -- ~~ - octomap_server -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CMake Error at /opt/ros/melodic/share/catkin/cmake/catkin_workspace.cmake:100 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:69 (catkin_workspace)
-- Configuring incomplete, errors occurred! See also "/home/ziu_dakin/octomap_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/ziu_dakin/octomap_ws/build/CMakeFiles/CMakeError.log". Makefile:1776: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
If I use the online method, it will become the following, but it is also not work.
ziu_dakin@zdj-ubuntu:~/octomap_ws$ catkin_make_isolated -DCMAKE_BUILD_TYPE="Release"
Base path: /home/ziu_dakin/octomap_ws
Source space: /home/ziu_dakin/octomap_ws/src
Build space: /home/ziu_dakin/octomap_ws/build_isolated
Devel space: /home/ziu_dakin/octomap_ws/devel_isolated
Install space: /home/ziu_dakin/octomap_ws/install_isolated
Additional CMake Arguments: -DCMAKE_BUILD_TYPE=Release
~~ traversing 10 packages in topological order:
~~ - iai_kinect2
~~ - kinect2_registration
~~ - kinect2_bridge
~~ - kinect2_calibration
~~ - kinect2_viewer
~~ - octomap_mapping
~~ - pcl_conversions (unknown)
~~ - pcl_ros (unknown)
~~ - octomap_server
~~ - perception_pcl (unknown)
Error: Packages with unknown build types exist Can not build workspace with packages of unknown build_type