Difference between revisions of "Documentation:Install"

From The BABEL Development Site
(New page: (TO DO) == Installation of BABEL == == Installing library dependencies ==)
 
(Installing library dependencies)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__TOC__
  
(TO DO)
 
  
 +
== Installation of BABEL ==
 +
 +
'''BABEL package'''
 +
 +
To install the BABEL development system (currently available for Windows only), go to the main BABEL website:
 +
http://babel.isa.uma.es/babel2/
 +
 +
And download the latest BABEL release (as of this writting, ''BABEL - Endymion v0.39'').
 +
Uncompress this file anywhere on your system, as long as its '''path does not contain spaces''', for instance, 'c:\BABEL'.
 +
 +
 +
'''Environment variable: PATH'''
  
== Installation of BABEL ==
+
For usage of the latest generator for ''Visual Studio 2008'', you must add these directories to your system PATH variable:
 +
 
 +
<YOUR PROGRAM FILES>/Microsoft Visual Studio 9.0/Common7/IDE
 +
<YOUR PROGRAM FILES>/Microsoft Visual Studio 9.0/VC/bin/
  
  
  
 +
<br>
  
  
  
 
== Installing library dependencies ==
 
== Installing library dependencies ==
 +
 +
 +
A BABEL module may have non-portable software dependencies, which means that the target system must have some pre-installed software library
 +
in order to compile and/or execute the module.
 +
 +
We enumerate next the libraries used by some of these modules, among instructions for installing them.
 +
 +
 +
=== OpenCV ===
 +
 +
'''Easiest way:'''
 +
 +
Download the installer packages for OpenCV 1.0.0 or OpenCV 1.1.0 from:
 +
 +
http://sourceforge.net/project/showfiles.php?group_id=22870&package_id=16937
 +
 +
 +
 +
'''Recommended way:'''
 +
 +
To enjoy of the latest version of OpenCV, check out a SVN snapshot (install [http://tortoisesvn.tigris.org/ TortoiseSVN]) from:
 +
 +
https://opencvlibrary.svn.sourceforge.net/svnroot/opencvlibrary/trunk/opencv/
 +
 +
And follow [https://opencvlibrary.svn.sourceforge.net/svnroot/opencvlibrary/trunk/opencv/INSTALL the compiling instructions] to
 +
generate the project files using [http://www.cmake.org/ CMake], then compile everything in Release and Debug.
 +
 +
'''Remember''' to add these directories to your system PATH:
 +
<OPENCV_BUILD_DIR>/bin/Release
 +
<OPENCV_BUILD_DIR>/bin/Debug
 +
 +
Only if you have opted to compile opencv from sources, it is '''highly recommended''' to create an environment variable:
 +
OpenCV_DIR = <OPENCV_BUILD_DIR>
 +
in order to help CMake to always find the correct version of OpenCV.
 +
 +
 +
<br>
 +
 +
=== MRPT ===
 +
 +
'''Recommended way:'''
 +
 +
If you don't want/need to compile MRPT from sources, just download the latest installer package ("Precompiled packages") from:
 +
 +
http://babel.isa.uma.es/mrpt/downloads/
 +
 +
 +
 +
'''Only if you need/have to hack MRPT sources:'''
 +
 +
Compile MRPT as explained [http://babel.isa.uma.es/mrpt/index.php/Building_and_Installing_Instructions here].
 +
 +
'''Remember''' to add these directories to your system PATH:
 +
<MRPT_BUILD_DIR>/bin/Release
 +
<MRPT_BUILD_DIR>/bin/Debug
 +
 +
 +
 +
<br>

Latest revision as of 09:25, 22 July 2009


Installation of BABEL

BABEL package

To install the BABEL development system (currently available for Windows only), go to the main BABEL website:

http://babel.isa.uma.es/babel2/

And download the latest BABEL release (as of this writting, BABEL - Endymion v0.39). Uncompress this file anywhere on your system, as long as its path does not contain spaces, for instance, 'c:\BABEL'.


Environment variable: PATH

For usage of the latest generator for Visual Studio 2008, you must add these directories to your system PATH variable:

<YOUR PROGRAM FILES>/Microsoft Visual Studio 9.0/Common7/IDE
<YOUR PROGRAM FILES>/Microsoft Visual Studio 9.0/VC/bin/




Installing library dependencies

A BABEL module may have non-portable software dependencies, which means that the target system must have some pre-installed software library in order to compile and/or execute the module.

We enumerate next the libraries used by some of these modules, among instructions for installing them.


OpenCV

Easiest way:

Download the installer packages for OpenCV 1.0.0 or OpenCV 1.1.0 from:

http://sourceforge.net/project/showfiles.php?group_id=22870&package_id=16937


Recommended way:

To enjoy of the latest version of OpenCV, check out a SVN snapshot (install TortoiseSVN) from:

https://opencvlibrary.svn.sourceforge.net/svnroot/opencvlibrary/trunk/opencv/

And follow the compiling instructions to generate the project files using CMake, then compile everything in Release and Debug.

Remember to add these directories to your system PATH:

<OPENCV_BUILD_DIR>/bin/Release 
<OPENCV_BUILD_DIR>/bin/Debug

Only if you have opted to compile opencv from sources, it is highly recommended to create an environment variable:

OpenCV_DIR = <OPENCV_BUILD_DIR>

in order to help CMake to always find the correct version of OpenCV.



MRPT

Recommended way:

If you don't want/need to compile MRPT from sources, just download the latest installer package ("Precompiled packages") from:

http://babel.isa.uma.es/mrpt/downloads/


Only if you need/have to hack MRPT sources:

Compile MRPT as explained here.

Remember to add these directories to your system PATH:

<MRPT_BUILD_DIR>/bin/Release 
<MRPT_BUILD_DIR>/bin/Debug