Package Details: python-ocp 7.5.RC1-1

Git Clone URL: https://aur.archlinux.org/python-ocp.git (read-only, click to copy)
Package Base: python-ocp
Description: Python wrapper for OCCT generated using pywrap
Upstream URL: https://github.com/CadQuery/OCP
Licenses: Apache
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 0
Popularity: 0.000000
First Submitted: 2020-08-22 14:36
Last Updated: 2020-11-28 17:23

Latest Comments

greyltc commented on 2020-11-22 13:56

@Knusperkeks It seems to me that those "errors" are actually warnings.

You wrote "I tried building it inside a clean chroot and it does not succeed." I don't see anything indicating failure in what you pasted.

Thanks for the new deps, I've added them.

Knusperkeks commented on 2020-11-22 13:36

I tried building it inside a clean chroot and it does not succeed. As the bindgen phase already produces errors, any complaints by gcc are to be expected I guess. Any idea what i do wrong? Btw, python-jinja and python-toml seem to be missing as makedeps.

==> Extracting sources...
  -> Extracting python-ocp-7.5.RC1.tar.gz with bsdtar
  -> Extracting pywrap-7.5.RC1.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
  0%|          | 0/309 [00:00<?, ?it/s][W 201122 11:19:52 translation_unit:46] ./opencascade/Standard_WarningsRestore.hxx
[W 201122 11:19:52 translation_unit:47] dummy.cxx:36:28: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
[W 201122 11:20:01 translation_unit:46] ./opencascade/BVH_Ray.hxx
[W 201122 11:20:01 translation_unit:47] dummy.cxx:30:20: error: use of undeclared identifier 'BVH'
[W 201122 11:20:01 translation_unit:47] dummy.cxx:30:35: error: expected member name or ';' after declaration specifiers
[W 201122 11:20:01 translation_unit:47] dummy.cxx:34:3: error: unknown type name 'BVH_VecNt'
[W 201122 11:20:01 translation_unit:47] dummy.cxx:35:3: error: unknown type name 'BVH_VecNt'
[W 201122 11:20:01 translation_unit:47] dummy.cxx:39:18: error: unknown type name 'BVH_VecNt'
[W 201122 11:20:01 translation_unit:47] dummy.cxx:40:18: error: unknown type name 'BVH_VecNt'
  3%|▎         | 8/309 [01:16<47:50,  9.54s/it][W 201122 11:21:54 translation_unit:46] ./opencascade/NCollection_CellFilter.hxx
[W 201122 11:21:54 translation_unit:47] dummy.cxx:510:74: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:514:9: error: incomplete result type 'NCollection_CellFilter_InspectorXYZ::Point' (aka 'gp_XYZ') in function definition
[W 201122 11:21:54 translation_unit:47] dummy.cxx:515:25: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:515:46: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:515:67: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:533:74: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:537:9: error: incomplete result type 'NCollection_CellFilter_InspectorXY::Point' (aka 'gp_XY') in function definition
[W 201122 11:21:54 translation_unit:47] dummy.cxx:538:25: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:538:46: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
 23%|██▎       | 72/309 [09:28<26:14,  6.64s/it][W 201122 11:28:56 translation_unit:46] ./opencascade/IntAna_Quadric.hxx
[W 201122 11:28:56 translation_unit:47] dummy.cxx:41:40: error: unknown type name 'gp_Pln'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:44:40: error: unknown type name 'gp_Sphere'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:47:40: error: unknown type name 'gp_Cylinder'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:50:40: error: unknown type name 'gp_Cone'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:53:42: error: unknown type name 'gp_Pln'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:56:42: error: unknown type name 'gp_Sphere'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:59:42: error: unknown type name 'gp_Cone'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:62:42: error: unknown type name 'gp_Cylinder'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:75:255: error: unknown type name 'gp_Ax3'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:78:26: error: use of undeclared identifier 'gp_Pnt'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:104:20: error: use of undeclared identifier 'gp_Pnt'
 38%|███▊      | 116/309 [15:22<23:30,  7.31s/it][W 201122 11:34:49 translation_unit:46] ./opencascade/IntPatch_PolyhedronTool.hxx
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:19:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:24:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:29:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:34:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:43:11: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:49:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:60:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
 39%|███▉      | 120/309 [15:44<21:20,  6.78s/it][W 201122 11:35:29 translation_unit:46] ./opencascade/BRepApprox_SurfaceTool.hxx
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:31:108: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:32:108: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:33:107: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:34:107: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:38:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:43:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:49:7: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:55:7: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:63:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:70:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:78:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:83:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:88:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:93:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:98:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:103:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:110:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:118:4: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:128:4: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
 45%|████▌     | 140/309 [17:53<16:39,  5.91s/it][W 201122 11:37:11 translation_unit:46] ./opencascade/ShapeConstruct_ProjectCurveOnSurface.hxx
