-
Notifications
You must be signed in to change notification settings - Fork 434
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
Could MoltenVK be automatically installed by Cargo? #927
Comments
@freesig and I are also very interested in this! I think @freesig is going to have a go at automating this process in a standalone crate first, then we'll probably do a PR here and get some feedback. One thing that I'm guessing will be necessary will be for this to be optional. @rukai perhaps having an opt-in @freesig maybe before getting started it would be worth listing all the individual steps here that the |
Yeah a feature sounds good, in the future we might also allow for gfx-rs as a backend via a similar feature. |
Oh just saw this. I already built it, it's pretty much just a curl with some bash commands then you set the environment variables. |
Just thought I'd post this here just incase anyone would like to use it. I will try and make a PR that integrates it into the build.rs aswell |
Hello, I am new to both Rust and Vulkan. I tried out the Triangle example and it worked on Windows. Then I tried it on Mac and it failed because MoltenVK was not installed. Well of course not, I didn't install it.
But: Cargo was able to install all the other libraries it needed. I understand that there are some C based projects already in Cargo, for example libgit2 https://crates.io/crates/libgit2-sys/0.4.2 Would it be possible to make a Cargo package for MoltenVK, so that the requirement to externally install MoltenVK to use Vulkano could be waived, and we could get the versioning advantages of cargo for MoltenVK?
(I see there are a couple PRs right now related to this week's open source release of MoltenVK, but they seem to just be about making Vulkano work with an externally installed MoltenVK.)
The text was updated successfully, but these errors were encountered: