-
Notifications
You must be signed in to change notification settings - Fork 123
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
Cannot compile xilem lib #189
Comments
I bet this is related to #179? |
Can you please include: [patch.crates-io]
wgpu = { git = "https://github.com/gfx-rs/wgpu.git", rev = "2d8d045453855f6594c42a6988692253da195323"} in your Development zone: |
Yes, it is. Xilem has a git dep on wgpu: Line 59 in 50d51fa
|
There is: gfx-rs/wgpu#4775 And there were some discussion about that issue:
I can do that but I think currently it affects all nvidia users with a newer driver If I'm right? |
I've added the line but still the same error. Here is my Cargo.toml in case I added the line wrongly [package]
name = "rsky"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
xilem = { git = "https://github.com/linebender/xilem.git" }
[patch.crates-io]
wgpu = { git = "https://github.com/gfx-rs/wgpu.git", rev = "2d8d045453855f6594c42a6988692253da195323"} |
For your reference [dependencies]
xilem = { git = "https://github.com/linebender/xilem.git", rev = "a13a814e35ad0abc81f8146f26ed73cc662e9814" } This compiled fine |
According to NVIDIA they had a fix in for the second stable release of 550/551 more than a month ago, but it missed the first stable release of that version. It should only have affected a couple of versions that are already obsolete from the information in the forum. |
As for this compilation error, it seems to have popped up due to an interaction with a dependency, since it's been building and running fine this whole time (including on CI). I can set xilem up with 0.19.3 and that also works. Philipp can patch it locally I think. |
Internally certainly. Unfortunately still not released, as current stable and beta/production versions still have that issue. As said I can live with that, as I can patch that locally.
Well that dependency seems to be vello AFAICT. Edit: just to confirm: when I'm setting the same wgpu dependency as xilem (git) in vello and depend on that vello version in xilem. A package depending on xilem compiles successfully for me. |
Partially reverts linebender#177 Fixes linebender#189
I just created a new cargo project, and included xilem as dependency by specifying git repo to this repo. I then run
cargo build
and get the following resultI can see there are two versions of wgpu (0.19.0 and 0.19.3) being compiled. how can i only choose to compile the correct one (which one?)?
The text was updated successfully, but these errors were encountered: