-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
No output from clang2py even for simple headers - CLANG compatibility issues #119
Comments
What is the clang2py full command line you are using? |
I also tried edit: demo.h is the header file as given in the opening message. |
side note: clang2py exits with exit code 0. There is just no output whatsoever. Here is a full output for reference:
|
@lbureau-billettiqueservices bottom line it's a dependency issue with the python bindings from clang. Solution Explainer
Conclusion: I need to push a new ctypeslib package on pypi |
warning messages are added in v2.3.3, it does not silently fail |
Thanks for the fantastic support @trolldbois , i'm going to test your solution asap. |
I have been stuck with clang2py for a few hours now, absolutely no output is given even for extremely simple header files.
Here is the docker environment i'm working with that can reproduce the problem:
It just starts from the python 3.8.16 official image, install some minor packages to then install llvm/clang 11, which should allow proper support for clang2py.
I then install ctypeslib2 via pip. Nothing extraordinary.
I then try to pass it this extremely simple header file, just to test if something is working
but clang2py does not give any output whatsoever. Using the
-v
flag doesnt give any information about what could be the problem either.I must be doing something wrong somewhere, because i used to be able to reliably use clang2py for much more complex header files, actively used in a python wrapper around a C library, but i can't get it working at all right now.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: