Sioro-Neoku / go-peerflix

Go Peerflix
MIT License
470 stars 119 forks source link

error #47

Closed KonoromiHimaries closed 4 years ago

KonoromiHimaries commented 4 years ago
go get github.com/Sioro-Neoku/go-peerflix
# github.com/anacrolix/go-libutp
In file included from ./utp.h:35,
                 from go/src/github.com/anacrolix/go-libutp/callbacks.go:4:
./utp_types.h:56:11: fatal error: netinet/in.h: No such file or directory
  #include <netinet/in.h>
           ^~~~~~~~~~~~~~
compilation terminated.
# github.com/mattn/go-sqlite3
go/src/github.com/mattn/go-sqlite3/backup.go:14:10: fatal error: stdlib.h: No such file or directory
 #include <stdlib.h>
          ^~~~~~~~~~
compilation terminated.
# github.com/anacrolix/upnp
go/src/github.com/anacrolix/upnp/log.go:10:58: cannot use me.Logger (type "github.com/anacrolix/log".Logger) as type *"github.com/anacrolix/log".Logger in argument to "github.com/anacrolix/log".Fmsg(format, args...).AddValue(level).Skip(2).Log
Sioro-Neoku commented 4 years ago

I added go modules support, so > go 1.11 should always build now.