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

Christophe Trophime christophe.trophime at grenoble.cnrs.fr
Fri Jun 26 11:46:07 CEST 2009


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

/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'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2629 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090626/220aee90/attachment.p7s>