gtkcord3
gtkcord3 copied to clipboard
Download fails
After using the command go1.15.2 get github.com/diamondburned/gtkcord3, go outputs this error and fails to install gtkcord3
# pkg-config --cflags -- cairo cairo-gobject gobject-2.0
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Package cairo-gobject was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-gobject.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-gobject' found
pkg-config: exit status 1
# github.com/diamondburned/gtkcord3/gtkcord/ningen
../go/src/github.com/diamondburned/gtkcord3/gtkcord/ningen/ningen.go:69:5: cannot use (*ningen.State)(nil) (type *ningen.State) as type Presencer in assignment:
*ningen.State does not implement Presencer (wrong type for Presence method)
have Presence(discord.GuildID, discord.UserID) (*discord.Presence, error)
want Presence(discord.Snowflake, discord.Snowflake) (*discord.Presence, error)
../go/src/github.com/diamondburned/gtkcord3/gtkcord/ningen/ningen.go:82:9: e.ID.Valid undefined (type discord.EmojiID has no field or method Valid)
Any help in getting this to work would be appreciated
Top part of the error has to do with missing dependencies.
Bottom has to do with #97.
What dependency am I missing? I couldn't find a package named cairo with apt, snap, or go
I have cairo and it doesn't build for me either.
go1.15.3 cairo-1.17.2+25+gaee96d175-1
I tried cloning then building it and go getting it but no dice.
should be fixed now.