Hello everyone, I recently discovered Gmsh and would like to use it as a library for my work.
I therefore downloaded Gmsh's source (V2.7), the pre-compiled dependencies (gmsh-dep) and OpenCASCADE (V6.5.5) and followed the compilation procedure described in the README.txt (using Cmake GUI, I dropped the FLTK dependency, chose to output the .lib and .dll and provided the extra link toward the OCC folder). However, when I opened the .sln on Visual Studio 2010 and built the .lib and . dll, the build failed and I got the errors presented in the enclosed "log_error.txt" (the complete log is available under log.txt). Could someone shed a light on these compilation errors? Did I miss any step in the setup done before the buidling in V. Studio? Many thanks for your help! Best regards, Anthony Cazasnoves
1>..\gmsh-2.7.0-source\contrib\onelab\OnelabClients.cpp(1242): error C2065: 'S_IRWXU' : undeclared identifier 1>..\gmsh-2.7.0-source\Plugin\Crack.cpp(125): error C2440: 'initializing' : cannot convert from 'std::_Tree_const_iterator<_Mytree>' to 'std::_Tree_const_iterator<_Mytree>' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,Less_EdgeData,std::allocator<EdgeData>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,std::less<EdgeData>,std::allocator<EdgeData>,false>> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous 1>..\gmsh-2.7.0-source\Plugin\Crack.cpp(125): error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'std::_Tree_const_iterator<_Mytree>' (or there is no acceptable conversion) 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,std::less<EdgeData>,std::allocator<EdgeData>,false>> 1> ] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(425): could be 'bool std::operator !=(const std::error_code &,const std::error_condition &)' [found using argument-dependent lookup] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(432): or 'bool std::operator !=(const std::error_condition &,const std::error_code &)' [found using argument-dependent lookup] 1> C:\Users\AC236470\Desktop\Compilation_gmsh\gmsh-2.7.0-source\Geo\MEdge.h(96): or 'bool operator !=(const MEdge &,const MEdge &)' 1> c:\users\ac236470\desktop\compilation_gmsh\gmsh-2.7.0-source\geo\MFace.h(114): or 'bool operator !=(const MFace &,const MFace &)' 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(333): or 'bool std::_Tree_const_iterator<_Mytree>::operator !=(const std::_Tree_const_iterator<_Mytree> &) const' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,std::less<EdgeData>,std::allocator<EdgeData>,false>> 1> ] 1> while trying to match the argument list '(std::_Tree_const_iterator<_Mytree>, std::_Tree_const_iterator<_Mytree>)' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,std::less<EdgeData>,std::allocator<EdgeData>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,Less_EdgeData,std::allocator<EdgeData>,false>> 1> ] 1>..\gmsh-2.7.0-source\Mesh\directions3D.cpp(664): error C2440: 'initializing' : cannot convert from 'std::_Tree_iterator<_Mytree>' to 'std::_Tree_iterator<_Mytree>' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,Less_Edge,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous 1>..\gmsh-2.7.0-source\Mesh\directions3D.cpp(665): error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'std::_Tree_iterator<_Mytree>' (or there is no acceptable conversion) 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(425): could be 'bool std::operator !=(const std::error_code &,const std::error_condition &)' [found using argument-dependent lookup] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(432): or 'bool std::operator !=(const std::error_condition &,const std::error_code &)' [found using argument-dependent lookup] 1> C:\Users\AC236470\Desktop\Compilation_gmsh\gmsh-2.7.0-source\Geo\MEdge.h(96): or 'bool operator !=(const MEdge &,const MEdge &)' 1> c:\users\ac236470\desktop\compilation_gmsh\gmsh-2.7.0-source\geo\MFace.h(114): or 'bool operator !=(const MFace &,const MFace &)' 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(333): or 'bool std::_Tree_const_iterator<_Mytree>::operator !=(const std::_Tree_const_iterator<_Mytree> &) const' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> while trying to match the argument list '(std::_Tree_iterator<_Mytree>, std::_Tree_iterator<_Mytree>)' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,Less_Edge,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1>..\gmsh-2.7.0-source\Mesh\directions3D.cpp(719): error C2440: 'initializing' : cannot convert from 'std::_Tree_iterator<_Mytree>' to 'std::_Tree_iterator<_Mytree>' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,Less_Edge,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(226): error C2057: expected constant expression 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(226): error C2466: cannot allocate an array of constant size 0 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(226): error C2133: 'gradsuvw' : unknown size 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(451): error C2057: expected constant expression 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(451): error C2466: cannot allocate an array of constant size 0 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(451): error C2133: 'gradsuvw' : unknown size 1>..\gmsh-2.7.0-source\Geo\GModel.cpp(3200): error C2440: 'initializing' : cannot convert from 'std::_Tree_iterator<_Mytree>' to 'std::_Tree_iterator<_Mytree>' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,true>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<dpair,tpair,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,false>> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous 1>..\gmsh-2.7.0-source\Geo\GModel.cpp(3201): error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'std::_Tree_iterator<_Mytree>' (or there is no acceptable conversion) 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<dpair,tpair,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,false>> 1> ] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(425): could be 'bool std::operator !=(const std::error_code &,const std::error_condition &)' [found using argument-dependent lookup] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(432): or 'bool std::operator !=(const std::error_condition &,const std::error_code &)' [found using argument-dependent lookup] 1> c:\users\ac236470\desktop\compilation_gmsh\gmsh-2.7.0-source\geo\MEdge.h(96): or 'bool operator !=(const MEdge &,const MEdge &)' 1> c:\users\ac236470\desktop\compilation_gmsh\gmsh-2.7.0-source\geo\MFace.h(114): or 'bool operator !=(const MFace &,const MFace &)' 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(333): or 'bool std::_Tree_const_iterator<_Mytree>::operator !=(const std::_Tree_const_iterator<_Mytree> &) const' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<dpair,tpair,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,false>> 1> ] 1> while trying to match the argument list '(std::_Tree_iterator<_Mytree>, std::_Tree_iterator<_Mytree>)' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<dpair,tpair,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,true>> 1> ]
1>------ Build started: Project: gmsh, Configuration: RelWithDebInfo x64 ------ 1>Build started 10/04/2013 12:03:29. 1>InitializeBuildStatus: 1> Creating "gmsh.dir\RelWithDebInfo\gmsh.unsuccessfulbuild" because "AlwaysCreate" was specified. 1>CustomBuild: 1> Building Custom Rule C:/Users/AC236470/Desktop/Compilation_gmsh/gmsh-2.7.0-source/CMakeLists.txt 1> CMake does not need to re-run because C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\CMakeFiles\generate.stamp is up-to-date. 1>MakeDirsForCl: 1> Creating directory "C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\gmsh.dir\RelWithDebInfo\contrib\Metis". 1> Creating directory "C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\gmsh.dir\RelWithDebInfo\contrib\Chaco\submain". 1> Creating directory "C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\gmsh.dir\RelWithDebInfo\contrib\Chaco\coarsen". 1> Creating directory "C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\gmsh.dir\RelWithDebInfo\contrib\Chaco\eigen". 1> Creating directory "C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\gmsh.dir\RelWithDebInfo\contrib\blossom\concorde97\UTIL". 1> Creating directory "C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\gmsh.dir\RelWithDebInfo\contrib\blossom\MATCH". 1> Creating directory "C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\gmsh.dir\RelWithDebInfo\contrib\Netgen\libsrc\meshing". 1> Creating directory "C:\Users\AC236470\Desktop\Compilation_gmsh\Build_gmsh_ss_fltk\gmsh.dir\RelWithDebInfo\contrib\mmg3d\build\sources". 1>ClCompile: 1> Main.cpp 1> Gmsh.cpp 1> GmshRemote.cpp 1> GmshMessage.cpp 1>..\gmsh-2.7.0-source\Common\GmshMessage.cpp(177): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details. 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(723) : see declaration of 'fileno' 1> gmshPopplerWrapper.cpp 1> Context.cpp 1> Options.cpp 1> CommandLine.cpp 1> OS.cpp 1> OpenFile.cpp 1> CreateFile.cpp 1> VertexArray.cpp 1> SmoothData.cpp 1> Octree.cpp 1> OctreeInternals.cpp 1> StringUtils.cpp 1> ListUtils.cpp 1> TreeUtils.cpp 1> avl.cpp 1> MallocUtils.cpp 1> Generating Code... 1> Compiling... 1> onelabUtils.cpp 1> Numeric.cpp 1> fullMatrix.cpp 1> BasisFactory.cpp 1> nodalBasis.cpp 1> polynomialBasis.cpp 1> JacobianBasis.cpp 1> BergotBasis.cpp 1> pyramidalBasis.cpp 1> jacobiPolynomials.cpp 1> legendrePolynomials.cpp 1> pointsGenerators.cpp 1> GaussIntegration.cpp 1> GaussQuadratureLin.cpp 1> GaussQuadratureTri.cpp 1> GaussQuadratureQuad.cpp 1> GaussQuadratureTet.cpp 1> GaussQuadratureHex.cpp 1> GaussQuadraturePri.cpp 1> GaussQuadraturePyr.cpp 1> Generating Code... 1> Compiling... 1> GaussLegendreSimplex.cpp 1> GaussJacobi1D.cpp 1> robustPredicates.cpp 1> mathEvaluator.cpp 1> Iso.cpp 1> intersectCurveSurface.cpp 1> GEntity.cpp 1> STensor3.cpp 1> GVertex.cpp 1> GEdge.cpp 1> GFace.cpp 1> GRegion.cpp 1> GEdgeLoop.cpp 1> GEdgeCompound.cpp 1> GFaceCompound.cpp 1> GRegionCompound.cpp 1> GRbf.cpp 1> gmshVertex.cpp 1> gmshEdge.cpp 1> gmshFace.cpp 1> Generating Code... 1> Compiling... 1> gmshRegion.cpp 1> gmshSurface.cpp 1> OCCVertex.cpp 1> OCCEdge.cpp 1> OCCFace.cpp 1> OCCRegion.cpp 1> discreteEdge.cpp 1> discreteFace.cpp 1> discreteRegion.cpp 1> fourierEdge.cpp 1> fourierFace.cpp 1> fourierProjectionFace.cpp 1> ACISVertex.cpp 1> ACISEdge.cpp 1> ACISFace.cpp 1> GModel.cpp 1>..\gmsh-2.7.0-source\Geo\GModel.cpp(3200): error C2440: 'initializing' : cannot convert from 'std::_Tree_iterator<_Mytree>' to 'std::_Tree_iterator<_Mytree>' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,true>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<dpair,tpair,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,false>> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous 1>..\gmsh-2.7.0-source\Geo\GModel.cpp(3201): error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'std::_Tree_iterator<_Mytree>' (or there is no acceptable conversion) 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<dpair,tpair,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,false>> 1> ] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(425): could be 'bool std::operator !=(const std::error_code &,const std::error_condition &)' [found using argument-dependent lookup] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(432): or 'bool std::operator !=(const std::error_condition &,const std::error_code &)' [found using argument-dependent lookup] 1> c:\users\ac236470\desktop\compilation_gmsh\gmsh-2.7.0-source\geo\MEdge.h(96): or 'bool operator !=(const MEdge &,const MEdge &)' 1> c:\users\ac236470\desktop\compilation_gmsh\gmsh-2.7.0-source\geo\MFace.h(114): or 'bool operator !=(const MFace &,const MFace &)' 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(333): or 'bool std::_Tree_const_iterator<_Mytree>::operator !=(const std::_Tree_const_iterator<_Mytree> &) const' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<dpair,tpair,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,false>> 1> ] 1> while trying to match the argument list '(std::_Tree_iterator<_Mytree>, std::_Tree_iterator<_Mytree>)' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<dpair,tpair,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>,std::less<std::pair<std::vector<int>,std::vector<int>>>,std::allocator<std::pair<const std::pair<std::vector<int>,std::vector<int>>,std::pair<std::string,std::vector<int>>>>,true>> 1> ] 1> GModelVertexArrays.cpp 1> GModelFactory.cpp 1> GModelIO_GEO.cpp 1> GModelIO_ACIS.cpp 1> Generating Code... 1> Compiling... 1> GModelIO_OCC.cpp 1> GModelIO_Fourier.cpp 1> OCC_Connect.cpp 1> GModelIO_MSH.cpp 1> GModelIO_MSH2.cpp 1> GModelIO_VTK.cpp 1> GModelIO_POS.cpp 1> GModelIO_CGNS.cpp 1> GModelIO_MED.cpp 1> GModelIO_MESH.cpp 1> GModelIO_STL.cpp 1> GModelIO_PLY.cpp 1> GModelIO_VRML.cpp 1> GModelIO_UNV.cpp 1> GModelIO_BDF.cpp 1> GModelIO_IR3.cpp 1> GModelIO_DIFF.cpp 1> GModelIO_GEOM.cpp 1> GModelIO_INP.cpp 1> GModelIO_MAIL.cpp 1> Generating Code... 1> Compiling... 1> GModelIO_P3D.cpp 1> ExtrudeParams.cpp 1> Geo.cpp 1> GeoStringInterface.cpp 1> GeoInterpolation.cpp 1> gmshLevelset.cpp 1> findLinks.cpp 1> SOrientedBoundingBox.cpp 1> GeomMeshMatcher.cpp 1> MVertex.cpp 1> MEdge.cpp 1> MFace.cpp 1> MElement.cpp 1> MElementOctree.cpp 1> MLine.cpp 1> MTriangle.cpp 1> MQuadrangle.cpp 1> MTetrahedron.cpp 1> MHexahedron.cpp 1> MPrism.cpp 1> Generating Code... 1> Compiling... 1> MPyramid.cpp 1> MElementCut.cpp 1> MSubElement.cpp 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(226): error C2057: expected constant expression 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(226): error C2466: cannot allocate an array of constant size 0 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(226): error C2133: 'gradsuvw' : unknown size 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(451): error C2057: expected constant expression 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(451): error C2466: cannot allocate an array of constant size 0 1>..\gmsh-2.7.0-source\Geo\MSubElement.cpp(451): error C2133: 'gradsuvw' : unknown size 1> MZone.cpp 1> MZoneBoundary.cpp 1> Cell.cpp 1> CellComplex.cpp 1> ChainComplex.cpp 1> Homology.cpp 1> Chain.cpp 1> Curvature.cpp 1> MVertexBoundaryLayerData.cpp 1> Generator.cpp 1> meshGEdge.cpp 1> meshGEdgeExtruded.cpp 1> meshGFace.cpp 1> meshGFaceElliptic.cpp 1> meshGFaceTransfinite.cpp 1> meshGFaceExtruded.cpp 1> meshGFaceBamg.cpp 1> Generating Code... 1> Compiling... 1> meshGFaceBDS.cpp 1> meshGFaceDelaunayInsertion.cpp 1> meshGFaceLloyd.cpp 1> meshGFaceOptimize.cpp 1>..\gmsh-2.7.0-source\Mesh\meshGFaceOptimize.cpp(2261): warning C4505: 'orientationOK' : unreferenced local function has been removed 1> meshGFaceQuadrilateralize.cpp 1> meshGFaceBoundaryLayers.cpp 1> meshGRegion.cpp 1> meshGRegionBoundaryLayers.cpp 1> meshGRegionDelaunayInsertion.cpp 1> meshGRegionTransfinite.cpp 1> meshGRegionExtruded.cpp 1> meshGRegionCarveHole.cpp 1> meshGRegionLocalMeshMod.cpp 1> meshGRegionMMG3D.cpp 1> meshMetric.cpp 1> BackgroundMesh.cpp 1> qualityMeasures.cpp 1> BoundaryLayers.cpp 1> BDS.cpp 1> HighOrder.cpp 1> Generating Code... 1> Compiling... 1> highOrderTools.cpp 1> meshPartition.cpp 1> meshRefine.cpp 1> multiscalePartition.cpp 1> QuadTriUtils.cpp 1> QuadTriExtruded2D.cpp 1> QuadTriExtruded3D.cpp 1> QuadTriTransfinite3D.cpp 1> simple3D.cpp 1> DivideAndConquer.cpp 1> Voronoi3D.cpp 1> Levy3D.cpp 1> periodical.cpp 1> directions3D.cpp 1>..\gmsh-2.7.0-source\Mesh\directions3D.cpp(664): error C2440: 'initializing' : cannot convert from 'std::_Tree_iterator<_Mytree>' to 'std::_Tree_iterator<_Mytree>' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,Less_Edge,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous 1>..\gmsh-2.7.0-source\Mesh\directions3D.cpp(665): error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'std::_Tree_iterator<_Mytree>' (or there is no acceptable conversion) 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(425): could be 'bool std::operator !=(const std::error_code &,const std::error_condition &)' [found using argument-dependent lookup] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(432): or 'bool std::operator !=(const std::error_condition &,const std::error_code &)' [found using argument-dependent lookup] 1> C:\Users\AC236470\Desktop\Compilation_gmsh\gmsh-2.7.0-source\Geo\MEdge.h(96): or 'bool operator !=(const MEdge &,const MEdge &)' 1> c:\users\ac236470\desktop\compilation_gmsh\gmsh-2.7.0-source\geo\MFace.h(114): or 'bool operator !=(const MFace &,const MFace &)' 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(333): or 'bool std::_Tree_const_iterator<_Mytree>::operator !=(const std::_Tree_const_iterator<_Mytree> &) const' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> while trying to match the argument list '(std::_Tree_iterator<_Mytree>, std::_Tree_iterator<_Mytree>)' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,Less_Edge,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1>..\gmsh-2.7.0-source\Mesh\directions3D.cpp(719): error C2440: 'initializing' : cannot convert from 'std::_Tree_iterator<_Mytree>' to 'std::_Tree_iterator<_Mytree>' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,Less_Edge,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tmap_traits<MEdge,double,std::less<MEdge>,std::allocator<std::pair<const MEdge,double>>,false>> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous 1> yamakawa.cpp 1> Field.cpp 1> CenterlineField.cpp 1> surfaceFiller.cpp 1> linearSystem.cpp 1> linearSystemCSR.cpp 1> Generating Code... 1> Compiling... 1> linearSystemPETSc.cpp 1> dofManager.cpp 1> groupOfElements.cpp 1> elasticityTerm.cpp 1> elasticitySolver.cpp 1> SElement.cpp 1> eigenSolver.cpp 1> multiscaleLaplace.cpp 1> functionSpace.cpp 1> filters.cpp 1> frameSolver.cpp 1> sparsityPattern.cpp 1> STensor43.cpp 1> STensor33.cpp 1> STensor53.cpp 1> STensor63.cpp 1> terms.cpp 1> PView.cpp 1> PViewIO.cpp 1> PViewVertexArrays.cpp 1> Generating Code... 1> Compiling... 1> PViewData.cpp 1> PViewDataIO.cpp 1> PViewDataList.cpp 1> PViewDataListIO.cpp 1> PViewDataGModel.cpp 1> PViewDataGModelIO.cpp 1> PViewOptions.cpp 1> PViewFactory.cpp 1> PViewAsSimpleFunction.cpp 1> adaptiveData.cpp 1> shapeFunctions.cpp 1> OctreePost.cpp 1> ColorTable.cpp 1> Plugin.cpp 1> PluginManager.cpp 1> Levelset.cpp 1> CutPlane.cpp 1> CutSphere.cpp 1> Isosurface.cpp 1> Smooth.cpp 1> Generating Code... 1> Compiling... 1> CutParametric.cpp 1> Lambda2.cpp 1> Eigenvectors.cpp 1> Eigenvalues.cpp 1> StreamLines.cpp 1> Particles.cpp 1> CutGrid.cpp 1> CutBox.cpp 1> Transform.cpp 1> LongitudeLatitude.cpp 1> Triangulate.cpp 1> Tetrahedralize.cpp 1> Warp.cpp 1> SphericalRaise.cpp 1> Skin.cpp 1> MathEval.cpp 1> ModifyComponent.cpp 1> ExtractElements.cpp 1> MakeSimplex.cpp 1> Integrate.cpp 1> Generating Code... 1> Compiling... 1> Gradient.cpp 1> Curl.cpp 1> Divergence.cpp 1> Annotate.cpp 1> Remove.cpp 1> Probe.cpp 1> MinMax.cpp 1> HarmonicToTime.cpp 1> ModulusPhase.cpp 1> HomologyComputation.cpp 1> HomologyPostProcessing.cpp 1> Distance.cpp 1> ExtractEdges.cpp 1> NearestNeighbor.cpp 1> AnalyseCurvedMesh.cpp 1> FieldFromAmplitudePhase.cpp 1> Bubbles.cpp 1> NearToFarField.cpp 1> DiscretizationError.cpp 1> Scal2Vec.cpp 1> Generating Code... 1> Compiling... 1> CutMesh.cpp 1> NewView.cpp 1> SimplePartition.cpp 1> Crack.cpp 1>..\gmsh-2.7.0-source\Plugin\Crack.cpp(125): error C2440: 'initializing' : cannot convert from 'std::_Tree_const_iterator<_Mytree>' to 'std::_Tree_const_iterator<_Mytree>' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,Less_EdgeData,std::allocator<EdgeData>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,std::less<EdgeData>,std::allocator<EdgeData>,false>> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous 1>..\gmsh-2.7.0-source\Plugin\Crack.cpp(125): error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'std::_Tree_const_iterator<_Mytree>' (or there is no acceptable conversion) 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,std::less<EdgeData>,std::allocator<EdgeData>,false>> 1> ] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(425): could be 'bool std::operator !=(const std::error_code &,const std::error_condition &)' [found using argument-dependent lookup] 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\system_error(432): or 'bool std::operator !=(const std::error_condition &,const std::error_code &)' [found using argument-dependent lookup] 1> C:\Users\AC236470\Desktop\Compilation_gmsh\gmsh-2.7.0-source\Geo\MEdge.h(96): or 'bool operator !=(const MEdge &,const MEdge &)' 1> c:\users\ac236470\desktop\compilation_gmsh\gmsh-2.7.0-source\geo\MFace.h(114): or 'bool operator !=(const MFace &,const MFace &)' 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(333): or 'bool std::_Tree_const_iterator<_Mytree>::operator !=(const std::_Tree_const_iterator<_Mytree> &) const' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,std::less<EdgeData>,std::allocator<EdgeData>,false>> 1> ] 1> while trying to match the argument list '(std::_Tree_const_iterator<_Mytree>, std::_Tree_const_iterator<_Mytree>)' 1> with 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,std::less<EdgeData>,std::allocator<EdgeData>,false>> 1> ] 1> and 1> [ 1> _Mytree=std::_Tree_val<std::_Tset_traits<EdgeData,Less_EdgeData,std::allocator<EdgeData>,false>> 1> ] 1> Gmsh.tab.cpp 1> Gmsh.yy.cpp 1> FunctionManager.cpp 1> OnelabClients.cpp 1>..\gmsh-2.7.0-source\contrib\onelab\OnelabClients.cpp(1242): error C2065: 'S_IRWXU' : undeclared identifier 1> OnelabMessage.cpp 1> OnelabParser.cpp 1> metamodel.cpp 1> Generating Code... 1> 1>Build FAILED. 1> 1>Time Elapsed 00:06:41.75 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
