diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.17k stars 38 forks source link

Cannot build: could not determine kind of name for C.AdwAboutWindowClass #280

Closed squeaktoy closed 1 month ago

squeaktoy commented 1 month ago

Here's the command I ran:

$ go install -v libdb.so/dissent@latest
github.com/diamondburned/gotk4-adwaita/pkg/adw
# github.com/diamondburned/gotk4-adwaita/pkg/adw
gotk4-adwaita/pkg@v0.0.0-20240107232253-5f283b5d35bc/adw/adw-about-window.go:22:10: could not determine kind of name for C.AdwAboutWindowClass

This error is the same as in #186 but the solution in that issue does not solve this one, so this one might have a different cause.

I have libadwaita 1.4.4 installed on Gentoo with the introspection and vala useflags enabled.

squeaktoy commented 1 month ago

I just realized I had a lot of libadwaita cruft in /usr/local so I removed that and it fixed my build issue.