-
Notifications
You must be signed in to change notification settings - Fork 45
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
[WIP] Mac builds #92
[WIP] Mac builds #92
Conversation
I don't believe the cross-linux.cmake section was being hit on CI
803b5aa
to
bafe254
Compare
not sure if you'd had success locally, but i've noticed that when issues like show up in the binding generation process, pieces of bindings fail to generate successfully. seems like an include path or something is missing for osx maybe? https://github.com/trelau/pyOCCT/runs/4047559203?check_suite_focus=true#step:7:23 or maybe a compile flag is needed for osx somewhere? Line 3 in 5559d99
|
I am pausing my efforts on this, at least for a bit. I can't correctly generate the bindings on Mac. The binding generation process needs to include
This doesn't cause the binding generation process to fail, it just results in incomplete bindings. For my needs, I found that the OCP project already offers Win/Mac/Linux binaries, and for my project's needs it works the same. |
Thanks for the contributions @whophil . There is also pythonocc https://github.com/tpaviot/pythonocc-core which may be of use to you. It uses SWIG whereas pyOCCT (and I believe OCP) uses pybind11, but they all effectively do the same thing. |
I did make a little more progress on the mac bindings. As the latest build log shows, these are now failing on a |
I cherry-picked some things from this PR and have been experimenting with this branch https://github.com/trelau/pyOCCT/tree/osx_support. It looks like there aren't anymore severe errors during the binding generation process, though not sure if everything if going to build and test successfully. If you're working on osx locally, maybe you can try this branch? |
Description
Using PR for testing / visibility.
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: