sea-bass / turtlebot3_behavior_demos

Example repository for autonomous behaviors using TurtleBot3, as well as Docker workflows in ROS based projects.
MIT License
270 stars 53 forks source link

Build error: lstat /docker: no such file or directory [branch:noetic] (ros1-noetic) #45

Closed triakshunn closed 5 months ago

triakshunn commented 5 months ago

When I run make build for the turtlebot3 project, I'm getting the following error:


(base) obi-wan@obiwan-System-Product-Name:~/turtlebot3_behavior_demos$ sudo make build
[+] Building 0.0s (0/0)                                                                                                                              docker:default
ERROR: resolve : lstat /docker: no such file or directory
make: *** [Makefile:43: build-core] Error 1
sea-bass commented 5 months ago

Just confirming that you intend to use the old ROS 1 Noetic version that still uses make instead of Docker compose, right? (EDIT: Seeing your edited issue title, that's a "yes" 😄 )

I think you just need to run make build instead of sudo make build. I also get the same error with sudo in front.

If you decided to tack on the sudo in front of it because of docker permissions, I recommend you instead go through the Docker post-installation steps for Linux guide.

triakshunn commented 5 months ago

worked! thanks.