[Dune] Dune-cornerpoint migration to Windows

Christian Engwer christi at uni-hd.de
Tue Mar 29 15:30:16 CEST 2011


Dear Guillermo,

as you are asking for information regarding dune-cornerpoint, I assume
that you successfully compiled the Dune core modules with
VisualC++. Can you give any guidelines for other windows users? We
ourselfs don't use Windows and/or VisualC++ at all.

Cheers
Christian Engwer

On Tue, Mar 29, 2011 at 07:56:14AM -0430, Guillermo Montilla wrote:
> Dear Dune subscribers;
> 
> I am writing to request your support, which I will appreciate greatly.
> I'm migrating dune-cornerpoint to Visual C++ (Microsoft Windows), using the
> version of the following link
> https://public.ict.sintef.no/openrs/svn/trunk/dune-cornerpoint/common/
> 
> I have separated the work of migration in two phases:
> 
> 1. GRDECL Parser
> 2. Grid building
> 
> The first phase works great.
> 
> In the second phase I have encountered a compiler error within buildTopo()
> function, located in the file readEclipseFormat.cpp
> 
> The error occurs when calling the function makeInverseRelation(), there are
> two calls to this function.
> 
> This error produces the following compiler reports (twice)
> 
> Error C2664: 'std::allocator<_Ty>::construct' :
> Cannot convert parameter 2 from 'int' to 'const
> Dune::cpgrid::EntityRep<codim> &'
> File : C:\Program Files\Microsoft Visual Studio 8\VC\include\memory
> Line : 130
> 
> Error C2679: binary '='
> No operator found which takes a right-hand operand of type 'int' (or there
> is no acceptable conversion)
> File : C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility
> Line : 2266
> 
> Analyzing the error I have found that comes from the line 70 of
> SparceTable.h, which contains the following code
>             : data_(data_beg, data_end)
> 
> When I remove this line of code the compiler errors disappear.
> 
> I greatly appreciate if you can give me any suggestions to correct this
> error.
> Guillermo Montilla, Ph.D.
> University of Carabobo
> Venezuela

> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune





More information about the Dune mailing list