Cant build ROS navigation stack on noetic from source

asked 2021-08-24 05:36:36 -0500

bergalii gravatar image

updated 2021-08-24 05:42:38 -0500

gvdhoorn gravatar image

Hello; I've been trying to install navigation stack on my ROS-noetic from the source, but can't seem to get it done. The steps i took were;

  1. Typing "git clone -b noetic-devel" on the terminal and had no problem with this one.
  2. Typing "catkin build navigation" , but while building the first package i encounter the error message below and the rest of the packages are being abandoned.


 << map_server:cmake /home/bergali/catkin_ws/logs/map_server/build.cmake.003.log
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindSDL.cmake:188 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:12 (find_package)

If anyone could help me, i would much appreciate it. Thanks in advance.

PS: I tried to install it with the sudo apt-get install ros-noetic-navigation command, but didn't wok either.

edit retag flag offensive close merge delete


Please see #q252478 (among others).

git clone-ing is not enough.

Edit: and for future readers: building from source should not be your first approach. See #q320046.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-24 05:42:52 -0500 )edit

It was acutally not my first approach. From this link i can see that navigation package was released for noetic distro. But when i try to run "sudo apt-get install ros-noetic-navigation" command, i get the error below for each additional package being installed;

Err:1 focal/main amd64 ros-noetic-<package_name> amd64 1.17.1-1focal.20210423.235546
bergalii gravatar image bergalii  ( 2021-08-25 02:43:34 -0500 )edit

That's not an error message. That's part of an error message.

You'll have to show the complete message.

And if you're actually looking to solve the apt error, you need to provide much more information. OS, CPU architecture, how you installed ROS, any changes you made, etc, etc.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-25 02:54:19 -0500 )edit