Hello.c shared library error

Hi!

I am newbie to gtk, I have installed gtk4 in the msys2/mingw environment, I have compiled the hello.c program provided by the gtk webpage, and it compiles and link apparently fine, but an error
happened, see below the compile and run steps.

$ gcc -o hello hello.c pkg-config --cflags --libs gtk4

gerardo@Gerardo-Pavilion MSYS ~/Programming/hello
$ ./hello
C:/msys64/home/gerardo/Programming/hello/hello.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

What is wrong?

best regards,
Gerardo

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