Git Product home page Git Product logo

Comments (2)

SteveMacenski avatar SteveMacenski commented on August 30, 2024

Do you not have enough memory? Try compiling with only 1 package in parallel. You have 15 ongoing, you’re probably just running out of memory. This is not an issue with Nav2. We compile in CI, docker, and locally nearly daily.

from navigation2.

ming0071 avatar ming0071 commented on August 30, 2024

I have only 32GB of memory, and after monitoring the system, I confirmed that the memory was fully utilized during the build process. I was able to successfully compile the project using the following method:

mkdir -p ~/nav2_ws/src 
cd ~/nav2_ws/src 
git clone https://github.com/ros-navigation/navigation2.git -b humble
cd ~/nav2_ws 
colcon build

The successful method is to not pre-install related dependencies, but simply install what is missing as needed.

sudo apt install ros-humble-bondcpp
sudo apt install ros-humble-test-msgs
sudo apt install ros-humble-behaviortree-cpp-v3
sudo apt install ros-humble-diagnostic-updater
sudo apt install ros-humble-tf2-sensor-msgs
sudo apt install ros-humble-ompl
sudo apt install ros-humble-gazebo-*

Since the issue has been resolved, I will proceed to close this issue. Thank you!

from navigation2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.