You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
#583
Open
zhaodejian opened this issue
Mar 5, 2022
· 0 comments
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
Error: Packages with unknown build types exist
Can not build workspace with packages of unknown build_type
The text was updated successfully, but these errors were encountered: