[Gmsh] trouble building gmsh-2.3.1-cvs-20090626 with cgns support

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Jun 28 18:13:12 CEST 2009


Christophe Trophime wrote:
> Hi,
> when trying to add cgns support in latest nightly gmsh source 
> I end up with the following error :

Hi Christophe - Thanks for the bug report: this should be fixed in 
tomorrow's snapshot.

> 
> /usr/local/OpenCASCADE6.2.0/ros/inc/BRepTools_Modifier.lxx: In member
> function 'const TopoDS_Shape& BRepTools_Modifier::ModifiedShape(const
> TopoDS_Shape&) const':
> /usr/local/OpenCASCADE6.2.0/ros/inc/BRepTools_Modifier.lxx:17: warning:
> deprecated conversion from string constant to 'char*'
> OCC_Connect.cpp: In member function 'void
> OCC_Connect::FaceCutters::Build(const TopoDS_Face&, TopoDS_Shape&,
> int)':
> OCC_Connect.cpp:426: warning: deprecated conversion from string constant
> to 'char*'
> g++ -g -O2 -I/usr/include/freetype2 -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> -I/usr/local/OpenCASCADE6.2.0/ros/inc -I../Common -I../Geo -I../Mesh
> -I../Post -I../Numeric -I../Parser -I../contrib/ANN/include
> -I../contrib/kbipack -I../contrib/DiscreteIntegration
> -I../contrib/MathEval -I../contrib/gmm  -c GModelIO_Fourier.cpp
> g++ -g -O2 -I/usr/include/freetype2 -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> -I/usr/local/OpenCASCADE6.2.0/ros/inc -I../Common -I../Geo -I../Mesh
> -I../Post -I../Numeric -I../Parser -I../contrib/ANN/include
> -I../contrib/kbipack -I../contrib/DiscreteIntegration
> -I../contrib/MathEval -I../contrib/gmm  -c GModelIO_CGNS.cpp
> GModelIO_CGNS.cpp: In function 'int get_zone_definition(GModel&, int,
> int, const CGNSOptions&, const PhysGroupMap&, int&,
> std::_Rb_tree_const_iterator<std::pair<const int, std::vector<GEntity*,
> std::allocator<GEntity*> > > >&, int&, int&,
> std::_Rb_tree_const_iterator<std::pair<const int, std::vector<GEntity*,
> std::allocator<GEntity*> > > >&,
> std::_Rb_tree_const_iterator<std::pair<const int, std::vector<GEntity*,
> std::allocator<GEntity*> > > >&, CGNSNameStr&)':
> GModelIO_CGNS.cpp:661: error: no matching function for call to
> 'GModel::getPhysicalName(const int&)'
> GModel.h:230: note: candidates are: std::string
> GModel::getPhysicalName(int, int)
> make[1]: *** [GModelIO_CGNS.o] Error 1
> make[1]: Leaving directory
> `/home/trophime/rpmbuild/BUILD/gmsh-2.3.1-cvs-20090626/Geo'
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine