-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Released 7.7.2.0 stub source contains binding for non-existent method #138
Comments
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! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: