[Dune] Dune on Windows MinGW

Bernd Flemisch bernd at iws.uni-stuttgart.de
Tue May 3 18:57:07 CEST 2011


Dear Dune,

I am not sure whether I tell you something new and/or interesting, but 
since I did not find this on the list, I thought I just share it.

I tried to install Dune 2.0 under Windows on top of MinGW, 
http://www.mingw.org/. And it worked almost without modifications. In 
particular, I had to

- define the constant M_PI in dgfprojectionblock.cc line 113.

- change the temroraryFileName method in dgfparser.cc line 1204 (I 
simply return an empty string and comment out the rest).

All core modules of the 2.0 release compile. Only the test in dune-istl 
and the finiteelements test of the dune-grid-howto fail due to missing 
headers sys/timer.h and sys/resource.h. The other grid-howto programs 
seem to run correctly and produce meaningful vtk output.

I did not use any external packages.

Kind regards
Bernd

-- 
_____________________________________________________________________

Bernd Flemisch                               phone: +49 711 685 69162
IWS, Universität Stuttgart                   fax:   +49 711 685 60430
Pfaffenwaldring 61                  email: bernd at iws.uni-stuttgart.de
D-70569 Stuttgart                  url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________





More information about the Dune mailing list