Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I solved the problem. The Ubuntu use te Qt5 as default now, so to solve this problem I made (https://github.com/tu-darmstadt-ros-pkg/hector_slam/issues/59):

sudo apt update

sudo apt install qt4-default

This was sufficient so solve, but after, I had another problem:

    /home/jose/catkin_ws/src/navigation/map_server/src/image_loader.cpp:43:10: fatal error: SDL/SDL_image.h: No such file or directory
 #include <SDL/SDL_image.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
navigation/map_server/CMakeFiles/map_server_image_loader.dir/build.make:62: recipe for target 'navigation/map_server/CMakeFiles/map_server_image_loader.dir/src/image_loader.cpp.o' failed
make[2]: *** [navigation/map_server/CMakeFiles/map_server_image_loader.dir/src/image_loader.cpp.o] Error 1
CMakeFiles/Makefile2:21135: recipe for target 'navigation/map_server/CMakeFiles/map_server_image_loader.dir/all' failed
make[1]: *** [navigation/map_server/CMakeFiles/map_server_image_loader.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 78%] Linking CXX shared library /home/jose/catkin_ws/devel/lib/libcontroller_manager.so
[ 78%] Built target controller_manager
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j2 -l2" failed

To solve this problem I used this solution:

https://answers.ros.org/question/68896/sdl-image-error-while-building-gmapping/