diamondburned / gotktrix

Matrix client in Go and GTK4
GNU Affero General Public License v3.0
313 stars 7 forks source link

Issues during compilation #44

Open based-schizo opened 1 year ago

based-schizo commented 1 year ago

Maybe I'm just being stupid or something but I'm getting errors during compilation, here's what i did:

Install nix: $ curl -L https://nixos.org/nix/install | sh $ . /etc/profile.d/nix.sh $ nix-env --version

Do what it said to do in the readme: go install -v github.com/diamondburned/gotktrix@latest

Run main.go: go run main.go

Here's the error i get:

[troll@Troll-station gotktrix]$ go run main.go command-line-arguments ./main.go:134:35: undefined: manager ./main.go:195:8: undefined: manager [troll@Troll-station gotktrix]$

Again, probably just being an idiot and doing the whole thing wrong lol, so thanks in advance.

diamondburned commented 1 year ago

Drop into the Nix shell first before building: nix-shell.

anthonyanikos commented 1 year ago

hello, how can i run it on windows?

diamondburned commented 1 year ago

https://github.com/diamondburned/gtkcord4/issues/118#issuecomment-1546858773 will help you.