'I was trying to compile the Git file in ROS and it got stuck "Invoking "make -j1" failed"

Command: cd ~/catkin_ws/src git clone https://github.com/RobustFieldAutonomyLab/LeGO-LOAM.git cd .. catkin_make -j1

Error Message:

compilation terminated.
make[2]: *** [LeGO-LOAM/LeGO-LOAM/CMakeFiles/imageProjection.dir/build.make:63: LeGO-LOAM/LeGO-LOAM/CMakeFiles/imageProjection.dir/src/imageProjection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1524: LeGO-LOAM/LeGO-LOAM/CMakeFiles/imageProjection.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j1" failed

I just tried to follow the git, and i have a problem with compile I installed noetic, Ubuntu 20.04. I'm a user who just started ROS, so it's hard to follow along. I'm sorry.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source