-
Notifications
You must be signed in to change notification settings - Fork 156
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
Missing iterator
definition
#1334
Comments
Thanks - could you try to come up with a minimal test case using these instructions? |
It looks like I need to pass in the right version of c++ to get this compiling but I'm not sure how to pass that in:
I don't see this error when I set the C++ version in the autocxx builder like this:
Thoughts on how to forward the c++20 version in to the autocxx-reduce tooling? |
@adetaylor I would appreciate some guidance. or perhaps there's a good spot to reach out to the community? |
Yeah, sorry for the lack of response. I don't know what's going wrong with
Unfortunately though I will need a minimized version of the C++ headers to be able to investigate this problem. I know from bitter experience that it takes multiple hours to reproduce problems which are not minimized, and I don't have hours spare at the moment - possibly after the holiday season. I'd suggest your best bet is to struggle through getting autocxx-reduce to work (on Linux). Here's where it ought to be doing something with those arguments. |
OK, I will work on a linux environment and rule out the os x flavored stuff. Thanks for the tip 👌 |
Describe the bug
My build.rs script fails because the
iterator
type isn't available. Reproduced on both Mac OS X and Ubuntu Linux.To Reproduce
You'll probably be curious what the inputs to this build are and what the auto-generating bindings look like
Expected behavior
I would have expected the bindings to fail because of something I defined but it looks like autocxx is pulling in funny code from the headers?
Additional context
I have build bindings with cxx-rs successfully here: https://github.com/rdkit-rs/rdkit-sys
And the errors from the repro are a little different on my OS X setup but similar in spirit: https://gist.github.com/xrl/91d94c3bef8b04a64985d4444c8604f2
namely:
The text was updated successfully, but these errors were encountered: