Difference between revisions of "Documentation:Install"

From The BABEL Development Site
(Installing library dependencies)
(Installing library dependencies)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
(TO DO)
+
__TOC__
  
  
Line 27: Line 27:
  
 
== Installing library dependencies ==
 
== Installing library dependencies ==
 
<small>'''NOTE: These instructions DO NOT apply to the currently released version of BABEL yet!! '''</small>
 
  
  
Line 39: Line 37:
 
=== OpenCV ===
 
=== OpenCV ===
  
'''Easiest way'''
+
'''Easiest way:'''
  
 
Download the installer packages for OpenCV 1.0.0 or OpenCV 1.1.0 from:
 
Download the installer packages for OpenCV 1.0.0 or OpenCV 1.1.0 from:
Line 47: Line 45:
  
  
'''Recommended'''
+
'''Recommended way:'''
  
 
To enjoy of the latest version of OpenCV, check out a SVN snapshot (install [http://tortoisesvn.tigris.org/ TortoiseSVN]) from:
 
To enjoy of the latest version of OpenCV, check out a SVN snapshot (install [http://tortoisesvn.tigris.org/ TortoiseSVN]) from:
Line 60: Line 58:
 
  <OPENCV_BUILD_DIR>/bin/Debug
 
  <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>
 
<br>
 
 
  
 
=== MRPT ===
 
=== MRPT ===
  
'''Recommended'''
+
'''Recommended way:'''
  
If you don't want/need to change the sources of MRPT, just download the latest installer package from:
+
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/
 
  http://babel.isa.uma.es/mrpt/downloads/
Line 77: Line 75:
  
  
'''Only if you need/have to hack MRPT sources'''
+
'''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].
 
Compile MRPT as explained [http://babel.isa.uma.es/mrpt/index.php/Building_and_Installing_Instructions here].

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