gtkcord3 icon indicating copy to clipboard operation
gtkcord3 copied to clipboard

Download fails

Open flber opened this issue 5 years ago • 4 comments

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

flber avatar Sep 30 '20 20:09 flber

Top part of the error has to do with missing dependencies.

Bottom has to do with #97.

diamondburned avatar Oct 01 '20 02:10 diamondburned

What dependency am I missing? I couldn't find a package named cairo with apt, snap, or go

flber avatar Oct 01 '20 02:10 flber

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.

emmggi avatar Oct 18 '20 17:10 emmggi

should be fixed now.

micwoj92 avatar Nov 03 '20 23:11 micwoj92