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