Hey Chen,
I do not have too much experience in trying to build Dune in a Windows
environment and I am afraid that not too many people have. What seemed
most promising to me was to set up on MinGW. There is a Flyspray task
documenting my efforts:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=912
If I had the time, I would try it with Code::Blocks,
http://www.codeblocks.org/. This integrates MinGW in an IDE, and one
could customize commands to run dunecontrol.
In any case, you should first try to build e.g. a few tests in dune-grid
to check whether the compiler gets the stuff right. And then move on to
Dumux.
Kind regards
Bernd
On 07/03/2012 01:38 PM, Chen S wrote:
Hi Everyone,
I'm trying to build the 2pni test under windows with Visual C++,
and it gives me a few errors (which occur more than once) .
I am aware that visual studio might have a different approach to
templates,
and that can cause problems, but I'm not familiar with high-level
templates programming.
The errors are:
error C2976: 'Dune::GridTraits' : too few template
argumentsC:\cygwin\home\dune-home\dune-grid-2.1.1\dune\grid\sgrid.hh Line: 1396
error C2059: syntax error :
'<'C:\cygwin\home\dune-home\dune-grid-2.1.1\dune\grid\sgrid.hhLine: 1685
error C2334: unexpected token(s) preceding '{'; skipping apparent
function
bodyC:\cygwin\home\dune-home\dune-grid-2.1.1\dune\grid\sgrid.hh Line: 1686
error C2238: unexpected token(s) preceding
';'C:\cygwin\home\dune-home\dune-grid-2.1.1\dune\grid\sgrid.hhLine: 1862
error C2065: '__func__' : undeclared
identifierC:\cygwin\home\dune-home\dune-grid-2.1.1\dune\grid\io\file\dgfparser\dgfyasp.hhLine: 50
error C1083: Cannot open include file: 'tr1/type_traits': No such file
or directoryC:\cygwin\home\dumux\dumux\common\propertysystem.hhLine: 46
Thanks for any help
Chen
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
--
_____________________________________________________________________
Bernd Flemisch phone: +49 711 685 69162
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email: [email protected]
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux