Compilling ROS2 on Rasperry Pi
Hi, I try to compile ROS2 on Raspebbry Pi yet it seems that there is not enough memory with colcon's parallel compilation. I tried -executor sequential
as in https://colcon.readthedocs.io/en/rele... but I still see cc1plus four times in top
.Is there any method of compilling in series?
EDIT: With 3 GB of swap it builds, but due to the used amount of swap space, I guess that making the compilation serial would help.
Can you share the error you are getting ? and the command used for the compilation ?
The command was
colcon build --symlink-install --merge-install --executor sequential
. It seems that these were not compilation errors, but random errors of the build system because there was no more memory. Now I added 2GB of swap on a USB stick and try to build again.At first I though you were talking about RAM memory. Thanks for the added details. My folder containing ROS2 is more than 2GB. so I wonder if this will be enough.
Yes, I was indeed talking about RAM, thus 2GB of swap.
Sorry, I read too quickly -.-'