'How to build and compile OpenSlam-GMapping?

I downloaded the OpenSlam Gmapping software from https://openslam-org.github.io/gmapping.html

The source code is found here https://github.com/OpenSLAM-org/openslam_gmapping

I have some 2D laser log files from https://www.ipb.uni-bonn.de/datasets/ that I wish to use OpenSlam Gmapping to convert into an occupancy grid map as a .pgm file.

However, there are no documentations on how to build the OpenSlam Gmapping software. I tried building on the main directory but it returns this error

(base) fyp-student@mmen2-fyp2-080:~/Downloads/openslam_gmapping-master$ make
/bin/sh: 1: Entering utils.: not found
make[1]: Entering directory '/home/fyp-student/Downloads/openslam_gmapping-master/utils'
/bin/sh: 1: Generating dependencies for autoptr_test.cpp: not found
/bin/sh: 1: Generating dependencies for movement.cpp: not found
/bin/sh: 1: Generating dependencies for stat.cpp: not found
/bin/sh: 1: Compiling autoptr_test.cpp: not found
make[1]: *** [../build_tools/Makefile.generic-shared-object:54: autoptr_test.o] Error 127
make[1]: Leaving directory '/home/fyp-student/Downloads/openslam_gmapping-master/utils'
/bin/sh: 1: Compilation in utils failed.: not found
make: *** [build_tools/Makefile.subdirs:10: all] Error 1

Can anyone help me on this? I saw there was an instruction text file that shows

What to do for compiling the software:
1) uncompress the archive
    tar -xzvf mapping-xx.tgz
2) change into the source directory
    cd mapping
3) set the LD_LIBRARY_PATH variable so that it includes the mapping/lib directory
    . setlibpath
4) generate the configuration files
    ./configure
5) compile the software
    make

, but there isn't a folder called mapping for me to move into. I am really very new to this, any help is greatly appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source