Skip to content
Snippets Groups Projects
Verified Commit 69ea03b5 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

README.md: fixes to compilation instructions under Windows/MSYS2

[skip ci]
parent 2fea0338
No related branches found
No related tags found
No related merge requests found
...@@ -262,26 +262,25 @@ pacman -Syu ...@@ -262,26 +262,25 @@ pacman -Syu
``` ```
pacman -S git autoconf automake-wrapper bison flex make tar texinfo mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-boost mingw-w64-x86_64-gsl mingw-w64-x86_64-matio mingw-w64-x86_64-openblas pacman -S git autoconf automake-wrapper bison flex make tar texinfo mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-boost mingw-w64-x86_64-gsl mingw-w64-x86_64-matio mingw-w64-x86_64-openblas
``` ```
- **(Optional)** compile and install SLICOT, needed for the `kalman_steady_state` - Compile and install SLICOT, needed for the `kalman_steady_state` MEX file
MEX file
``` ```
wget https://deb.debian.org/debian/pool/main/s/slicot/slicot_5.0+20101122.orig.tar.gz wget https://deb.debian.org/debian/pool/main/s/slicot/slicot_5.0+20101122.orig.tar.gz
tar xf slicot_5.0+20101122.orig.tar.gz tar xf slicot_5.0+20101122.orig.tar.gz
cd slicot-5.0+20101122 cd slicot-5.0+20101122
make FORTRAN=gfortran OPTS="-O2 -fno-underscoring -fdefault-integer-8" LOADER=gfortran slicot.a make FORTRAN=gfortran OPTS="-O2 -fno-underscoring -fdefault-integer-8" LOADER=gfortran lib
mkdir -p /usr/local/lib mkdir -p /usr/local/lib
cp slicot.a /usr/local/lib/libslicot64_pic.a cp slicot.a /usr/local/lib/libslicot64_pic.a
cd .. cd ..
``` ```
- Clone and prepare the Dynare sources: - Prepare the Dynare sources, either by unpacking the source tarball, or with:
``` ```
git clone --recurse-submodules https://git.dynare.org/Dynare/dynare.git git clone --recurse-submodules https://git.dynare.org/Dynare/dynare.git
cd dynare cd dynare
autoreconf -si autoreconf -si
``` ```
- Configure Dynare: - Configure Dynare from the source directory:
``` ```
./configure --with-slicot=/usr/local --with-matlab=<…> MATLAB_VERSION=<…> --disable-octave ./configure --with-slicot=/usr/local --with-matlab=<…> MATLAB_VERSION=<…> --disable-octave --disable-doc
``` ```
where the path and version of MATLAB are specified. Note that you should use where the path and version of MATLAB are specified. Note that you should use
the MSYS2 notation and not put spaces in the MATLAB path, so you probably want the MSYS2 notation and not put spaces in the MATLAB path, so you probably want
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment