Livox-SDK/LIO-Livox

catkin_make_isolated error

lamchops1 opened this issue · 0 comments

I am getting error. Using Ubuntu 20.04, ROS Noetic

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

Running command: "make cmake_check_build_system" in "/home/david/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/david/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/david/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- 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/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 3 packages in topological order:
-- ~~ - ceres-solver (plain cmake)
-- ~~ - lidar_autopilot
-- ~~ - lio_livox
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMake Error at /opt/ros/noetic/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/david/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/david/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:1496: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed