gtk-rs / gtk3-rs

Rust bindings for GTK 3
https://gtk-rs.org
MIT License
508 stars 90 forks source link

[BUG] Since pkg-config was added for build, it doesn't look anymore in current folder #666

Closed GuillaumeGomez closed 2 years ago

GuillaumeGomez commented 2 years ago

I precise the bug is on windows. Until now, I simply pasted the .dll files into my current directory (but I think it only matters for running the program, not building it) and then built it using cargo build --release and that was it. However, after I updated my gtk-rs version, it's not finding the libraries anymore...

I think the problem is on pkg-config but just in case, opening in here.

sdroege commented 2 years ago

This is expected behaviour. Finding GTK/etc libraries has to be done via pkg-config, not randomly from the current directory.