This page explains how to build from source:
- Dynare (unstable version), including preprocessor and MEX files for MATLAB and Octave
- Dynare++
- all the associated documentation (PDF and HTML) from source
This source can be retrieved in two forms:
with subversion (SVN), at https://www.dynare.org/svn/dynare/trunk
- or using a snapshot or (when Dynare 4.1 is released) a source archive, from the website
Note that if you use the SVN version, you will need to install more tools (see below).
The first section of this page gives general instructions, which apply to all platforms. Then some specific platforms are discussed:
- Linux
- Windows, using MinGW
- Windows, using Cygwin
For Windows users, there is no pareto-optimum between MinGW and Cygwin, it depends on what you want to do:
- MinGW is simpler to setup if you just want to quiclky compile the binaries,
- Cygwin is recommended for those who update through SVN, or who want to build documentation.
General instructions
Prerequisites
A number of tools and libraries are needed in order to recompile everything. You don't necessarily need to install everything, depending on what you want to compile.
- MATLAB (if you want to compile MEX for MATLAB)
Octave (if you want to compile MEX for Octave, see http://www.octave.org)
Boost libraries, version 1.34 or later (mandatory, see http://www.boost.org)
Bison, version 2.3 or later (only if you get the source through SVN, see http://www.gnu.org/software/bison/)