Closed Vazgen005 closed 9 months ago
Check your libadwaita version and make sure it's at least v1.2 or later.
Now i getting another error log:
vaz005@VazPC:~$ apt list | grep libadwaita
libadwaita-1-0/jammy-updates,now 1.1.7-0ubuntu0.22.04.1 amd64 [installed]
libadwaita-1-dev/jammy-updates 1.1.7-0ubuntu0.22.04.1 amd64
libadwaita-1-doc/jammy-updates 1.1.7-0ubuntu0.22.04.1 all
libadwaita-1-examples/jammy-updates 1.1.7-0ubuntu0.22.04.1 amd64
libadwaitaqt-dev/jammy 1.4.1-1 amd64
libadwaitaqt1/jammy 1.4.1-1 amd64
libadwaitaqtpriv1/jammy 1.4.1-1 amd64
vaz005@VazPC:~$ go install -v github.com/diamondburned/gtkcord4@latest
github.com/diamondburned/gotk4-adwaita/pkg/adw
# pkg-config --cflags -- libadwaita-1
Package libadwaita-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libadwaita-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libadwaita-1' found
pkg-config: exit status 1
vaz005@VazPC:~$
@Vazgen005 You need libadwaita-1-dev
installed to compile
Also, you'll probably need to upgrade your Ubuntu installation, as 22.04, has libadwaita only up to version 1.1.7.
If you just want to use gtkcord, then you'd be better off using Flatpak: https://flathub.org/apps/so.libdb.gtkcord4
Ok, i just installed app with flatpack. Thank you for help!
I have libadwaita 1.4.4 and I also get go/pkg/mod/github.com/diamondburned/gotk4-adwaita/pkg@v0.0.0-20240107232253-5f283b5d35bc/adw/adw-about-window.go:22:10: could not determine kind of name for C.AdwAboutWindowClass
I'm also on Gentoo, so this -dev package stuff is not relevant to me.
log: