Open Caleb-T-Owens opened 3 years ago
See #1132. I think you need to update the rev =
pointer to newer upstream vcpkg as the older vcpkg.exe binary somehow fails unexpectedly on recent Windows build environment. You are the first report I've seen that has reproduced this outside of github actions. I have not been able to reproduce the failure locally myself.
That did end up being the case, thank you for linking that for me.
I think that this should definitely be mentioned on the crates.io page as this is not an obvious solution to someone who is new to the cargo-vcpgk package.
Ah yes, the crates.io page will update upon the next release. I don't know when that is expected.
This is still an issue now, I was getting cargo-vcpkg: failed
with no error message until I ran cargo vcpkg --verbose build
.
Switching rev to one of the latest (not the very latest) commits, d953973cfbfeaf8022f5219fbabb0bdf9defb706, seems to have solved this issue for me
Same issue. Using rev = "ce99c947b64ea3c0e274e18cc3035ca727681089"
helped me.
I found that using a revision code from a release build, rather than the current state of the repository can fix the issue. Some documentation of the problem should be included in the README, and then this issue should be closed because it seems to be a problem with cargo-vcpkg rather than rust-sdl2. However, if someone can show that the source of the problem isn't originating in cargo-vcpkg, this issue should be investigated further.
I'm tagging this at wontfix since this isn't our problem (although documentation could be better), but leaving this open so people can see that is indeed something that affects this project.
I have installed Visual Studio and thus MSVC from prior c++ work.
I was trying to install this package using the cargo-vcpkg method and it fails in the
cargo vcpkg build
step with the following non-descriptive outputMy cargo.toml is
I had a friend follow the same steps with visual studio installed and they came up with the same error which makes me wonder if something is wrong in the installation guide.