How to install and use mfgb

1.Dependencies

Here is the list of packages to be installed before configuring mfgb:

src rpm deb port (Mac)
fgb fgb
multimix multimix

2.Download

The version under development can be downloaded by anonymous svn with:

svn checkout svn://scm.gforge.inria.fr/svn/mmx/mfgb

The source distribution is available at

http://gforge.inria.fr/project/mmx

Its is uncompressed with:

tar zxvf mfgb-0.1-Source.tar.gz

3.Configuration

To run the configuration, cmake (version ) should first be installed.

The package can be configured with out-of-source (eg. in a folder build) as follows:

cd build;
cmake <mfgb_source_dir> -DCMAKE_INSTALL_PREFIX=<install_dir>

where

If not specified,

the package is installed by default in /usr/local. For more details, on the different options see here.

To build and install the libraries, you have to type:

make && make install

To see the operations performed during the make command, you can use:

make VERBOSE=1

To see the other available targets, you can use:

make help

4.How to set locally your environment variables

In case you have not run make install, you can set up your environment locally in the folder build with:

source local_paths

5.Using mfgb

To use the package mfgb in a cmake project, you can simply add the following lines in your file CMakeLists.txt:

find_package(Mfgb)
include_directories( ${MFGB_INCLUDE_DIR} )
link_libraries( ${MFGB_LIBRARIES} )