compiling the package [costmap_2d] is extremely slow on Jetson TK1
Have anyone experienced compiling costmap_2d
on a Nvidia Jetson TK1 with Ubuntu 16.04 and ROS Kinetic? I've tried to compile it on 2 such boards. They all compiled very very slow!
In the extreme case, I tried to compile costmap_2d
in my own catkin workspace with the command catkin_make
with or without -j5
, --use-ninja
. In this case, costmap_2d
simply failed to finish compiling. It stuck at
Linking CXX executable /home/ubuntu/catkin_ws/devel/lib/costmap_2d/costmap_2d_cloud
Linking CXX executable /home/ubuntu/catkin_ws/devel/lib/costmap_2d/costmap_2d_markers
The linking procedure lasts forever, never succeed to accomplish.
The only way I made it finish is by invoking catkin_make_isolated
instead of catkin_make
, and the linking still takes very long time when compared to other packages (like lasting 10min+ or so).