Closed pfontana96 closed 4 years ago
Hey @pfontana96 -- truth be told, I haven't actually tried installing ifm3d/ifm3d-ros on a Raspberry Pi. I can't say for sure if RAM is your issue in the above output, but I've definitely run into RAM issues compiling things like OpenCV before. The solution is to temporarily increase swap space. Here's one (of many) tutorials on how to do that:
https://www.bitpi.co/2015/02/11/how-to-change-raspberry-pis-swapfile-size-on-rasbian/
Let me know if that helps.
@theseankelly it was indeed a memory issue, I increased swap space and the package is working fine! Thank you for your quick response
Hi everyone, I'm not sure this is the right place for posting this question but I couldn't find many posts related to this package in ROS Answers, please excuse me if you find this question out of place. I'm trying to install the ros package on a RPi 3B (Ubuntu-MATE 18.04 and ROS Melodic) by following this instructions, I've already installed the ifm3d library but when I get to the step:
catkin_make -DCATKIN_ENABLE_TESTING=ON
The system freezes at 97% of the build (after some previous ctrl+C and reruns). If I run
watch -n 0.5 free -m
I can see that almost all of my RAM is consumed. I've tried compiling with the -j1 flag but with no success (all the memory is also taken up). Do you have any idea how I can resolve it? I leave you here the output of my terminal (I had to interrupt it because it'd been hung there for nearly 30min):Thank you in advance for your time!