Changeset 302 for doc/html/install.html

Show
Ignore:
Timestamp:
03/19/09 16:34:17 (15 years ago)
Author:
smidl
Message:

Install manual ticket #17

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/install.html

    r298 r302  
    6060<div class="contents"> 
    6161<h1><a class="anchor" name="install">How to install BDM </a></h1>BDM is written as a multiplatform library, which was tested on Linux, Windows and Mac OSX. However, installation on each platform is specific.<p> 
    62 BDM comes in two basic versions: <dl> 
    63 <dt>binary </dt> 
    64 <dd>with precompiled executables and matlab mex files that can be configured by external text files </dd> 
    65 <dt>source code </dt> 
    66 <dd>that can be compiled into any required form.<p> 
    67 </dd> 
    68 </dl> 
    69 <h2><a class="anchor" name="bin"> 
    70 Binary form</a></h2> 
    71 Distribution of the binary form is not currently available.<h2><a class="anchor" name="src"> 
     62BDM comes in two basic versions: <ul> 
     63<li><b>binary</b> with precompiled executables and matlab mex files that can be configured by external text files </li> 
     64<li><b>source</b> <b>code</b> that can be compiled into any required form. Distribution of the binary form is not currently available. It is planned in latter stages of development.</li> 
     65</ul> 
     66<h2><a class="anchor" name="src"> 
    7267Source code</a></h2> 
    7368is available from svn repository: <a href="http://mys.utia.cas.cz:1800/svn/mixpp">http://mys.utia.cas.cz:1800/svn/mixpp</a><p> 
    7469For download use an appropriate SVN client <a href="http://subversion.tigris.org/links.html#clients">http://subversion.tigris.org/links.html#clients</a><h3><a class="anchor" name="pre"> 
    7570Prerequisities</a></h3> 
    76 You need to have the following tools available on your system: working C++ compiler, e.g. gcc on Linux, or Visual Studio on windows CMake a cross-platform build system, <a href="http://www.cmake.org">http://www.cmake.org</a> ITPP library, <a href="http://itpp.sourceforge.net/">http://itpp.sourceforge.net/</a> which is a part of all major linux distributions, for its installation on Windows, see Section Windows.<h3><a class="anchor" name="lin"> 
    77 Linux</a></h3> 
     71You need to have the following tools available on your system: <ul> 
     72<li>working C++ compiler, e.g. gcc on Linux, or Visual Studio on windows </li> 
     73<li>CMake, a cross-platform build system, <a href="http://www.cmake.org">http://www.cmake.org</a> </li> 
     74<li>ITPP library, <a href="http://itpp.sourceforge.net/">http://itpp.sourceforge.net/</a> which is a part of all major linux distributions, for its installation on Windows, see Section Windows.</li> 
     75</ul> 
     76<h2><a class="anchor" name="lin"> 
     77Linux</a></h2> 
    7878All prerequisities are available as binary packages for most distribution. E.g. for debian-based distributions, use <div class="fragment"><pre class="fragment">apt-<span class="keyword">get</span> install g++ cmake libitpp-dev  
    7979</pre></div><p> 
     
    8181$ cmake . 
    8282$ make 
    83 </pre></div><h3><a class="anchor" name="win"> 
    84 Windows</a></h3> 
     83</pre></div><h2><a class="anchor" name="win"> 
     84Windows</a></h2> 
    8585The following approach was tested on Visual Studio 9, so we recommend to download and install it. <a href="http://www.microsoft.com/express/vc/">http://www.microsoft.com/express/vc/</a><p> 
    8686Make sure you have cmake installed.<p> 
    8787Expert users are advised to download and compile their ITPP version following a guide on : <a href="http://itpp.sourceforge.net/current/installation.html">http://itpp.sourceforge.net/current/installation.html</a><p> 
    88 For convenience of the beginners, DLLS of the ACML and lib+include files for ITPP and ACML are provided at: <a href="http://staff.utia.cas.cz/smidl/Public/mixpp_win32lib.zip">http://staff.utia.cas.cz/smidl/Public/mixpp_win32lib.zip</a> If you want to use them copy the content of the zip file to win32\ directory and make sure to set your PATH environment variable: <div class="fragment"><pre class="fragment"> Path = %PATH%; &lt;mixpp_dir&gt;\win32\dll 
     88For convenience of the beginners, DLLS of the ACML and lib+include files for ITPP and ACML are provided at: <a href="http://staff.utia.cas.cz/smidl/Public/mixpp_win32lib.zip">http://staff.utia.cas.cz/smidl/Public/mixpp_win32lib.zip</a> If you want to use them copy the content of the zip file to win32\ directory and make sure to set your PATH environment variable: <div class="fragment"><pre class="fragment"> Path = %PATH%; &lt;bdm_dir&gt;\win32\dll 
    8989</pre></div> Otherwise you will not be able to run any programs.<p> 
    9090Compilation of BDM:<p> 
    9191When everything is set-up, make a copy of win32/run_cmake.bat, edit it to reflect your environment (i.e. change paths to cmake and your C++ target environment) and run it.<p> 
    92 It should generate build files for your compiler in the main BDM directory </div> 
    93 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 17 18:33:03 2009 for mixpp by&nbsp; 
     92It should generate build files for your compiler in the main BDM directory<h2><a class="anchor" name="mac"> 
     93Mac OS X</a></h2> 
     94All prerequisities for Mac OS X are avaliable except for ITPP, make sure you have them installed.<p> 
     95However, its compilation is straightforward.<p> 
     961. Download the latest stable release from <a href="http://itpp.sourceforge.net">http://itpp.sourceforge.net</a> 2. Compile it using script mac/itpp_compile.sh<p> 
     97The default cmake configuration is looking for itpp in directory mac/itpp, make sure you have symlinks to this directory.<p> 
     98If itpp compilation is successfull, you can run Cmake. Fill in the paths to your BDM directory, run Configure followed by Create. Configuration files for your favourite build environment should be created in the BDM directory. </div> 
     99<hr size="1"><address style="text-align: right;"><small>Generated on Thu Mar 19 16:25:43 2009 for mixpp by&nbsp; 
    94100<a href="http://www.doxygen.org/index.html"> 
    95101<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>