generator : Unix Makefiles does not match generator used previously: Ninja
Hardware: Rasberry PI4, Slamtech RPLidar A3
Software: Ubuntu 18.04, ROS Melodic, Google Cartographer, RPLidar SDK
I am currently trying to run catkin_make_isolated and am getting this error:
cmake /home/ubuntu/catkin_ws/src/cartographer_ros/cartographer_ros -DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel_isolated/cartographer_ros -DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install_isolated -G Unix Makefiles in '/home/ubuntu/catkin_ws/build_isolated/cartographer_ros'
CMake Error: Error: generator : Unix Makefiles
Does not match the generator used previously: Ninja
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
<== Failed to process package 'cartographer_ros':
Command '['/home/ubuntu/catkin_ws/devel_isolated/cartographer_ros_msgs/env.sh', 'cmake', '/home/ubuntu/catkin_ws/src/cartographer_ros/cartographer_ros', '-DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel_isolated/cartographer_ros', '-DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install_isolated', '-G', 'Unix Makefiles']' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/ubuntu/catkin_ws/build_isolated/cartographer_ros && /home/ubuntu/catkin_ws/devel_isolated/cartographer_ros_msgs/env.sh cmake /home/ubuntu/catkin_ws/src/cartographer_ros/cartographer_ros -DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel_isolated/cartographer_ros -DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install_isolated -G 'Unix Makefiles'
I am trying to run catkin_make_isolated in order to run the following line of code
roslaunch rplidar_ros view_rplidar.launch
I have already been able to produce readings from the rplidar in terminal by using ./simple_grabber /dev/ttyUSB0
any help to get around this catkin error would be greatly appreciated, thanks!