-
Notifications
You must be signed in to change notification settings - Fork 37
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
How to use dstep generate PostgreSQL & MySQL binding? #289
Comments
You can pass multiple files as well. You might need to add imports to the D files after running DStep. You might also need to pass some compiler flags to DStep. DStep accepts the same flags as Clang does. See the readme as well: https://github.com/jacob-carlborg/dstep?tab=readme-ov-file#usage |
Thank you jacob! Show error:
System info:
|
For macOS you need to compile it yourself. There are build instructions in the readme [1]. I recommend using LLVM/libclang 15.0.7. [1] https://github.com/jacob-carlborg/dstep?tab=readme-ov-file#building |
I'll try to put out a new release, with precompiled binaries, but that might take a while. |
Thank you! mysql.d file has generated! An warning has occurred:
step version:
|
I think that warning should be fine. It's printed due to there's an enum named |
BTW, there are several existing bindings to MySQL and PostgreSQL. |
Thank you.
The text was updated successfully, but these errors were encountered: