I have started programming in Rust recently and I love it <3.
I want to make a small desktop application with Rust and GTK. I am on a Windows machine, but I am facing a problem while setting up my environment.
I followed these tutorials:
I implemented the code. I am MSYS2 as GTK deliverant. I followed these tutorials step by step, but when I try to compile the code, I get the following error message:
"Failed to run `"pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.44"`: The System cant find the given file. (os error 2)"
My project working directory looks like this:
. project
├─ Cargo.lock
├─ Cargo.toml
├─ src/
│ └─ main.rs
└─ target/
I've currently not set the MSYS2 Directory as PATH variable. I've tried this before but with no result.
Does anyone have an idea on how to solve it?