Hi. I'm using an OpenSUSE Tumbleweed system and I'm on Gnome.
When I'm trying to crystal run gtk_hello_world.cr command, I get this kind of error:
samples ) LANG=C crystal run gtk_hello_world.cr
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: cannot find -lgirepository-1.0 (this usually means you need to install the development package for libgirepository-1.0)
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o '/home/emre/.cache/crystal/home-emre-Genel-Crystal-crystal-gobject-samples-lib-gobject-generator-build_namespace.cr/macro_run' -rdynamic -L/usr/bin/../lib64/crystal/lib -lgirepository-1.0 -lgobject-2.0 -lglib-2.0 -lpcre -lm -lgc -lpthread -levent -lrt -ldl`
However, the "girepository-1_0" and "libgirepository-1_0-1" packages are installed in my system.
Hi. I'm using an OpenSUSE Tumbleweed system and I'm on Gnome.
When I'm trying to
crystal run gtk_hello_world.cr
command, I get this kind of error:However, the "girepository-1_0" and "libgirepository-1_0-1" packages are installed in my system.