Originally created by @belljames on GitHub (Aug 22, 2021).
Originally assigned to: @LGUG2Z on GitHub.
Hi!
I'm having consistent issues with compiling bindings.
Previously Foundation::POINT was not found in the metadata, now RECT.
Any tips would be greatly appreciated!
Also, this is an elegant redesign of your earlier tiling project. You've made excellent choices and I look forward to what comes. Thank you!
Originally created by @belljames on GitHub (Aug 22, 2021).
Originally assigned to: @LGUG2Z on GitHub.
Hi!
I'm having consistent issues with compiling bindings.
Previously Foundation::POINT was not found in the metadata, now RECT.

Any tips would be greatly appreciated!
Also, this is an elegant redesign of your earlier tiling project. You've made excellent choices and I look forward to what comes. Thank you!
Thank you for the kind words on the design choices and the code! I think most people just come for the tiling, but it's nice when people appreciate the design and the code improvements from the yatta too.
If you stash any changes in your locally checked out repo, especially to Cargo.lock, this should force the project to compile using the supported version (0.18.0) of windows-rs in the lockfile.
I'll spend some time later doing the upgrade to 0.19.0 and push it to the master branch once I get everything building correctly.
@LGUG2Z commented on GitHub (Aug 22, 2021):
Thank you for the kind words on the design choices and the code! I think most people just come for the tiling, but it's nice when people appreciate the design and the code improvements from the `yatta` too.
Looks like a new version of the `windows-rs` crate was just released ~~with breaking import changes~~ (https://github.com/microsoft/windows-rs/commit/4be4e568fcc38f4a746909bce4f1762d253a2ecd).
If you stash any changes in your locally checked out repo, especially to `Cargo.lock`, this should force the project to compile using the supported version (0.18.0) of `windows-rs` in the lockfile.
I'll spend some time later doing the upgrade to 0.19.0 and push it to the master branch once I get everything building correctly.
I also just pushed a commit bumping the version of window-rs to 0.19.0 which built succesfully against the latest stable toolchain.
Can you share the commit hash that you are building from, the toolchain + rustc version that you are using to build, and the Cargo command that you are building with so that I can try to reproduce this build failure?
@LGUG2Z commented on GitHub (Aug 22, 2021):
@belljames I just tried this out locally and was able to build without any issues on both of the following toolchains:
```
cargo 1.54.0 (5ae8d74b3 2021-06-22) / stable-x86_64-pc-windows-msvc
cargo 1.56.0-nightly (e96bdb0c3 2021-08-17) / nightly-x86_64-pc-windows-msvc
```
I also just pushed a commit bumping the version of `window-rs` to 0.19.0 which [built succesfully](https://github.com/LGUG2Z/komorebi/actions/runs/1155912695) against the latest stable toolchain.
Can you share the commit hash that you are building from, the toolchain + `rustc` version that you are using to build, and the Cargo command that you are building with so that I can try to reproduce this build failure?
Edit: confirmed the above is my setup - cargo 1.54.0 & stable-x86_64-pc-windows-msvc
Updating window-rs to 0.19.0 did the trick.
@belljames commented on GitHub (Aug 22, 2021):
solved! thank you!
Edit: confirmed the above is my setup - cargo 1.54.0 & stable-x86_64-pc-windows-msvc
Updating window-rs to 0.19.0 did the trick.

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @belljames on GitHub (Aug 22, 2021).
Originally assigned to: @LGUG2Z on GitHub.
Hi!
I'm having consistent issues with compiling bindings.
Previously Foundation::POINT was not found in the metadata, now RECT.
Any tips would be greatly appreciated!
Also, this is an elegant redesign of your earlier tiling project. You've made excellent choices and I look forward to what comes. Thank you!
@LGUG2Z commented on GitHub (Aug 22, 2021):
Thank you for the kind words on the design choices and the code! I think most people just come for the tiling, but it's nice when people appreciate the design and the code improvements from the
yattatoo.Looks like a new version of the
windows-rscrate was just releasedwith breaking import changes(https://github.com/microsoft/windows-rs/commit/4be4e568fcc38f4a746909bce4f1762d253a2ecd).If you stash any changes in your locally checked out repo, especially to
Cargo.lock, this should force the project to compile using the supported version (0.18.0) ofwindows-rsin the lockfile.I'll spend some time later doing the upgrade to 0.19.0 and push it to the master branch once I get everything building correctly.
@LGUG2Z commented on GitHub (Aug 22, 2021):
@belljames I just tried this out locally and was able to build without any issues on both of the following toolchains:
I also just pushed a commit bumping the version of
window-rsto 0.19.0 which built succesfully against the latest stable toolchain.Can you share the commit hash that you are building from, the toolchain +
rustcversion that you are using to build, and the Cargo command that you are building with so that I can try to reproduce this build failure?@belljames commented on GitHub (Aug 22, 2021):
solved! thank you!
Edit: confirmed the above is my setup - cargo 1.54.0 & stable-x86_64-pc-windows-msvc
Updating window-rs to 0.19.0 did the trick.