Cant build ROS navigation stack on noetic from source
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;
- Typing "git clone -b noetic-devel https://github.com/ros-planning/navig..." on the terminal and had no problem with this one.
- 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.
Errors
<< 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):
Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)
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.
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.
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;
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.