-
Notifications
You must be signed in to change notification settings - Fork 48
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
Multiple Declaration Errors for namespace std in ARM #197
Comments
Hey. Thanks for letting me know. I think the best thing to do would be to have a minimal c/c++ code example to be able to reproduce this outside of the OMPL build context. So I can try to write a test case for it and debug it. I do not have an ARM machine right now (might buy a ARM Mac next year though). The bug might also be in CastXML. |
this errors occurs nowadays! Maybe you can accept my PR, and try to fix it |
I found a possible error try to add: f"-DCMAKE_CXX_STANDARD=14", |
Description
When building the OMPL
make update_bindings
on ARM, we get an error:pygccxml.declarations.runtime_errors.multiple_declarations_found_t: Multiple declarations have been found. Matcher: [(decl type==namespace_t) and (name==std)]
. Context of this issue comes from ompl/ompl#1116.Is it possible that the standard C++ library headers are treated differently (unexpectedly) in ARM compared to X86_64 in PygccXML?
I placed this issue in pygccxml as the error comes from this package compared to py++ and OMPL.
Expected Behavior
In X86_64, we are able to make the Python bindings with no errors. However, in ARM, we get the error stated in the description.
Example Code to Test the Error
Example util.h file:
Error:
Tried Potential Solutions
FILE_BY_FILE
) instead ofALL_AT_ONCE
and was able to build the util module but got the same multiple declaration error in other packages (base, geometric, etc).Resources
The text was updated successfully, but these errors were encountered: