pauloo27/tuner

Go get fails to install/get tuner

pinpox opened this issue · 1 comments

Hey,

I wanted to try out tuner but go get fails, I think some test ist broken?

▸ go get github.com/Pauloo27/tuner
# github.com/Pauloo27/tuner/player/mpv
.go/src/github.com/Pauloo27/tuner/player/mpv/consts.go:3:10: fatal error: mpv/client.h: No such file or directory
    3 | //#include <mpv/client.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
# github.com/Pauloo27/tuner/search
.go/src/github.com/Pauloo27/tuner/search/soundcloud.go:21:30: too many arguments in call to soundcloudapi.New
	have (string, *http.Client)
	want (soundcloudapi.APIOptions)
# github.com/Pauloo27/tuner/player/mpv
../../.go/src/github.com/Pauloo27/tuner/player/mpv/procaddr.go:45:11: fatal error: GL/glx.h: No such file or directory
   45 |  #include <GL/glx.h>
      |           ^~~~~~~~~~
compilation terminated.

Hello.

It looks like you don't have libmpv installed. What OS are you using and how have you installed MPV?

The SoundCloud-API issue happened because go get ignored the version in the go.mod. Anyway, I've upgraded the API to the newest version.

I recommend you to follow the compile instructions.