[W 201122 11:37:11 translation_unit:47] dummy.cxx:210:66: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:11 translation_unit:47] dummy.cxx:213:138: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:11 translation_unit:47] dummy.cxx:215:133: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:11 translation_unit:47] dummy.cxx:217:81: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:11 translation_unit:47] dummy.cxx:219:85: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:25 translation_unit:46] ./opencascade/ShapeFix_Solid.hxx
[W 201122 11:37:25 translation_unit:47] dummy.cxx:70:96: error: invalid use of incomplete type 'Message_ProgressRange'
 47%|████▋     | 144/309 [18:20<16:53,  6.14s/it][W 201122 11:37:55 translation_unit:46] ./opencascade/HLRAlgo_Array1OfPHDat.hxx
[W 201122 11:37:55 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:42:5: error: unknown type name 'gp_XYZ'
[W 201122 11:37:55 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:62:22: error: use of undeclared identifier 'gp_XYZ'
[W 201122 11:38:03 translation_unit:46] ./opencascade/HLRAlgo_HArray1OfPHDat.hxx
[W 201122 11:38:03 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:42:5: error: unknown type name 'gp_XYZ'
[W 201122 11:38:03 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:62:22: error: use of undeclared identifier 'gp_XYZ'
[W 201122 11:38:06 translation_unit:46] ./opencascade/HLRAlgo_PolyShellData.hxx
[W 201122 11:38:06 translation_unit:47] dummy.cxx:52:44: error: use of undeclared identifier 'HLRAlgo_PolyData'
 48%|████▊     | 148/309 [18:56<18:52,  7.03s/it][W 201122 11:38:34 translation_unit:46] ./opencascade/HLRAlgo_PolyHidingData.hxx
[W 201122 11:38:34 translation_unit:47] dummy.cxx:47:5: error: unknown type name 'gp_XYZ'
[W 201122 11:38:34 translation_unit:47] dummy.cxx:67:22: error: use of undeclared identifier 'gp_XYZ'
 50%|█████     | 156/309 [19:37<14:39,  5.75s/it][W 201122 11:38:59 translation_unit:46] ./opencascade/BOPDS_DataMapOfIntegerListOfPaveBlock.hxx
[W 201122 11:38:59 translation_unit:47] dummy.cxx:27:70: error: use of undeclared identifier 'TColStd_MapIntegerHasher'
[W 201122 11:40:03 translation_unit:46] ./opencascade/BOPDS_DataMapOfPaveBlockListOfInteger.hxx
[W 201122 11:40:03 translation_unit:47] dummy.cxx:27:36: error: use of undeclared identifier 'BOPDS_PaveBlock'
[W 201122 11:40:03 translation_unit:47] dummy.cxx:28:9: error: 'BOPDS_DataMapOfPaveBlockListOfInteger' (aka 'int') is not a class, namespace, or enumeration
[W 201122 11:40:16 translation_unit:46] ./opencascade/BOPTools_SetMapHasher.hxx
[W 201122 11:40:16 translation_unit:47] ./opencascade/BOPTools_SetMapHasher.lxx:24:16: error: member access into incomplete type 'const BOPTools_Set'
[W 201122 11:40:16 translation_unit:47] ./opencascade/BOPTools_SetMapHasher.lxx:34:16: error: member access into incomplete type 'const BOPTools_Set'
[W 201122 11:40:22 translation_unit:46] ./opencascade/HLRBRep_CLPropsATool.hxx
[W 201122 11:40:22 translation_unit:47] dummy.cxx:45:30: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:49:27: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:54:27: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:59:27: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:66:47: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:69:48: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:73:47: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:26:36: error: out-of-line definition of 'Value' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:37:36: error: out-of-line definition of 'D1' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:49:36: error: out-of-line definition of 'D2' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:62:36: error: out-of-line definition of 'D3' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:76:48: error: out-of-line definition of 'Continuity' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:85:45: error: out-of-line definition of 'FirstParameter' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:94:45: error: out-of-line definition of 'LastParameter' does not match any declaration in 'HLRBRep_CLPropsATool'
 53%|█████▎    | 164/309 [21:53<25:18, 10.47s/it][W 201122 11:41:39 translation_unit:46] ./opencascade/IntTools_EdgeFace.hxx
[W 201122 11:41:39 translation_unit:47] dummy.cxx:124:33: error: use of undeclared identifier 'Precision'
[W 201122 11:41:54 translation_unit:46] ./opencascade/BRepFill_Sweep.hxx
[W 201122 11:41:54 translation_unit:47] dummy.cxx:171:10: error: use of undeclared identifier 'TopTools_HArray1OfShape'
[W 201122 11:41:56 translation_unit:46] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.hxx
[W 201122 11:41:56 translation_unit:47] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.lxx:24:28: error: member access into incomplete type 'const IntTools_SurfaceRangeSample'
[W 201122 11:41:56 translation_unit:47] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.lxx:29:12: error: member access into incomplete type 'const IntTools_SurfaceRangeSample'
[W 201122 11:41:57 translation_unit:46] ./opencascade/IntTools_CurveRangeSampleMapHasher.hxx
[W 201122 11:41:57 translation_unit:47] ./opencascade/IntTools_CurveRangeSampleMapHasher.lxx:23:27: error: member access into incomplete type 'const IntTools_CurveRangeSample'
[W 201122 11:41:57 translation_unit:47] ./opencascade/IntTools_CurveRangeSampleMapHasher.lxx:28:12: error: member access into incomplete type 'const IntTools_CurveRangeSample'
[W 201122 11:42:19 translation_unit:46] ./opencascade/BRepFill_TrimShellCorner.hxx
[W 201122 11:42:19 translation_unit:47] dummy.cxx:98:40: error: unknown type name 'TopoDS_Vertex'
[W 201122 11:42:19 translation_unit:47] dummy.cxx:99:40: error: unknown type name 'TopoDS_Vertex'
 54%|█████▍    | 168/309 [23:37<35:39, 15.18s/it][W 201122 11:44:04 translation_unit:46] ./opencascade/BRepBlend_HCurveTool.hxx
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:35:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:39:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:43:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:47:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:53:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:57:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:61:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:65:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:70:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:76:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:83:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:92:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:102:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:109:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:114:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:118:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:122:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:126:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:130:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
 56%|█████▌    | 172/309 [25:08<39:44, 17.41s/it][W 201122 11:44:44 translation_unit:46] ./opencascade/BRepBlend_HCurve2dTool.hxx
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:35:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:39:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:43:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:47:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:53:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:57:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:61:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:65:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:70:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:76:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:83:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:92:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:102:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:109:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:114:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:118:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:122:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:126:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:130:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
 58%|█████▊    | 180/309 [26:16<26:48, 12.47s/it][W 201122 11:45:46 translation_unit:46] ./opencascade/BRepOffset_Inter2d.hxx
[W 201122 11:45:46 translation_unit:47] dummy.cxx:98:61: error: unknown type name 'TopoDS_Edge'
[W 201122 11:45:46 translation_unit:47] dummy.cxx:99:55: error: unknown type name 'TopoDS_Edge'
 61%|██████    | 188/309 [27:16<19:44,  9.79s/it][W 201122 11:47:26 translation_unit:46] ./opencascade/Prs3d_Point.hxx
[W 201122 11:47:26 translation_unit:47] dummy.cxx:48:33: error: use of undeclared identifier 'Prs3d_Presentation'
 62%|██████▏   | 192/309 [28:45<26:21, 13.52s/it][W 201122 11:48:17 translation_unit:46] ./opencascade/Graphic3d_WorldViewProjState.hxx
[W 201122 11:48:17 translation_unit:47] dummy.cxx:152:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 201122 11:48:17 translation_unit:47] dummy.cxx:152:60: error: expected ';' after expression
[W 201122 11:48:17 translation_unit:47] dummy.cxx:153:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_POINTER'
[W 201122 11:48:17 translation_unit:47] dummy.cxx:153:57: error: expected ';' after expression
[W 201122 11:48:17 translation_unit:47] dummy.cxx:154:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 201122 11:48:17 translation_unit:47] dummy.cxx:154:68: error: expected ';' after expression
[W 201122 11:48:17 translation_unit:47] dummy.cxx:155:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 201122 11:48:17 translation_unit:47] dummy.cxx:155:67: error: expected ';' after expression
[W 201122 11:50:06 translation_unit:46] ./opencascade/StdPrs_Point.hxx
[W 201122 11:50:06 translation_unit:47] ./opencascade/Prs3d_Point.hxx:43:33: error: use of undeclared identifier 'Prs3d_Presentation'
 63%|██████▎   | 196/309 [31:09<38:10, 20.27s/it][W 201122 11:50:41 translation_unit:46] ./opencascade/StdPrs_Vertex.hxx
[W 201122 11:50:41 translation_unit:47] ./opencascade/Prs3d_Point.hxx:43:33: error: use of undeclared identifier 'Prs3d_Presentation'
 65%|██████▍   | 200/309 [32:16<34:54, 19.21s/it][W 201122 11:52:10 translation_unit:46] ./opencascade/OpenGl_ShaderObject.hxx
[W 201122 11:52:10 translation_unit:47] dummy.cxx:56:11: error: no template named 'NCollection_Sequence'
 66%|██████▌   | 204/309 [33:29<33:05, 18.91s/it][W 201122 11:52:48 translation_unit:46] ./opencascade/PCDM_ReadWriter.hxx
[W 201122 11:52:48 translation_unit:47] dummy.cxx:89:65: error: unknown type name 'Standard_IStream'
[W 201122 11:53:07 translation_unit:46] ./opencascade/PCDM_ReadWriter_1.hxx
[W 201122 11:53:07 translation_unit:47] ./opencascade/PCDM_ReadWriter.hxx:84:65: error: unknown type name 'Standard_IStream'
 71%|███████   | 220/309 [35:55<14:59, 10.11s/it][W 201122 11:55:24 translation_unit:46] ./opencascade/TNaming_NCollections.hxx
[W 201122 11:55:24 translation_unit:47] dummy.cxx:25:25: error: use of undeclared identifier 'TopoDS_Shape'
[W 201122 11:55:24 translation_unit:47] dummy.cxx:26:9: error: 'TNaming_MapOfShape' (aka 'int') is not a class, namespace, or enumeration
[W 201122 11:55:24 translation_unit:47] dummy.cxx:27:29: error: use of undeclared identifier 'TopoDS_Shape'
[W 201122 11:55:24 translation_unit:47] dummy.cxx:28:9: error: 'TNaming_DataMapOfShapeMapOfShape' (aka 'int') is not a class, namespace, or enumeration
 85%|████████▌ | 264/309 [47:19<18:19, 24.43s/it][W 201122 12:06:39 translation_unit:46] ./opencascade/STEPConstruct_PointHasher.hxx
[W 201122 12:06:39 translation_unit:47] ./opencascade/STEPConstruct_PointHasher.lxx:27:11: error: member access into incomplete type 'const gp_Pnt'
 96%|█████████▌| 296/309 [53:05<02:56, 13.55s/it][W 201122 12:12:58 translation_unit:46] ./opencascade/Interface_ValueInterpret.hxx
[W 201122 12:12:58 translation_unit:47] dummy.cxx:24:85: error: use of undeclared identifier 'Interface_TypedValue'
100%|██████████| 309/309 [55:26<00:00, 10.77s/it]
100%|██████████| 309/309 [14:53<00:00,  2.89s/it]

s-ol commented on 2020-11-17 21:44

can confirm it now builds cleanly, although cadquery and cq-editor crash. I assume they are not yet ready for the 4.5 release:

Traceback (most recent call last):
  File "case.py", line 3, in <module>
    import cadquery as cq
  File "/usr/lib/python3.8/site-packages/cadquery/__init__.py", line 3, in <module>
    from .occ_impl.shapes import (
  File "/usr/lib/python3.8/site-packages/cadquery/occ_impl/shapes.py", line 137, in <module>
    from OCP.Font import (
ImportError: cannot import name 'Font_BRepTextBuilder' from 'OCP.Font' (unknown location)

greyltc commented on 2020-11-16 15:46

I seem to have fixed the build. Somehow upstream has modified the opencascade headers and the build works with those modified ones. I've submitted an issue to try to learn why that is: https://github.com/CadQuery/OCP/issues/31

greyltc commented on 2020-11-16 14:47

Looks like they actually released a new version for 7.5. I've updated this package to that, but the build is still failing for me.

s-ol commented on 2020-11-16 14:40

@greyltc good catch, I'll try to downgrade and rebuild in the meantime.

greyltc commented on 2020-11-16 14:24

I imagine the opencascade package in community being updated to ver 7.5 https://www.archlinux.org/packages/community/x86_64/opencascade/ is what broke this then.

Sounds like a bug that should be reported upstream.

s-ol commented on 2020-11-16 14:21

I'm having trouble building this now, after my last build on the 22nd of october succeeded.

It ends like this:

FAILED: CMakeFiles/OCP.dir/XCAFPrs.cpp.o
/usr/bin/g++-8 -DOCP_EXPORTS -I/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP -I/usr/include/opencascade -isystem /usr/include/python3.8 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O3 -DNDEBUG -fPIC -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++17 -MD -MT CMakeFiles/OCP.dir/XCAFPrs.cpp.o -MF CMakeFiles/OCP.dir/XCAFPrs.cpp.o.d -o CMakeFiles/OCP.dir/XCAFPrs.cpp.o -c /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/bits/move.h:55,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/bits/stl_pair.h:59,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/utility:70,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/tuple:38,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:3:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits: In instantiation of ‘struct std::is_base_of<pybind11::detail::pyobject_tag, Image_SupportedFormats>’:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12:   recursively required by substitution of ‘template<class T> class pybind11::detail::type_caster<T, typename std::enable_if<std::is_base_of<pybind11::detail::pyobject_tag, typename std::remove_reference<_Tp>::type>::value, void>::type> [with T = Image_SupportedFormats]’
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12:   required from ‘struct std::is_base_of<pybind11::detail::type_caster_base<Image_SupportedFormats>, pybind11::detail::type_caster<Image_SupportedFormats, void> >’
/usr/include/pybind11/cast.h:1498:40:   required from ‘struct pybind11::detail::copyable_holder_caster<Image_SupportedFormats, opencascade::handle<Image_SupportedFormats> >’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/OCP_specific.inc:8:1:   required from ‘class pybind11::detail::type_caster<opencascade::handle<Image_SupportedFormats>, void>’
/usr/include/pybind11/cast.h:1974:56:   required from ‘constexpr const auto pybind11::detail::argument_loader<XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&>::arg_names’
/usr/include/pybind11/cast.h:1974:27:   required from ‘class pybind11::detail::argument_loader<XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&>’
/usr/include/pybind11/pybind11.h:157:50:   required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_CompressedPixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_CompressedPixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:433:11:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12: error: invalid use of incomplete type ‘class Image_SupportedFormats’
     struct is_base_of
            ^~~~~~~~~~
In file included from /usr/include/opencascade/Graphic3d_TextureMap.hxx:20,
                 from /usr/include/opencascade/Graphic3d_Aspects.hxx:31,
                 from /usr/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20,
                 from /usr/include/opencascade/Graphic3d_ClipPlane.hxx:21,
                 from /usr/include/opencascade/PrsMgr_PresentableObject.hxx:22,
                 from /usr/include/opencascade/SelectMgr_SelectableObject.hxx:20,
                 from /usr/include/opencascade/AIS_InteractiveObject.hxx:22,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:17:
/usr/include/opencascade/Graphic3d_TextureRoot.hxx:29:7: note: forward declaration of ‘class Image_SupportedFormats’
 class Image_SupportedFormats;
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/bits/move.h:55,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/bits/stl_pair.h:59,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/utility:70,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/tuple:38,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:3:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits: In instantiation of ‘struct std::is_base_of<pybind11::detail::pyobject_tag, Image_CompressedPixMap>’:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12:   recursively required by substitution of ‘template<class T> class pybind11::detail::type_caster<T, typename std::enable_if<std::is_base_of<pybind11::detail::pyobject_tag, typename std::remove_reference<_Tp>::type>::value, void>::type> [with T = Image_CompressedPixMap]’
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12:   required from ‘struct std::is_base_of<pybind11::detail::type_caster_base<Image_CompressedPixMap>, pybind11::detail::type_caster<Image_CompressedPixMap, void> >’
/usr/include/pybind11/cast.h:1498:40:   required from ‘struct pybind11::detail::copyable_holder_caster<Image_CompressedPixMap, opencascade::handle<Image_CompressedPixMap> >’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/OCP_specific.inc:8:1:   required from ‘class pybind11::detail::type_caster<opencascade::handle<Image_CompressedPixMap>, void>’
/usr/include/pybind11/pybind11.h:177:86:   recursively required by substitution of ‘template<class Return> struct pybind11::detail::return_value_policy_override<Return, typename std::enable_if<std::is_base_of<pybind11::detail::type_caster_generic, pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type> >::value, void>::type> [with Return = opencascade::handle<Image_CompressedPixMap>]’
/usr/include/pybind11/pybind11.h:177:86:   required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_CompressedPixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_CompressedPixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:433:11:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12: error: invalid use of incomplete type ‘class Image_CompressedPixMap’
     struct is_base_of
            ^~~~~~~~~~
In file included from /usr/include/opencascade/Graphic3d_TextureMap.hxx:20,
                 from /usr/include/opencascade/Graphic3d_Aspects.hxx:31,
                 from /usr/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20,
                 from /usr/include/opencascade/Graphic3d_ClipPlane.hxx:21,
                 from /usr/include/opencascade/PrsMgr_PresentableObject.hxx:22,
                 from /usr/include/opencascade/SelectMgr_SelectableObject.hxx:20,
                 from /usr/include/opencascade/AIS_InteractiveObject.hxx:22,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:17:
/usr/include/opencascade/Graphic3d_TextureRoot.hxx:28:7: note: forward declaration of ‘class Image_CompressedPixMap’
 class Image_CompressedPixMap;
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pybind11/cast.h:15,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:45,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/detail/descr.h: In instantiation of ‘static constexpr std::array<const std::type_info*, (sizeof... (Ts) + 1)> pybind11::detail::descr<N, Ts>::types() [with long unsigned int N = 15; Ts = {XCAFPrs_Texture, Image_SupportedFormats, Image_CompressedPixMap}]’:
/usr/include/pybind11/pybind11.h:207:73:   required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_CompressedPixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_CompressedPixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:433:11:   required from here
/usr/include/pybind11/detail/descr.h:38:19: error: invalid use of incomplete type ‘class Image_SupportedFormats’
         return {{&typeid(Ts)..., nullptr}};
                   ^~~~~~~~~~
In file included from /usr/include/opencascade/Graphic3d_TextureMap.hxx:20,
                 from /usr/include/opencascade/Graphic3d_Aspects.hxx:31,
                 from /usr/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20,
                 from /usr/include/opencascade/Graphic3d_ClipPlane.hxx:21,
                 from /usr/include/opencascade/PrsMgr_PresentableObject.hxx:22,
                 from /usr/include/opencascade/SelectMgr_SelectableObject.hxx:20,
                 from /usr/include/opencascade/AIS_InteractiveObject.hxx:22,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:17:
/usr/include/opencascade/Graphic3d_TextureRoot.hxx:29:7: note: forward declaration of ‘class Image_SupportedFormats’
 class Image_SupportedFormats;
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pybind11/cast.h:15,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:45,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/detail/descr.h:38:42: error: could not convert ‘{{<expression error>, nullptr}}’ from ‘<brace-enclosed initializer list>’ to ‘std::array<const std::type_info*, 4>’
         return {{&typeid(Ts)..., nullptr}};
                                          ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/pybind11.h: In instantiation of ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_CompressedPixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’:
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_CompressedPixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:433:11:   required from here
/usr/include/pybind11/pybind11.h:207:73:   in ‘constexpr’ expansion of ‘pybind11::detail::descr<15, XCAFPrs_Texture, Image_SupportedFormats, Image_CompressedPixMap>::types()’
/usr/include/pybind11/pybind11.h:207:39: error: ‘constexpr’ call flows off the end of the function
         PYBIND11_DESCR_CONSTEXPR auto types = decltype(signature)::types();
                                       ^~~~~
In file included from /usr/include/pybind11/cast.h:15,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:45,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/detail/descr.h: In instantiation of ‘static constexpr std::array<const std::type_info*, (sizeof... (Ts) + 1)> pybind11::detail::descr<N, Ts>::types() [with long unsigned int N = 15; Ts = {XCAFPrs_Texture, Image_SupportedFormats, Image_PixMap}]’:
/usr/include/pybind11/pybind11.h:207:73:   required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_PixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_PixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_PixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_PixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:437:11:   required from here
/usr/include/pybind11/detail/descr.h:38:19: error: invalid use of incomplete type ‘class Image_SupportedFormats’
         return {{&typeid(Ts)..., nullptr}};
                   ^~~~~~~~~~
In file included from /usr/include/opencascade/Graphic3d_TextureMap.hxx:20,
                 from /usr/include/opencascade/Graphic3d_Aspects.hxx:31,
                 from /usr/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20,
                 from /usr/include/opencascade/Graphic3d_ClipPlane.hxx:21,
                 from /usr/include/opencascade/PrsMgr_PresentableObject.hxx:22,
                 from /usr/include/opencascade/SelectMgr_SelectableObject.hxx:20,
                 from /usr/include/opencascade/AIS_InteractiveObject.hxx:22,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:17:
/usr/include/opencascade/Graphic3d_TextureRoot.hxx:29:7: note: forward declaration of ‘class Image_SupportedFormats’
 class Image_SupportedFormats;
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pybind11/cast.h:15,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:45,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/detail/descr.h:38:42: error: could not convert ‘{{<expression error>, nullptr}}’ from ‘<brace-enclosed initializer list>’ to ‘std::array<const std::type_info*, 4>’
         return {{&typeid(Ts)..., nullptr}};
                                          ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/pybind11.h: In instantiation of ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_PixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_PixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’:
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_PixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_PixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:437:11:   required from here
/usr/include/pybind11/pybind11.h:207:73:   in ‘constexpr’ expansion of ‘pybind11::detail::descr<15, XCAFPrs_Texture, Image_SupportedFormats, Image_PixMap>::types()’
/usr/include/pybind11/pybind11.h:207:39: error: ‘constexpr’ call flows off the end of the function
         PYBIND11_DESCR_CONSTEXPR auto types = decltype(signature)::types();
                                       ^~~~~
[575/610] Building CXX object CMakeFiles/OCP.dir/V3d.cpp.o
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp: In function ‘void register_V3d(pybind11::module&)’:
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:967:179: warning: ‘void V3d_View::SetClipPlanes(const Graphic3d_SequenceOfHClipPlane&)’ is deprecated: This method is deprecated - overload taking Handle should be used instead [-Wdeprecated-declarations]
              (void (V3d_View::*)( const Graphic3d_SequenceOfHClipPlane &  ) ) static_cast<void (V3d_View::*)( const Graphic3d_SequenceOfHClipPlane &  ) >(&V3d_View::SetClipPlanes),
                                                                                                                                                                                   ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:903:8: note: declared here
   void SetClipPlanes (const Graphic3d_SequenceOfHClipPlane& thePlanes)
        ^~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:967:179: warning: ‘void V3d_View::SetClipPlanes(const Graphic3d_SequenceOfHClipPlane&)’ is deprecated: This method is deprecated - overload taking Handle should be used instead [-Wdeprecated-declarations]
              (void (V3d_View::*)( const Graphic3d_SequenceOfHClipPlane &  ) ) static_cast<void (V3d_View::*)( const Graphic3d_SequenceOfHClipPlane &  ) >(&V3d_View::SetClipPlanes),
                                                                                                                                                                                   ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:903:8: note: declared here
   void SetClipPlanes (const Graphic3d_SequenceOfHClipPlane& thePlanes)
        ^~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1003:118: warning: ‘Standard_Boolean V3d_View::IfMoreLights() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_View::*)() const) static_cast<Standard_Boolean (V3d_View::*)() const>(&V3d_View::IfMoreLights),
                                                                                                                      ^~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:973:36: note: declared here
   Standard_EXPORT Standard_Boolean IfMoreLights() const;
                                    ^~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1007:84: warning: ‘void V3d_View::InitActiveLights()’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_View::*)() ) static_cast<void (V3d_View::*)() >(&V3d_View::InitActiveLights),
                                                                                    ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:977:8: note: declared here
   void InitActiveLights() { myActiveLightsIterator.Initialize (myActiveLights); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1011:118: warning: ‘Standard_Boolean V3d_View::MoreActiveLights() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_View::*)() const) static_cast<Standard_Boolean (V3d_View::*)() const>(&V3d_View::MoreActiveLights),
                                                                                                                      ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:981:20: note: declared here
   Standard_Boolean MoreActiveLights() const { return myActiveLightsIterator.More(); }
                    ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1015:84: warning: ‘void V3d_View::NextActiveLights()’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_View::*)() ) static_cast<void (V3d_View::*)() >(&V3d_View::NextActiveLights),
                                                                                    ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:985:8: note: declared here
   void NextActiveLights() { myActiveLightsIterator.Next(); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1283:162: warning: ‘const opencascade::handle<Graphic3d_CLight>& V3d_View::ActiveLight() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_Light> & (V3d_View::*)() const) static_cast<const opencascade::handle<V3d_Light> & (V3d_View::*)() const>(&V3d_View::ActiveLight),
                                                                                                                                                                  ^~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:988:28: note: declared here
   const Handle(V3d_Light)& ActiveLight() const { return myActiveLightsIterator.Value(); }
                            ^~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1581:311: warning: ‘void V3d_Viewer::SetDefaultBackgroundColor(Quantity_TypeOfColor, Standard_Real, Standard_Real, Standard_Real)’ is deprecated: This method is deprecated - SetDefaultBackgroundColor() taking Quantity_Color should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)( const Quantity_TypeOfColor ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (V3d_Viewer::*)( const Quantity_TypeOfColor ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&V3d_Viewer::SetDefaultBackgroundColor),
                                                                                                                                                                                                                                                                                                                       ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:430:8: note: declared here
   void SetDefaultBackgroundColor (const Quantity_TypeOfColor theType,
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1581:311: warning: ‘void V3d_Viewer::SetDefaultBackgroundColor(Quantity_TypeOfColor, Standard_Real, Standard_Real, Standard_Real)’ is deprecated: This method is deprecated - SetDefaultBackgroundColor() taking Quantity_Color should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)( const Quantity_TypeOfColor ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (V3d_Viewer::*)( const Quantity_TypeOfColor ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&V3d_Viewer::SetDefaultBackgroundColor),
                                                                                                                                                                                                                                                                                                                       ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:430:8: note: declared here
   void SetDefaultBackgroundColor (const Quantity_TypeOfColor theType,
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1585:90: warning: ‘void V3d_Viewer::InitActiveViews()’ is deprecated: Deprecated method - ActiveViews() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::InitActiveViews),
                                                                                          ^~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:453:8: note: declared here
   void InitActiveViews() { myActiveViewsIterator.Initialize (myActiveViews); }
        ^~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1589:124: warning: ‘Standard_Boolean V3d_Viewer::MoreActiveViews() const’ is deprecated: Deprecated method - ActiveViews() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_Viewer::*)() const) static_cast<Standard_Boolean (V3d_Viewer::*)() const>(&V3d_Viewer::MoreActiveViews),
                                                                                                                            ^~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:457:20: note: declared here
   Standard_Boolean MoreActiveViews() const { return myActiveViewsIterator.More(); }
                    ^~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1593:90: warning: ‘void V3d_Viewer::NextActiveViews()’ is deprecated: Deprecated method - ActiveViews() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::NextActiveViews),
                                                                                          ^~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:461:8: note: declared here
   void NextActiveViews() { if (!myActiveViews.IsEmpty()) myActiveViewsIterator.Next(); }
        ^~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1597:90: warning: ‘void V3d_Viewer::InitDefinedViews()’ is deprecated: Deprecated method - DefinedViews() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::InitDefinedViews),
                                                                                          ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:468:8: note: declared here
   void InitDefinedViews() { myDefinedViewsIterator.Initialize (myDefinedViews); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1601:124: warning: ‘Standard_Boolean V3d_Viewer::MoreDefinedViews() const’ is deprecated: Deprecated method - DefinedViews() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_Viewer::*)() const) static_cast<Standard_Boolean (V3d_Viewer::*)() const>(&V3d_Viewer::MoreDefinedViews),
                                                                                                                            ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:472:20: note: declared here
   Standard_Boolean MoreDefinedViews() const { return myDefinedViewsIterator.More(); }
                    ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1605:90: warning: ‘void V3d_Viewer::NextDefinedViews()’ is deprecated: Deprecated method - DefinedViews() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::NextDefinedViews),
                                                                                          ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:476:8: note: declared here
   void NextDefinedViews() { if (!myDefinedViews.IsEmpty()) myDefinedViewsIterator.Next(); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1609:90: warning: ‘void V3d_Viewer::InitActiveLights()’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::InitActiveLights),
                                                                                          ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:483:8: note: declared here
   void InitActiveLights() { myActiveLightsIterator.Initialize (myActiveLights); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1613:124: warning: ‘Standard_Boolean V3d_Viewer::MoreActiveLights() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_Viewer::*)() const) static_cast<Standard_Boolean (V3d_Viewer::*)() const>(&V3d_Viewer::MoreActiveLights),
                                                                                                                            ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:487:20: note: declared here
   Standard_Boolean MoreActiveLights() const { return myActiveLightsIterator.More(); }
                    ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1617:90: warning: ‘void V3d_Viewer::NextActiveLights()’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::NextActiveLights),
                                                                                          ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:491:8: note: declared here
   void NextActiveLights() { myActiveLightsIterator.Next(); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1621:90: warning: ‘void V3d_Viewer::InitDefinedLights()’ is deprecated: Deprecated method - DefinedLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::InitDefinedLights),
                                                                                          ^~~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:498:8: note: declared here
   void InitDefinedLights() { myDefinedLightsIterator.Initialize (myDefinedLights); }
        ^~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1625:124: warning: ‘Standard_Boolean V3d_Viewer::MoreDefinedLights() const’ is deprecated: Deprecated method - DefinedLights() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_Viewer::*)() const) static_cast<Standard_Boolean (V3d_Viewer::*)() const>(&V3d_Viewer::MoreDefinedLights),
                                                                                                                            ^~~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:502:20: note: declared here
   Standard_Boolean MoreDefinedLights() const { return myDefinedLightsIterator.More(); }
                    ^~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1629:90: warning: ‘void V3d_Viewer::NextDefinedLights()’ is deprecated: Deprecated method - DefinedLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::NextDefinedLights),
                                                                                          ^~~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:506:8: note: declared here
   void NextDefinedLights() { if (!myDefinedLights.IsEmpty()) myDefinedLightsIterator.Next(); }
        ^~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp: In lambda function:
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1686:71: warning: ‘void V3d_Viewer::DefaultBackgroundColor(Quantity_TypeOfColor, Standard_Real&, Standard_Real&, Standard_Real&) const’ is deprecated: This method is deprecated - DefaultBackgroundColor() without arguments should be used instead [-Wdeprecated-declarations]
                  self.DefaultBackgroundColor(theType,theV1,theV2,theV3);
                                                                       ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:445:8: note: declared here
   void DefaultBackgroundColor (const Quantity_TypeOfColor theType, Standard_Real& theV1, Standard_Real& theV2, Standard_Real& theV3) const
        ^~~~~~~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp: In function ‘void register_V3d(pybind11::module&)’:
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1751:166: warning: ‘const opencascade::handle<V3d_View>& V3d_Viewer::ActiveView() const’ is deprecated: Deprecated method - ActiveViews() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_View> & (V3d_Viewer::*)() const) static_cast<const opencascade::handle<V3d_View> & (V3d_Viewer::*)() const>(&V3d_Viewer::ActiveView),
                                                                                                                                                                      ^~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:464:27: note: declared here
   const Handle(V3d_View)& ActiveView() const { return myActiveViewsIterator.Value(); }
                           ^~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1756:166: warning: ‘const opencascade::handle<V3d_View>& V3d_Viewer::DefinedView() const’ is deprecated: Deprecated method - DefinedViews() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_View> & (V3d_Viewer::*)() const) static_cast<const opencascade::handle<V3d_View> & (V3d_Viewer::*)() const>(&V3d_Viewer::DefinedView),
                                                                                                                                                                      ^~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:479:27: note: declared here
   const Handle(V3d_View)& DefinedView() const { return myDefinedViewsIterator.Value(); }
                           ^~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1761:168: warning: ‘const opencascade::handle<Graphic3d_CLight>& V3d_Viewer::ActiveLight() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_Light> & (V3d_Viewer::*)() const) static_cast<const opencascade::handle<V3d_Light> & (V3d_Viewer::*)() const>(&V3d_Viewer::ActiveLight),
                                                                                                                                                                        ^~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:494:28: note: declared here
   const Handle(V3d_Light)& ActiveLight() const { return myActiveLightsIterator.Value(); }
                            ^~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1766:168: warning: ‘const opencascade::handle<Graphic3d_CLight>& V3d_Viewer::DefinedLight() const’ is deprecated: Deprecated method - DefinedLights() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_Light> & (V3d_Viewer::*)() const) static_cast<const opencascade::handle<V3d_Light> & (V3d_Viewer::*)() const>(&V3d_Viewer::DefinedLight),
                                                                                                                                                                        ^~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:509:28: note: declared here
   const Handle(V3d_Light)& DefinedLight() const { return myDefinedLightsIterator.Value(); }
                            ^~~~~~~~~~~~
[609/610] Building CXX object CMakeFiles/OCP.dir/gp.cpp.o
ninja: build stopped: cannot make progress due to previous errors.
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build python-ocp - makepkg exited with code: 4

Z2h-A6n commented on 2020-09-25 18:50

I can confirm the missing clang dependency (presumably to be put in makedepends) dack mentioned. I didn't have a problem with python-joblib, which is in the current version of makedepends.

dack commented on 2020-08-24 22:44

Build fails due to missing dependencies - clang and python-joblib