The following steps show how to build SLAM6D on Ubuntu.
- In Ubuntu, open a Terminal window.
- If necessary, update Ubuntu and download the g++ compiler and other development essentials. Run the following commands.
$ sudo apt-get update
$ sudo apt-get install build-essential - Download the latest SLAM6D source code to a folder e.g. /home/obama/Documents/slam6d-code.
$ svn checkout http://svn.code.sf.net/p/slam6d/code/trunk slam6d-code - Install the prerequisite Boost libraries.
$ sudo apt-get install libboost-all-dev libcv-dev freeglut3-dev libxmu-dev libxi-dev - Use an Internet browser to download the latest OpenCV source code for Linux from http://opencv.org/downloads.html. Extract the files into a folder e.g. /home/obama/Documents/opencv-2.4.9/.
- In a Terminal window, use cmake to configure OpenCV source code by entering the following commands.
$ cd opencv-2.4.9
$ mkdir release
$ cd release
$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. - Now compile and install OpenCV.
$ make
$ sudo make install - Compile and build the SLAM6D source code downloaded previously.
$ cd slam6d-code
$ make
At this point, the SLAM6D executables would have been built and can be used to process 3D point clouds.
No comments:
Post a Comment