Closed Hyijun closed 4 years ago
That means that the GTK version you're using is too old. gtk_places_open_flags_get_type
was added with 3.10, which is much older than the minimum supported version 3.14. gtk_gesture_long_press_get_type()
was added with 3.14, as were the others.
As it didn't fail compiling earlier with a version error this means also that you're pkg-config is not correctly configured and it goes into some magic fallback path that usually fails.
I tried to use the example code and compile the project, rustc threw an error that gtk codes used some undefined references. However, the code analysis of the IDE told me that the code is no problem. The version of Rust toolchain I use is
stable-x86_64-pc-windows-gnu
. I also triednightly-x86_64-pc-windows-gnu
, but it didnt work as well. Below is the error message:Is it because I didn't reference some necessary crates?