make -j<number of cores> -l<number of cores> [optional target, e.g. install]
How to write above command?
Please help me witn that.
I got below error for $ make -j2 -l5 install
Install the project...
-- Install configuration: ""
-- Installing: /home/test/install/_setup_util.py
CMake Error at cmake_install.cmake:54 (file):
file INSTALL cannot copy file
"/home/test/build/catkin_generated/installspace/_setup_util.py" to
"/home/test/install/_setup_util.py".
Makefile:61: recipe for target 'install' failed
make: *** [install] Error 1
Asked by SUBHASH on 2019-03-06 04:45:21 UTC
Answers
To build your workspace with catkin or catkin tools the only you have to do is the usual build with the "-j
catkin_make -j 6
or
catkin build -j 6
This just works.
Asked by Pablo IƱigo Blasco on 2020-12-18 16:31:57 UTC
Comments