Commit 87475c48 authored by PACANOWSKI Romain's avatar PACANOWSKI Romain

added more information on how to compile the different plugins

parent bbc75655
......@@ -17,6 +17,56 @@ be required to create your own system dependant .prf for any used library. For e
all the rational BRDF fitters use the Eigen library. Therefore it is mandatory that you
provide a eigen.prf file and that this file is in your QMAKEFEATURES directory.
Dependencies:
Plugin rational_eigen: Eigen
Plugin rational_quadprog: Quadprog++
Plugin rational_quadproge: Quadprog++ and Eigen
Plugin rational_cgal: The CGAL library
Plugin rational_parallel: The OpenMP library, Quadprog++ library and Eigen
Plugin rational_matlab: Matlab engine (matlab.prf required)
Eigen Plugins
You must provide an eigen.prf file that contains
INCLUDEPATH *= PATH_TO_EIGEN_DIRECTORY
Quadprog++ Plugins
We provide our own version of quadprog++ which uses Eigen library.
To compile it:
Go to external/quadprog++/
Use qmake (to generale the Makefile)
make
Then create a quadprog.prf file that will include
LIBS *= PATH_TO_LIBQUADPROG/libquadprog++.a
QMAKE_LIBDIR *= PATH_TO_LIBQUADPROG
INCLUDEPATH *= PATH_TO_LIBQUADPROG_HEADERS
Parallel Plugin that requires OpenMP
Create an openmp.prf file and add the following directives:
QMAKE_CXXFLAGS *=-fopenmp
Matlab Plugin
Create an matlab.prf file and add the following directives:
The PATH_TO_MATLAB_INCLUDE_DIRECTORY must point to a directory that
contains the file engine.h
INCLUDEPATH *= PATH_TO_MATLAB_INCLUDE_DIRECTORY
Generate the documentation using Doxygen
cd ${ALTA}/documents/
doxygen doxygen.conf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment