gunklion.blogg.se

Doxygen makefile example
Doxygen makefile example














To build the libDAI source, first copy a template Makefile.* to nf (for example, copy Makefile.LINUX to nf if you use GNU/Linux). In order to use dynamic linking, the boost.bootstrap.sh -with-libraries=program_options,math,graph,test -prefix=/boost_root/ Build the required boost libraries using:.Download the latest boost libraries from.

doxygen makefile example

You can however obtain the latest boost version (you need at least 1.37.0) from and build it as described in the next subsection. On Cygwin, the prebuilt Cygwin package boost-1.33.1-x is known not to work. Should be enough to install everything that is needed. Then, a simple sudo port install gmake boost gmp doxygen graphviz If MacPorts is not already installed, install it according to the instructions at.

Doxygen makefile example mac os x#

On Mac OS X (10.4 is known to work), these packages can be installed easily via MacPorts.

doxygen makefile example

On Debian/Ubuntu, you can easily install the required packages with a single command: apt-get install g++ make doxygen graphviz libboost-dev libboost-graph-dev libboost-program-options-dev libboost-test-dev libgmp-dev cimg-dev

  • CImg library (only for building the image segmentation example).
  • graphviz (only for using some of the libDAI command line utilities).
  • doxygen makefile example

  • doxygen (only for building the documentation).
  • GMP library (or the Windows port called MPIR, for 64 bits builds MPIR 2.5.0 or higher is needed).
  • recent boost C++ libraries (at least version 1.37 however, version 1.37 shipped with Ubuntu 9.04 is known not to work).
  • a recent version of gcc (at least version 3.4).
  • Building libDAI under UNIX variants (Linux / Cygwin / Mac OS X)














    Doxygen makefile example