Файл или каталог не найдены с помощью include, несмотря на -I

Я установил OpenCASCADE в каталог ros и сейчас пытаюсь собрать CGM с опцией конфигурации --with-occ=/path-to-OCC/, но когда я пытаюсь это сделать, соответствующая часть ошибки:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../geom/parallel -I../../geom -I../../itaps -DLITTLE_ENDIAN=BYTE_ORDER -DTEMPLATE_DEFS_INCLUDED -DHAVE_OCC -I../../util -I../../geom -I./../OpenCASCADE652/ros/inc -D_OCC64 -DHAVE_IOSTREAM -DHAVE_IOSTREAM_H -DHAVE_IOMANIP -DHAVE_IOMANIP_H -DHAVE_FSTREAM -DHAVE_FSTREAM_H -DHAVE_LIMITS_H -Wall -pipe -pedantic -O2 -DNDEBUG -MT OCCShapeAttributeSet.lo -MD -MP -MF .deps/OCCShapeAttributeSet.Tpo -c OCCShapeAttributeSet.cpp -o OCCShapeAttributeSet.o
OCCShapeAttributeSet.cpp:5:31: error: Standard_Stream.hxx: No such file or directory
OCCShapeAttributeSet.cpp:6:25: error: BRepTools.hxx: No such file or directory
In file included from OCCShapeAttributeSet.cpp:7:
OCCShapeAttributeSet.hpp:14:36: error: TopTools_LocationSet.hxx: No such file or directory
OCCShapeAttributeSet.hpp:17:28: error: BRep_Builder.hxx: No such file or directory
OCCShapeAttributeSet.hpp:20:42: error: TopTools_IndexedMapOfShape.hxx: No such file or directory
OCCShapeAttributeSet.hpp:23:36: error: GeomTools_SurfaceSet.hxx: No such file or directory
OCCShapeAttributeSet.hpp:26:34: error: GeomTools_CurveSet.hxx: No such file or directory
OCCShapeAttributeSet.hpp:29:36: error: GeomTools_Curve2dSet.hxx: No such file or directory
OCCShapeAttributeSet.hpp:32:45: error: TColStd_IndexedMapOfTransient.hxx: No such file or directory
OCCShapeAttributeSet.hpp:35:32: error: TopAbs_ShapeEnum.hxx: No such file or directory
OCCShapeAttributeSet.hpp:38:24: error: Standard.hxx: No such file or directory
OCCShapeAttributeSet.hpp:41:30: error: Standard_Macro.hxx: No such file or directory
In file included from OCCShapeAttributeSet.cpp:10:
OCCQueryEngine.hpp:29:25: error: TDF_Label.hxx: No such file or directory
OCCQueryEngine.hpp:33:39: error: Handle_TDocStd_Document.hxx: No such file or directory
OCCShapeAttributeSet.cpp:13:22: error: TopoDS.hxx: No such file or directory
OCCShapeAttributeSet.cpp:14:36: error: TColStd_Array1OfReal.hxx: No such file or directory
OCCShapeAttributeSet.cpp:15:40: error: TColStd_HArray1OfInteger.hxx: No such file or directory
OCCShapeAttributeSet.cpp:16:36: error: TColgp_Array1OfPnt2d.hxx: No such file or directory
OCCShapeAttributeSet.cpp:17:27: error: BRep_GCurve.hxx: No such file or directory
OCCShapeAttributeSet.cpp:18:48: error: Handle_BRep_CurveOnClosedSurface.hxx: No such file or directory
OCCShapeAttributeSet.cpp:19:42: error: Handle_BRep_CurveOnSurface.hxx: No such file or directory
OCCShapeAttributeSet.cpp:24:34: error: Handle_BRep_GCurve.hxx: No such file or directory
OCCShapeAttributeSet.cpp:25:25: error: BRep_Tool.hxx: No such file or directory
OCCShapeAttributeSet.cpp:26:33: error: TDF_ChildIterator.hxx: No such file or directory
OCCShapeAttributeSet.cpp:29:31: error: TopoDS_Iterator.hxx: No such file or directory
OCCShapeAttributeSet.cpp:31:30: error: Poly_Polygon3D.hxx: No such file or directory
OCCShapeAttributeSet.cpp:37:35: error: BRep_CurveOnSurface.hxx: No such file or directory
OCCShapeAttributeSet.cpp:38:41: error: BRep_CurveOnClosedSurface.hxx: No such file or directory
OCCShapeAttributeSet.cpp:41:33: error: BRep_PointOnCurve.hxx: No such file or directory
OCCShapeAttributeSet.cpp:42:42: error: BRep_PointOnCurveOnSurface.hxx: No such file or directory
OCCShapeAttributeSet.cpp:43:35: error: BRep_PointOnSurface.hxx: No such file or directory
OCCShapeAttributeSet.cpp:45:25: error: TDF_Label.hxx: No such file or directory
OCCShapeAttributeSet.cpp:46:46: error: TopTools_DataMapOfShapeInteger.hxx: No such file or directory
OCCShapeAttributeSet.cpp:49:32: error: Standard_Version.hxx: No such file or directory
OCCShapeAttributeSet.cpp:52:32: error: TDataStd_Shape.hxx: No such file or directory
OCCShapeAttributeSet.cpp:59:36: error: Handle_TDataStd_Name.hxx: No such file or directory
OCCShapeAttributeSet.cpp:60:29: error: TDataStd_Name.hxx: No such file or directory
OCCShapeAttributeSet.cpp:61:46: error: Handle_TDataStd_ExtStringArray.hxx: No such file or directory
OCCShapeAttributeSet.cpp:62:39: error: TDataStd_ExtStringArray.hxx: No such file or directory
OCCShapeAttributeSet.cpp:63:42: error: TCollection_ExtendedString.hxx: No such file or directory
OCCShapeAttributeSet.cpp:64:44: error: Handle_TDataStd_IntegerArray.hxx: No such file or directory
OCCShapeAttributeSet.cpp:65:37: error: TDataStd_IntegerArray.hxx: No such file or directory
OCCShapeAttributeSet.cpp:66:41: error: Handle_TDataStd_RealArray.hxx: No such file or directory
OCCShapeAttributeSet.cpp:67:34: error: TDataStd_RealArray.hxx: No such file or directory
OCCShapeAttributeSet.cpp:68:35: error: Handle_BRep_TVertex.hxx: No such file or directory
OCCShapeAttributeSet.cpp:69:60: error: BRep_ListIteratorOfListOfPointRepresentation.hxx: No such file or directory
OCCShapeAttributeSet.cpp:70:28: error: BRep_TVertex.hxx: No such file or directory
OCCShapeAttributeSet.cpp:71:40: error: BRep_PointRepresentation.hxx: No such file or directory
OCCShapeAttributeSet.cpp:72:33: error: Handle_BRep_TEdge.hxx: No such file or directory
OCCShapeAttributeSet.cpp:73:60: error: BRep_ListIteratorOfListOfCurveRepresentation.hxx: No such file or directory
OCCShapeAttributeSet.cpp:74:33: error: Handle_BRep_TFace.hxx: No such file or directory
OCCShapeAttributeSet.cpp:75:26: error: BRep_TFace.hxx: No such file or directory
OCCShapeAttributeSet.cpp:76:26: error: BRep_TEdge.hxx: No such file or directory
OCCShapeAttributeSet.cpp:77:40: error: BRep_CurveRepresentation.hxx: No such file or directory
OCCShapeAttributeSet.cpp:79:29: error: TopoDS_Vertex.hxx: No such file or directory
OCCShapeAttributeSet.cpp:83:37: error: TColStd_HArray1OfReal.hxx: No such file or directory
OCCShapeAttributeSet.cpp:84:34: error: Poly_Triangulation.hxx: No such file or directory
OCCShapeAttributeSet.cpp:85:43: error: Poly_PolygonOnTriangulation.hxx: No such file or directory

Все эти заголовки существуют в./../OpenCASCADE652/ros/inc, который указан в -I. Если это простая ошибка использования флагов, держите меня в руках, поскольку я не знаком с флагами компилятора. Все заголовки включены в OCCShapeAttributeSet.cpp со стандартным #include <*.hxx>, Заранее спасибо.

0 ответов

Другие вопросы по тегам