-
Notifications
You must be signed in to change notification settings - Fork 18
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
Empty generation #7
Comments
Something is for sure not right. What os+arch you using? I use the following parameters for -i
"/Users/lstranks/Programming/sokol/sokol_gfx.h"
-o
"./sokol_gfx.cs"
-u
-l
"sokol_gfx"
-s
"/Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include" Output: https://www.dropbox.com/s/melgx7wv2ida8lt/sokol_gfx.cs?dl=0 |
Windows 10 x64, can it be due to -s parameter that needs to be specified? I tried with -s and clang include path the output is the same. C2CS.CommandLine.exe -i "sokol_gfx.h" -o "test.cs" -u -l "sokol_gfx" |
Interesting just tested on Windows 10 Home 64-bit (10.0, Build 18363), and it works for me -i
"C:\Users\lustr\Programming\sokol\sokol_gfx.h"
-o
"./sokol_gfx.cs"
-u
-l
"sokol_gfx" Did you copy |
I'll probably take this opportunity as a hint that I need some CI/CD. |
No no, I used it from the bin directory. Is -s parameter mandatory or the generator should work without it? Update: I see you use Debug, I tried both Debug and Release version of the generator |
The fatal error: 'stdint.h' file not found What's the command line output? Is there any clang diagnostics printed to stdout or stderr? |
May seem dumb, but what are the contents of |
Nice! Btw, I noticed for I'm still trying to figure out how to add this to generated C# files in a smart way... |
Hello there,
I hope this message finds you well. First of all, thank you for your work! I was able to build the generator and test it out, however I think there is something I miss. The generator generates empty classes i.e sokol_gfx, is there something that I miss?
The text was updated successfully, but these errors were encountered: