#80: Crashes of Dynare++ under Windows ------------------------+--------------------------------------------------- Reporter: sebastien | Owner: Type: bug | Status: new Priority: major | Milestone: Component: Dynare++ | Version: 4.1.0 Resolution: | Keywords: ------------------------+---------------------------------------------------
Comment(by sebastien):
This is a compiler issue.
When compiled with MinGW GCC 4.4.0 with Dwarf-2 exceptions (bundled with Octave/MinGW 3.2.3), the problem occurs.
When compiled with MinGW GCC 4.4.1 with Sjlj exceptions (from TDM - http://www.tdragon.net/recentgcc/ ), the problem does not occur.
This should be taken into account when producing Dynare++ in the next Dynare release.
Note: For installing TDM GCC, use the bundled installer (check gfortran, uncheck add to the PATH), this will install MinGW in c:\MinGW. Then run the two commands for compilation (from Octave's MSYS): {{{ export PATH=$PATH:/c/MinGW/bin:/c/Octave/3.2.3_gcc4.4.0/bin ./configure CPPFLAGS="-I/home/user/boost_1_41_0" LDFLAGS="-L/c/Octave/3.2.3_gcc4.4.0/lib" --disable-octave }}} The MinGW with Dwarf-2 exceptions is probably only mandatory for Octave MEX files (this needs to be checked).