ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

make -j<number of cores> -l<number of cores> [optional target, e.g. install]

asked 2019-03-06 03:45:21 -0600

SUBHASH gravatar image

updated 2019-03-06 04:10:24 -0600

gvdhoorn gravatar image

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
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-12-18 15:31:57 -0600

To build your workspace with catkin or catkin tools the only you have to do is the usual build with the "-j <number of="" threads="">"

catkin_make -j 6

or

catkin build -j 6

This just works.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-03-06 03:45:21 -0600

Seen: 221 times

Last updated: Dec 18 '20