You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compile error is hard to read, but the core of the issue is that register_ChFi3d is trying to create bindings for 2 variants of ChFi3d::IsTangentFaces: one with 4 arguments, and one with 5 arguments:
However, in the OpenCASCADE 7.7.2 header files, there is only one form of ChFi3d::IsTangentFaces, the 4-argument version:
//! Returns true if theEdge between theFace1 and theFace2 is tangent
Standard_EXPORT static Standard_Boolean IsTangentFaces (const TopoDS_Edge& theEdge,
const TopoDS_Face& theFace1,
const TopoDS_Face& theFace2,
const GeomAbs_Shape Order = GeomAbs_G1);
This is the case in both the upstream OpenCASCADE 7.7.2 source code, and in the copy of the header in this repo at opencascade/ChFi3d.hxx.
I scanned all releases of OpenCASCADE from 7.5.0 to 7.8.0, and none of them have a 5-argument IsTangentFaces. And yet, clearly, the published stubs were generated in an environment where OpenCASCADE does have such a definition.
Is it possible the released stubs were generated against a development copy of OpenCASCADE, rather than a clean 7.7.2? I'm struggling to find any other explanation for the discrepancy.
This is also the root cause of #115 and #105, which were worked around by manually deleting the spurious definition from the release stubs.
The text was updated successfully, but these errors were encountered:
Thanks for the reference, and sorry for my apparently triggering quite a lot of pain 😬 . Now that I know about occt-feedstock I'll make sure to track that in order to match your build environment. Thank you!
I'm trying to use OCP_src_stubs_ubuntu-20.04.zip from the 7.7.2.0 release to compile OCP. Compilation fails with:
The compile error is hard to read, but the core of the issue is that
register_ChFi3d
is trying to create bindings for 2 variants ofChFi3d::IsTangentFaces
: one with 4 arguments, and one with 5 arguments:However, in the OpenCASCADE 7.7.2 header files, there is only one form of
ChFi3d::IsTangentFaces
, the 4-argument version:This is the case in both the upstream OpenCASCADE 7.7.2 source code, and in the copy of the header in this repo at
opencascade/ChFi3d.hxx
.I scanned all releases of OpenCASCADE from 7.5.0 to 7.8.0, and none of them have a 5-argument IsTangentFaces. And yet, clearly, the published stubs were generated in an environment where OpenCASCADE does have such a definition.
Is it possible the released stubs were generated against a development copy of OpenCASCADE, rather than a clean 7.7.2? I'm struggling to find any other explanation for the discrepancy.
This is also the root cause of #115 and #105, which were worked around by manually deleting the spurious definition from the release stubs.
The text was updated successfully, but these errors were encountered: