mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
compile error: Windows.Win32.Foundation.RECT not found in metadata
#18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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(4be4e568fc).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.