Open kyagloski opened 3 years ago
I would also like to note that I have installed all of the dependecies. Also a strange thing to note is that its trying to interpret a seemingly commented out line, not sure what thats about.
Try CGO_CFLAGS=-I/usr/local/include CGO_LDFLAGS=-L/usr/local/lib go build
Adapt the paths accordingly. The above is assuming that mpv/client.h
is located in /usr/local/include/mpv/client.h
and libmpv.so
is in /usr/local/lib/libmpv.so
What OS or distribution are you using?
Not sure what to do with the stmp-linux-amd64 file in the releases, but I tried compiling and I keep getting a compilation error with the consts.go file in the mpv dependency from yourok.
~# github.com/yourok/go-mpv/mpv ../go/pkg/mod/github.com/yourok/go-mpv@v0.0.0-20160721123233-ecdfd901e332/mpv/consts.go:3:10: fatal error: mpv/client.h: No such file or directory 3 | //#include <mpv/client.h> | ^
~~~~~ compilation terminated.Not sure if you can help or if I should contact yourok to see if he can fix the issue, but please let me know if anything can be done to fix this, I would really like to try stmp for my subsonic server.