
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.

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.

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

