Spatio-Temporal-Voxel-layer catkin_make error on ros-melodic
Straight dump of the error message:
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/agx1/hector/build/CMakeFiles/CMakeOutput.log".
See also "/home/agx1/hector/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
Could you clarify why you are building that package from source? According to status_page/ros_melodic_default.html?q=spatio binary packages are available for Melodic.
I am interested in keeping it in a separate workspace and tuning its parameters .
It's up to you, but the spatio-temporal-voxel-layer supports
dynamic_reconfigure
. You should not need to recompile to change parameters.I totally agree with your comment but as i have gone through the CMakeLists.txt file and i didn't find anything different from other packages so what makes it different in so that its not building from source , can you please explain to me ?
From the error message it's not clear the problem is actually with
spatio_temporal_voxel_layer
.The error message states your workspace contains Catkin packages (ie: straight ROS packages) and non-Catkin packages (fi: plain CMake packages).
catkin_make
cannot build non-Catkin packages.Another cause I've seen for this is a metapackage with a non-compliant
CMakeLists.txt
, but I would expect you'd also see some warnings about that earlier on.If you can check which packages in your workspace do not have a
catkin_package(..)
in theirCMakeLists.txt
, that could point to the cause of your error.