-
Notifications
You must be signed in to change notification settings - Fork 55
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
Unable to generate bindings on Linux #46
Comments
Turns out c-for-go supported compiler-specific include dirs all along, I just had to enable the |
There are also some errors related to new types/enums/functions, it is unclear to me how vulkan.yml should be edited to accomodate changes. Perhaps a short contribution guide could be added in the readme? |
@jclc Have you made any progress with this? The Vulkan version supported by the bindings here is officially 1.18 |
The issue here is that the bindings generator https://github.com/xlab/c-for-go isn't producing the same results on different operating systems. I haven't had the time to delve deeper into the root cause of the issue. |
@jclc regarding |
Took a shot at regenerating the bindings, it seems like some Also tried generating bindings for Vulkan 1.2.166, but ran into some issues when doing |
I would like to update the bindings to the latest version but the code generation script fails with the following error:
I believe this was related to a c-for-go issue where the script expects all headers to be located in
/usr/include
. On Linux compiler-specific headers such as this are located in subdirectories such as/lib/gcc/<target>/<version>/include
for gcc and/lib/clang/<version>/include
for clang to avoid conflicts.The code generation script should query the compiler for include directories instead of assuming only one path.
The text was updated successfully, but these errors were encountered: