root@darkstar:/tmp/gmsh-2.4.2-source/build# make Scanning dependencies of target gmsh [ 0%] Building CXX object CMakeFiles/gmsh.dir/Fltk/Main.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/Gmsh.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/GmshMessage.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/GmshRemote.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/GmshDaemon.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/Context.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/Options.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/CommandLine.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/OS.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/OpenFile.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/CreateFile.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/VertexArray.cpp.o [ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/SmoothData.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Common/Octree.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Common/OctreeInternals.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Common/StringUtils.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Common/ListUtils.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Common/TreeUtils.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Common/avl.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Common/MallocUtils.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/Numeric.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/EigSolve.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/functionSpace.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/GaussQuadratureLin.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/GaussQuadratureTri.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/GaussQuadratureQuad.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/GaussQuadratureTet.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/GaussQuadratureHex.cpp.o [ 3%] Building CXX object CMakeFiles/gmsh.dir/Numeric/GaussLegendreSimplex.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Numeric/robustPredicates.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Numeric/mathEvaluator.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Numeric/Iso.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GEntity.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/STensor3.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GVertex.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GEdge.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GFace.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GRegion.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GEdgeLoop.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GEdgeCompound.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GFaceCompound.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/GRegionCompound.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/gmshVertex.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/gmshEdge.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/gmshFace.cpp.o [ 6%] Building CXX object CMakeFiles/gmsh.dir/Geo/gmshRegion.cpp.o [ 9%] Building CXX object CMakeFiles/gmsh.dir/Geo/gmshSurface.cpp.o [ 9%] Building CXX object CMakeFiles/gmsh.dir/Geo/OCCVertex.cpp.o In file included from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:17:20: error: config.h: No such file or directory In file included from /usr/include/OpenCASCADE/Standard_Integer.hxx:9, from /usr/include/OpenCASCADE/Standard_Address.hxx:21, from /usr/include/OpenCASCADE/Standard.hxx:26, from /usr/include/OpenCASCADE/Handle_Geom_Surface.hxx:29, from /usr/include/OpenCASCADE/BRep_Tool.hxx:29, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:20, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_values.h:35:2: error: #error "check config.h file or compilation options: either HAVE_LIMITS or HAVE_LIMITS_H should be defined" In file included from /usr/include/OpenCASCADE/Standard_OStream.hxx:8, from /usr/include/OpenCASCADE/Standard_ExtCharacter.hxx:24, from /usr/include/OpenCASCADE/Standard_PrimitiveTypes.hxx:29, from /usr/include/OpenCASCADE/Handle_Standard_Transient.hxx:10, from /usr/include/OpenCASCADE/Handle_MMgt_TShared.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Geometry.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Surface.hxx:33, from /usr/include/OpenCASCADE/BRep_Tool.hxx:29, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:20, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Stream.hxx:33:4: error: #error "check config.h file or compilation options: either HAVE_IOSTREAM or HAVE_IOSTREAM_H should be defined" In file included from /usr/include/OpenCASCADE/Standard_OutOfRange.hxx:33, from /usr/include/OpenCASCADE/gp_Mat.lxx:4, from /usr/include/OpenCASCADE/gp_Mat.hxx:326, from /usr/include/OpenCASCADE/gp_XYZ.lxx:5, from /usr/include/OpenCASCADE/gp_XYZ.hxx:358, from /usr/include/OpenCASCADE/gp_Pnt.hxx:26, from /usr/include/OpenCASCADE/Extrema_POnSurf.hxx:29, from /usr/include/OpenCASCADE/Extrema_ExtPElS.hxx:35, from /usr/include/OpenCASCADE/Extrema_ExtPS.hxx:32, from /usr/include/OpenCASCADE/GeomAPI_ProjectPointOnSurf.hxx:32, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:24, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_SStream.hxx:23:27: error: strstream.h: No such file or directory In file included from /usr/include/OpenCASCADE/Standard_Address.hxx:21, from /usr/include/OpenCASCADE/Standard.hxx:26, from /usr/include/OpenCASCADE/Handle_Geom_Surface.hxx:29, from /usr/include/OpenCASCADE/BRep_Tool.hxx:29, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:20, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Integer.hxx: In function 'Standard_Integer IntegerFirst()': /usr/include/OpenCASCADE/Standard_Integer.hxx:119: error: 'INT_MIN' was not declared in this scope /usr/include/OpenCASCADE/Standard_Integer.hxx: In function 'Standard_Integer IntegerLast()': /usr/include/OpenCASCADE/Standard_Integer.hxx:125: error: 'INT_MAX' was not declared in this scope /usr/include/OpenCASCADE/Standard_Integer.hxx: In function 'Standard_Integer IntegerSize()': /usr/include/OpenCASCADE/Standard_Integer.hxx:131: error: 'CHAR_BIT' was not declared in this scope In file included from /usr/include/OpenCASCADE/Standard_PrimitiveTypes.hxx:23, from /usr/include/OpenCASCADE/Handle_Standard_Transient.hxx:10, from /usr/include/OpenCASCADE/Handle_MMgt_TShared.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Geometry.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Surface.hxx:33, from /usr/include/OpenCASCADE/BRep_Tool.hxx:29, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:20, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Real.hxx: In function 'Standard_Integer RealSize()': /usr/include/OpenCASCADE/Standard_Real.hxx:162: error: 'CHAR_BIT' was not declared in this scope /usr/include/OpenCASCADE/Standard_Real.hxx: In function 'Standard_Integer RealToInt(Standard_Real)': /usr/include/OpenCASCADE/Standard_Real.hxx:283: error: 'INT_MIN' was not declared in this scope /usr/include/OpenCASCADE/Standard_Real.hxx:283: error: 'INT_MAX' was not declared in this scope In file included from /usr/include/OpenCASCADE/Standard_ExtCharacter.hxx:24, from /usr/include/OpenCASCADE/Standard_PrimitiveTypes.hxx:29, from /usr/include/OpenCASCADE/Handle_Standard_Transient.hxx:10, from /usr/include/OpenCASCADE/Handle_MMgt_TShared.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Geometry.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Surface.hxx:33, from /usr/include/OpenCASCADE/BRep_Tool.hxx:29, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:20, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_OStream.hxx: At global scope: /usr/include/OpenCASCADE/Standard_OStream.hxx:15: error: 'ostream' does not name a type /usr/include/OpenCASCADE/Standard_OStream.hxx:17: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:18: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:19: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:20: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:21: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:22: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:23: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:24: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:26: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_OStream.hxx:28: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/Standard_PrimitiveTypes.hxx:41, from /usr/include/OpenCASCADE/Handle_Standard_Transient.hxx:10, from /usr/include/OpenCASCADE/Handle_MMgt_TShared.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Geometry.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Surface.hxx:33, from /usr/include/OpenCASCADE/BRep_Tool.hxx:29, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:20, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Storable.hxx:101: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_Storable.hxx:146: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/Handle_Standard_Transient.hxx:13, from /usr/include/OpenCASCADE/Handle_MMgt_TShared.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Geometry.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Surface.hxx:33, from /usr/include/OpenCASCADE/BRep_Tool.hxx:29, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:20, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Transient_proto.hxx:65: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/Handle_MMgt_TShared.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Geometry.hxx:33, from /usr/include/OpenCASCADE/Handle_Geom_Surface.hxx:33, from /usr/include/OpenCASCADE/BRep_Tool.hxx:29, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:20, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Handle_Standard_Transient.hxx:182: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/Standard_Transient.hxx:14, from /usr/include/OpenCASCADE/MMgt_TShared.hxx:34, from /usr/include/OpenCASCADE/Geom_Geometry.hxx:34, from /usr/include/OpenCASCADE/Geom_Curve.hxx:34, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:21, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Type.hxx:137: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_Type.hxx:146: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_Type.hxx:147: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/Standard_Type.hxx:197, from /usr/include/OpenCASCADE/Standard_Transient.hxx:14, from /usr/include/OpenCASCADE/MMgt_TShared.hxx:34, from /usr/include/OpenCASCADE/Geom_Geometry.hxx:34, from /usr/include/OpenCASCADE/Geom_Curve.hxx:34, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:21, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Type.lxx:13: error: expected constructor, destructor, or type conversion before '&' token In file included from /usr/include/OpenCASCADE/Standard_Transient.hxx:14, from /usr/include/OpenCASCADE/MMgt_TShared.hxx:34, from /usr/include/OpenCASCADE/Geom_Geometry.hxx:34, from /usr/include/OpenCASCADE/Geom_Curve.hxx:34, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:21, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Type.hxx:207: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/Standard_OutOfRange.hxx:33, from /usr/include/OpenCASCADE/gp_Mat.lxx:4, from /usr/include/OpenCASCADE/gp_Mat.hxx:326, from /usr/include/OpenCASCADE/gp_XYZ.lxx:5, from /usr/include/OpenCASCADE/gp_XYZ.hxx:358, from /usr/include/OpenCASCADE/gp_Pnt.hxx:26, from /usr/include/OpenCASCADE/Extrema_POnSurf.hxx:29, from /usr/include/OpenCASCADE/Extrema_ExtPElS.hxx:35, from /usr/include/OpenCASCADE/Extrema_ExtPS.hxx:32, from /usr/include/OpenCASCADE/GeomAPI_ProjectPointOnSurf.hxx:32, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:24, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_SStream.hxx:34: error: expected class-name before '{' token /usr/include/OpenCASCADE/Standard_SStream.hxx:38: error: expected ')' before '&' token In file included from /usr/include/OpenCASCADE/Standard_DomainError.hxx:38, from /usr/include/OpenCASCADE/Standard_RangeError.hxx:38, from /usr/include/OpenCASCADE/Standard_OutOfRange.hxx:38, from /usr/include/OpenCASCADE/gp_Mat.lxx:4, from /usr/include/OpenCASCADE/gp_Mat.hxx:326, from /usr/include/OpenCASCADE/gp_XYZ.lxx:5, from /usr/include/OpenCASCADE/gp_XYZ.hxx:358, from /usr/include/OpenCASCADE/gp_Pnt.hxx:26, from /usr/include/OpenCASCADE/Extrema_POnSurf.hxx:29, from /usr/include/OpenCASCADE/Extrema_ExtPElS.hxx:35, from /usr/include/OpenCASCADE/Extrema_ExtPS.hxx:32, from /usr/include/OpenCASCADE/GeomAPI_ProjectPointOnSurf.hxx:32, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:24, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Failure.hxx:83: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/Standard_Failure.hxx:84: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/Standard_Failure.hxx:168, from /usr/include/OpenCASCADE/Standard_DomainError.hxx:38, from /usr/include/OpenCASCADE/Standard_RangeError.hxx:38, from /usr/include/OpenCASCADE/Standard_OutOfRange.hxx:38, from /usr/include/OpenCASCADE/gp_Mat.lxx:4, from /usr/include/OpenCASCADE/gp_Mat.hxx:326, from /usr/include/OpenCASCADE/gp_XYZ.lxx:5, from /usr/include/OpenCASCADE/gp_XYZ.hxx:358, from /usr/include/OpenCASCADE/gp_Pnt.hxx:26, from /usr/include/OpenCASCADE/Extrema_POnSurf.hxx:29, from /usr/include/OpenCASCADE/Extrema_ExtPElS.hxx:35, from /usr/include/OpenCASCADE/Extrema_ExtPS.hxx:32, from /usr/include/OpenCASCADE/GeomAPI_ProjectPointOnSurf.hxx:32, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:24, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/Standard_Failure.lxx:9: error: expected initializer before '&' token In file included from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:26, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/BRepTools.hxx:224: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/BRepTools.hxx:227: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/BRepTools.hxx:231: error: 'istream' has not been declared In file included from /usr/include/OpenCASCADE/TopoDS_Shape.hxx:29, from /usr/include/OpenCASCADE/BRepLib_MakeShape.hxx:26, from /usr/include/OpenCASCADE/BRepLib_MakeVertex.hxx:26, from /usr/include/OpenCASCADE/BRepBuilderAPI_MakeVertex.hxx:26, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:28, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/TopLoc_Location.hxx:178: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/TopoDS_Shape.hxx:29, from /usr/include/OpenCASCADE/BRepLib_MakeShape.hxx:26, from /usr/include/OpenCASCADE/BRepLib_MakeVertex.hxx:26, from /usr/include/OpenCASCADE/BRepBuilderAPI_MakeVertex.hxx:26, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:28, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/TopLoc_Location.hxx:218: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/TopoDS_Shape.lxx:8, from /usr/include/OpenCASCADE/TopoDS_Shape.hxx:277, from /usr/include/OpenCASCADE/BRepLib_MakeShape.hxx:26, from /usr/include/OpenCASCADE/BRepLib_MakeVertex.hxx:26, from /usr/include/OpenCASCADE/BRepBuilderAPI_MakeVertex.hxx:26, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:28, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/TopAbs.hxx:118: error: ISO C++ forbids declaration of 'Standard_OStream' with no type /usr/include/OpenCASCADE/TopAbs.hxx:118: error: expected ';' before '&' token /usr/include/OpenCASCADE/TopAbs.hxx:123: error: ISO C++ forbids declaration of 'Standard_OStream' with no type /usr/include/OpenCASCADE/TopAbs.hxx:123: error: expected ';' before '&' token /usr/include/OpenCASCADE/TopAbs.hxx:128: error: ISO C++ forbids declaration of 'Standard_OStream' with no type /usr/include/OpenCASCADE/TopAbs.hxx:128: error: expected ';' before '&' token In file included from /usr/include/OpenCASCADE/TopTools_IndexedDataMapOfShapeShape.hxx:26, from /usr/include/OpenCASCADE/BRepBuilderAPI_Sewing.hxx:40, from /usr/include/OpenCASCADE/BRepOffsetAPI_Sewing.hxx:25, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:31, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/TCollection_BasicMap.hxx:134: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/Interface_Static.hxx:34, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:77, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/TCollection_AsciiString.hxx:550: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/TCollection_AsciiString.hxx:551: error: ISO C++ forbids declaration of 'Standard_OStream' with no type /usr/include/OpenCASCADE/TCollection_AsciiString.hxx:551: error: 'Standard_OStream' is neither function nor member function; cannot be declared friend /usr/include/OpenCASCADE/TCollection_AsciiString.hxx:551: error: expected ';' before '&' token /usr/include/OpenCASCADE/TCollection_AsciiString.hxx:554: error: 'istream' has not been declared /usr/include/OpenCASCADE/TCollection_AsciiString.hxx:555: error: ISO C++ forbids declaration of 'istream' with no type /usr/include/OpenCASCADE/TCollection_AsciiString.hxx:555: error: 'istream' is neither function nor member function; cannot be declared friend /usr/include/OpenCASCADE/TCollection_AsciiString.hxx:555: error: expected ';' before '&' token In file included from /usr/include/OpenCASCADE/MoniTool_ValueInterpret.hxx:11, from /usr/include/OpenCASCADE/MoniTool_TypedValue.hxx:55, from /usr/include/OpenCASCADE/Interface_TypedValue.hxx:67, from /usr/include/OpenCASCADE/Interface_Static.hxx:70, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:77, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/TCollection_HAsciiString.hxx:341: error: 'Standard_OStream' has not been declared /usr/include/OpenCASCADE/TCollection_HAsciiString.hxx:494: error: 'Standard_OStream' has not been declared In file included from /usr/include/OpenCASCADE/MoniTool_ValueInterpret.hxx:11, from /usr/include/OpenCASCADE/MoniTool_TypedValue.hxx:55, from /usr/include/OpenCASCADE/Interface_TypedValue.hxx:67, from /usr/include/OpenCASCADE/Interface_Static.hxx:70, from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:77, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/TCollection_HAsciiString.hxx:542: error: 'Standard_OStream' has not been declared In file included from /tmp/gmsh-2.4.2-source/Geo/OCCIncludes.h:90, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.h:12, from /tmp/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10: /usr/include/OpenCASCADE/IGESControl_Writer.hxx:147: error: 'Standard_OStream' has not been declared make[2]: *** [CMakeFiles/gmsh.dir/Geo/OCCVertex.cpp.o] Error 1 make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2 make: *** [all] Error 2 root@darkstar:/tmp/gmsh-2.4.2-source/build#