Differences between revisions 1 and 189 (spanning 188 versions)
Revision 1 as of 2009-09-18 14:37:48
Size: 1555
Comment:
Revision 189 as of 2013-06-19 16:52:12
Size: 253
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
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/]])
#pragma section-numbers on
/!\ THIS PAGE IS OBSOLETE. The up-to-date instructions for building Dynare from the source code is contained in the [[https://github.com/DynareTeam/dynare/blob/master/README.md|README.md]] file in the Dynare root directory.

/!\ THIS PAGE IS OBSOLETE. The up-to-date instructions for building Dynare from the source code is contained in the README.md file in the Dynare root directory.

DynareWiki: BuildingDynareFromSource (last edited 2013-06-19 16:52:12 by HoutanBastani)