From e3c1746ac10a4832e15cd1212263ae2e7435d48d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Thu, 20 Feb 2020 12:30:53 +0100 Subject: [PATCH] README.md: fixes to compilation instructions under Windows/MSYS2 (cherry picked from commit 69ea03b5adb8fe81df4278cc92895dfbf89df52a) --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d31c8d96a6..206454d89a 100644 --- a/README.md +++ b/README.md @@ -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 ``` -- **(Optional)** compile and install SLICOT, needed for the `kalman_steady_state` - MEX file +- Compile and install SLICOT, needed for the `kalman_steady_state` MEX file ``` 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 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 cp slicot.a /usr/local/lib/libslicot64_pic.a 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 cd dynare 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 the MSYS2 notation and not put spaces in the MATLAB path, so you probably want -- GitLab