-
Notifications
You must be signed in to change notification settings - Fork 65
openxr_loader lib path on windows contains version number #8
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
Comments
cc @Manishearth |
I also had to modify the c++ standard library linking as follows:
|
Looks like CI isn't testing this anywhere but linux, and due to rust-lang/cargo#5015 cannot easily be made to :( A hand-tested PR fixing the magic on windows would be very welcome. |
This is definitely not an issue on Linux, and the |
Yes, I think the problem here is that the pinned OpenXR SDK produces a lib with name that is actually different on Windows (i.e. contains the version # on Windows, but not on linux) |
@Ralith For CI you can run with |
I'm working within the framework of https://github.com/crate-ci/azure-pipelines, which seems to make slotting in raw options difficult. Possibly related: crate-ci/azure-pipelines#52 |
Fixed by #9 |
I had to edit sys/build.rs to contain the version number in order to link the openxr_loader on Windows:
println!("cargo:rustc-link-lib=static=openxr_loader-1_0");
Unclear if this is a Windows-specific issue, or if it's an issue with the version of the openxr SDK used.
The text was updated successfully, but these errors were encountered: