<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Dave,<br><br>As you've requested, here is the output from `make' in the Geo directory:<br><br>g++ -g -O2 -I/usr/include/freetype2 -D_THREAD_SAFE -D_REENTRANT -I/usr/include/opencascade/inc -I.../Common -I../Geo -I../Mesh -I../Post -I../Numeric -I../Parser -I../contrib/ANN/include -I../contrib/kbipack -I../contrib/MathEval -I../contrib/gmm  -c OCCVertex.cpp<br>In file included from OCCVertex.h:12,<br>                 from OCCVertex.cpp:10:<br>OCCIncludes.h:17:20: error: config.h: No such file or directory<br>OCCIncludes.h:20:25: error: BRep_Tool.hxx: No such file or directory<br>OCCIncludes.h:21:26: error: Geom_Curve.hxx: No such file or directory<br>OCCIncludes.h:22:28: error: Geom2d_Curve.hxx: No such file or directory<br>OCCIncludes.h:23:28: error: Geom_Surface.hxx: No such
 file or directory<br>OCCIncludes.h:24:42: error: GeomAPI_ProjectPointOnSurf.hxx: No such file or directory<br>OCCIncludes.h:25:43: error: GeomAPI_ProjectPointOnCurve.hxx: No such file or directory<br>OCCIncludes.h:26:25: error: BRepTools.hxx: No such file or directory<br>OCCIncludes.h:27:22: error: TopExp.hxx: No such file or directory<br>OCCIncludes.h:28:41: error: BRepBuilderAPI_MakeVertex.hxx: No such file or directory<br>OCCIncludes.h:29:40: error: BRepBuilderAPI_MakeShell.hxx: No such file or directory<br>OCCIncludes.h:30:40: error: BRepBuilderAPI_MakeSolid.hxx: No such file or directory<br>OCCIncludes.h:31:36: error: BRepOffsetAPI_Sewing.hxx: No such file or directory<br>OCCIncludes.h:32:33: error: BRepLProp_SLProps.hxx: No such file or directory<br>OCCIncludes.h:33:35: error: BRepAdaptor_Surface.hxx: No such file or directory<br>OCCIncludes.h:34:34: error: Poly_Triangulation.hxx: No such file or directory<br>OCCIncludes.h:35:37: error:
 Poly_Array1OfTriangle.hxx: No such file or directory<br>OCCIncludes.h:36:36: error: TColgp_Array1OfPnt2d.hxx: No such file or directory<br>OCCIncludes.h:37:29: error: Poly_Triangle.hxx: No such file or directory<br>OCCIncludes.h:38:28: error: GProp_GProps.hxx: No such file or directory<br>OCCIncludes.h:39:25: error: BRepGProp.hxx: No such file or directory<br>OCCIncludes.h:42:22: error: gp_Pnt.hxx: No such file or directory<br>OCCIncludes.h:43:22: error: TopoDS.hxx: No such file or directory<br>OCCIncludes.h:44:28: error: TopoDS_Solid.hxx: No such file or directory<br>OCCIncludes.h:45:31: error: TopExp_Explorer.hxx: No such file or directory<br>OCCIncludes.h:47:28: error: BRep_Builder.hxx: No such file or directory<br>OCCIncludes.h:53:27: error: TopoDS_Wire.hxx: No such file or directory<br>OCCIncludes.h:54:38: error: BRepTools_WireExplorer.hxx: No such file or directory<br>OCCIncludes.h:56:42: error: TopTools_IndexedMapOfShape.hxx: No such file or
 directory<br>OCCIncludes.h:62:33: error: BRepLProp_CLProps.hxx: No such file or directory<br>OCCIncludes.h:65:33: error: BRepAdaptor_Curve.hxx: No such file or directory<br>OCCIncludes.h:72:34: error: IGESControl_Reader.hxx: No such file or directory<br>OCCIncludes.h:73:34: error: STEPControl_Reader.hxx: No such file or directory<br>OCCIncludes.h:74:28: error: TopoDS_Shape.hxx: No such file or directory<br>OCCIncludes.h:75:27: error: TopoDS_Face..hxx: No such file or directory<br>OCCIncludes.h:76:33: error: IGESToBRep_Reader.hxx: No such file or directory<br>OCCIncludes.h:77:32: error: Interface_Static.hxx: No such file or directory<br>OCCIncludes.h:78:41: error: GeomAPI_ExtremaCurveCurve.hxx: No such file or directory<br>OCCIncludes.h:79:37: error: Standard_ErrorHandler.hxx: No such file or directory<br>OCCIncludes.h:80:32: error: Standard_Failure.hxx: No such file or directory<br>OCCIncludes.h:81:40: error: ShapeUpgrade_ShellSewing.hxx: No such file or
 directory<br>OCCIncludes.h:82:30: error: ShapeFix_Shape.hxx: No such file or directory<br>OCCIncludes.h:83:34: error: ShapeFix_Wireframe.hxx: No such file or directory<br>OCCIncludes.h:84:24: error: BRepMesh.hxx: No such file or directory<br>OCCIncludes.h:85:40: error: BRepMesh_IncrementalMesh.hxx: No such file or directory<br>OCCIncludes.h:86:26: error: BRepBndLib.hxx: No such file or directory<br>OCCIncludes.h:87:23: error: Bnd_Box.hxx: No such file or directory<br>OCCIncludes.h:88:29: error: ShapeAnalysis.hxx: No such file or directory<br>OCCIncludes.h:89:34: error: ShapeBuild_ReShape.hxx: No such file or directory<br>OCCIncludes.h:90:34: error: IGESControl_Writer.hxx: No such file or directory<br>OCCIncludes.h:91:34: error: STEPControl_Writer.hxx: No such file or directory<br>OCCIncludes.h:92:29: error: StlAPI_Writer.hxx: No such file or directory<br>OCCIncludes.h:93:41: error: STEPControl_StepModelType.hxx: No such file or
 directory<br>OCCIncludes.h:94:44: error: ShapeAnalysis_ShapeTolerance.hxx: No such file or directory<br>OCCIncludes.h:95:43: error: ShapeAnalysis_ShapeContents.hxx: No such file or directory<br>OCCIncludes.h:96:44: error: ShapeAnalysis_CheckSmallFace.hxx: No such file or directory<br>OCCIncludes.h:97:54: error: ShapeAnalysis_DataMapOfShapeListOfReal.hxx: No such file or directory<br>OCCIncludes.h:98:32: error: BRepAlgoAPI_Fuse.hxx: No such file or directory<br>OCCIncludes.h:99:34: error: BRepCheck_Analyzer.hxx: No such file or directory<br>OCCIncludes.h:100:23: error: BRepLib.hxx: No such file or directory<br>OCCIncludes.h:102:24: error: ShapeFix.hxx: No such file or directory<br>OCCIncludes.h:103:37: error: ShapeFix_FixSmallFace.hxx: No such file or directory<br>OCCIncludes.h:104:31: error: TopoDS_Compound.hxx: No such file or directory<br>OCCIncludes.h:105:31: error: TopoDS_Iterator.hxx: No such file or directory<br>OCCIncludes.h:106:38: error:
 BRepPrimAPI_MakeSphere.hxx: No such file or directory<br>OCCIncludes.h:107:50: error: TopTools_ListIteratorOfListOfShape.hxx: No such file or directory<br>OCCIncludes.h:108:25: error: Precision.hxx: No such file or directory<br>OCCIncludes.h:109:34: error: BRepAlgoAPI_Common.hxx: No such file or directory<br>OCCIncludes.h:110:31: error: BRepAlgoAPI_Cut.hxx: No such file or directory<br>In file included from OCCVertex.cpp:10:<br>OCCVertex.h:18: error: ‘TopoDS_Vertex’ does not name a type<br>OCCVertex.h:23: error: ‘TopoDS_Vertex’ has not been declared<br>OCCVertex.h: In member function ‘virtual void* OCCVertex::getNativePtr() const’:<br>OCCVertex.h:31: error: ‘v’ was not declared in this scope<br>In file included from OCCVertex.cpp:11:<br>OCCEdge.h: At global scope:<br>OCCEdge.h:21: error: ‘TopoDS_Edge’ does not name a type<br>OCCEdge.h:22: error: ‘TopoDS_Edge’ does not name a type<br>OCCEdge.h:24: error: ‘Geom_Curve’ has not
 been declared<br>OCCEdge.h:24: error: ISO C++ forbids declaration of ‘Handle’ with no type<br>OCCEdge.h:24: error: expected ‘;’ before ‘curve’<br>OCCEdge.h:25: error: ‘Geom2d_Curve’ has not been declared<br>OCCEdge.h:25: error: ISO C++ forbids declaration of ‘Handle’ with no type<br>OCCEdge..h:25: error: function ‘Handle’ cannot be declared ‘mutable’<br>OCCEdge.h:25: error: expected ‘;’ before ‘curve2d’<br>OCCEdge.h:28: error: ‘TopoDS_Edge’ has not been declared<br>OCCEdge.h: In member function ‘virtual bool OCCEdge::degenerate(int) const’:<br>OCCEdge.h:32: error: ‘BRep_Tool’ has not been declared<br>OCCEdge.h:32: error: ‘c’ was not declared in this scope<br>OCCEdge.h: In member function ‘virtual void* OCCEdge::getNativePtr() const’:<br>OCCEdge.h:38: error: ‘c’ was not declared in this scope<br>OCCEdge.h: In member function ‘virtual bool OCCEdge::is3D() const’:<br>OCCEdge.h:41: error:
 ‘curve’ was not declared in this scope<br>In file included from OCCVertex.cpp:12:<br>OCCFace.h: At global scope:<br>OCCFace.h:20: error: ‘TopoDS_Face’ does not name a type<br>OCCFace.h:21: error: ‘Geom_Surface’ has not been declared<br>OCCFace.h:21: error: ISO C++ forbids declaration of ‘Handle’ with no type<br>OCCFace.h:21: error: expected ‘;’ before ‘occface’<br>OCCFace.h:26: error: ‘TopoDS_Face’ has not been declared<br>OCCFace.h:26: error: ‘TopTools_IndexedMapOfShape’ has not been declared<br>OCCFace.h: In member function ‘virtual void* OCCFace::getNativePtr() const’:<br>OCCFace.h:37: error: ‘s’ was not declared in this scope<br>OCCVertex.cpp: At global scope:<br>OCCVertex.cpp:16: error: ‘TopoDS_Vertex’ has not been declared<br>OCCVertex.cpp: In constructor ‘OCCVertex::OCCVertex(GModel*, int, int)’:<br>OCCVertex.cpp:17: error: class ‘OCCVertex’ does not have any field named
 ‘v’<br>OCCVertex.cpp:20: error: ‘gp_Pnt’ was not declared in this scope<br>OCCVertex.cpp:20: error: expected `;' before ‘pnt’<br>OCCVertex.cpp:21: error: ‘pnt’ was not declared in this scope<br>OCCVertex.cpp: In member function ‘virtual SPoint2 OCCVertex::reparamOnFace(const GFace*, int) const’:<br>OCCVertex.cpp:76: error: expected initializer before ‘*’ token<br>OCCVertex.cpp:77: error: expected initializer before ‘*’ token<br>OCCVertex.cpp:79: error: ‘Geom2d_Curve’ was not declared in this scope<br>OCCVertex.cpp:79: error: ‘Handle’ was not declared in this scope<br>OCCVertex.cpp:79: error: expected `;' before ‘curve2d’<br>OCCVertex.cpp:92: error: expected initializer before ‘*’ token<br>OCCVertex.cpp:93: error: expected initializer before ‘*’ token<br>OCCVertex.cpp:95: error: ‘Geom2d_Curve’ was not declared in this scope<br>OCCVertex.cpp:95: error: ‘Handle’ was not declared in this
 scope<br>OCCVertex.cpp:95: error: expected `;' before ‘curve2d’<br>make: *** [OCCVertex.o] Error 1<br><br><br>It seems it is not aware of the files in /usr/include/opencascade<br><br>For example, I made a soft-link of /usr/include/opencascade/config.h in the Geo directory and then the config.h error disappeared (first error). It then complains of not finding BRep_Tool.hxx which is also in <br>/usr/include/opencascade/BRep_Tool.hxx<br><br>This is inspite running ./configure --enable-occ --with-occ-prefix=/usr/include/opencascade<br><br>Please advice and thanks for your help,<br>Mike.<br><br>--- On <b>Thu, 6/11/09, David Colignon <i><David.Colignon@ulg.ac.be></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: David Colignon <David.Colignon@ulg.ac.be><br>Subject: Re: [Gmsh] Compilation with Opencascade fails (Debian Lenny)<br>To: "Mike B."
 <mb78aa@yahoo.com><br>Cc: gmsh@geuz.org<br>Date: Thursday, June 11, 2009, 8:48 PM<br><br><div class="plainMail">the error message was :<br><br>> g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshCommon -lGmshMesh -lGmshPost -lGmshPlugin -lGmshGeo -lGmshCommon -lGmshGraphics -lGmshParser -lGmshNumeric -lGmshTreeBrowser -lfltk_images -lfltk_gl -lfltk -lGLU -lGL -lpng -lGmshANN -lGmshChaco -lGmshMetis -lGmshNetgen -lGmshMathEval -lTKSTEP -lTKSTEP209 -lTKSTEPAttr -lTKSTEPBase -lTKIGES -lTKXSBase -lTKOffset -lTKFeat -lTKFillet -lTKBool -lTKShHealing -lTKMesh -lTKHLR -lTKBO -lTKPrim -lTKTopAlgo -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKAdvTools -lTKMath -lTKernel -lz -llapack  -lf77blas -latlas -lgfortran -lm<br><br>> /usr/bin/ld: cannot find -lGmshGeo<br><br>> collect2: ld returned 1 exit status<br><br>> make: *** [link] Error 1<br><br>so it seems that the compilation in the Geo directory failed for some reason.<br><br>Can
 you  try " cd Geo ; make " and send back the output ?<br><br>Dave<br><br></div></blockquote></td></tr></table><br>