Hi Chen,
some additional tips for your wish to compile DuMuX with Visual C++:

- Compiler: Use the newest compiler available. If you stick to
  Visual C++, use at least version 2010. The release candidate of
  2012 would be better.
  Give MinGW (gcc for Windows) or LLVM/Clang for Windows a try. That
  reduces the difference to our systems to the operating system and
  does not add the headstrong compiler.
- Version of Dune: Try Dune 2.2 instead of 2.1. DuMuX should work with
  both but 2.2 triggers a lot of deprecation warnings. Dune 2.2. 
  should be more compiler friendly because some bugs found with Clang
  were ironed out.
- Make sure Dune works: every Dune module provides tests, you can run
  them with "make check" in the module directory. You should at least
  run the tests in dune-grid because your compiler output states it
  does not like sgrid.hh. So run at least test-sgrid in dune/grid/test.
- If you still have problems, ask again. If we can extend the number
  of supported compilers, it makes our life easier, too.

Have fun,
Christoph

-- 
[Bill] Gates gave a speech at the university. Sheldon went up to
him afterward and said, "Maybe if you weren't so distracted by
sick children in Africa, you could've put a little more thought 
into Windows Vista."          [Raj, The Big Bang Theory, S04E17]
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to