Unable to Compile

Hello there again everyone! I had recently attempted installing GTK4 on Windows 64bit; then proceed to use an GLArea to attempt 3D graphics within a GTK window.

Where I am having issues is that I receive:

'error: linking with x86_64-w64-mingw32-gcc failed: exit code: 1
= note: “x86_64-w64-mingw32-gcc” “-fno-use-linker-plugin” “-Wl,–dynamicbase” “-Wl,–disable-auto-image-base” “-m64” “-Wl,–high-entropy-va” “C:\Users\Anthony\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\rsbegin.o”

= help: some extern functions couldn’t be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see Build Scripts - The Cargo Book)

Any ideas? For reference I will post my dependencies as well.


Thanks for the help!


Did you follow the instructions from the gtk4-rs book?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.