Menu

Compiling Log in to Edit

J.L. Blanco José Raúl Ruiz Sarmiento

http://openmora.sourceforge.net/doc/svn/compile.html

1. Prerequisites

This software is written in standard C++ and uses cross-platform libraries to ensure portability between all major platforms: GNU/Linux, Windows and Mac.

You will need:

  • A C++ compiler: It's recommended to use either GNU GCC 4.1.1 (or above) or Visual Studio 2008 (or above).

  • CMake: Can be downloaded here.

  • The MRPT libraries: See the <a project main site for instructions on downloading and building. Alternatively, binary versions can be installed in Windows (download an installer) or GNU/Linux (see availability for your distribution). MRPT may require the installation of further optional dependencies, from which at least wxWidgets and OpenCV should be installed.

  • The MOOS framework: A patched version of MOOS comes with MORA, but if you want to download it and compile it manually (not recommended unless needed for some reason), you can set the CMake variable MOOS_DIR to your custom build directory.

Optional stuff:

  • If using Verbio (a proprietary speech synthesis and recognition software) for Linux: For Verbio 8.0 and Ubuntu 32bit, install these packages with these exact versions:
    • libicu38_3.8.1-3ubuntu1.1_i386.deb
    • libxalan110_1.10-3.1_i386.deb
    • libxerces27_2.7.0-5_i386.deb
      And also do: sudo apt-get install libpulse-dev

2. Building

  • a) Execute cmake-gui, set SOURCE_DIR to the modules directory of MORA and BINARY_DIR to any empty directory where the Makefile's or compiler projects are to be generated.
  • b) If not detected automatically, set MRPT_DIR and MOOS_DIR to the corresponding binary directories where CMake generated the corresponding *Config.cmake files.
  • c) Compile the entire project, with make all for GCC with autotools, or by building the ALL_BUILD project in Visual Studio (for CodeBlocks, KDevelop, etc. follow the standard steps for CMake).

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB