Name: libtorrent-go
Owner: CoreOS
Description: SWIG Go bindings for libtorrent-rasterbar
Forked from: scakemyer/libtorrent-go
Created: 2016-02-23 21:26:34.0
Updated: 2016-02-23 21:26:35.0
Pushed: 2016-05-04 23:54:52.0
Homepage: null
Size: 224
Language: C++
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Cross-compiled SWIG Go bindings for libtorrent-rasterbar 1.0.8 using Go 1.6.
First, you need a working Go project and Docker
Download libtorrent-go:
et github.com/coreos/libtorrent-go
Build libtorrent-go:
GOPATH/go/src/github.com/coreos/libtorrent-go
[all | android-arm | darwin-x64 | linux-x86 | linux-x64 | linux-arm | windows-x86 | windows-x64 ]
The cross-compilation is done within Docker containers, which are based on github.com/coreos/cross-compiler and on which the libtorrent-rasterbar and Go are compiled. The container images are pulled from Quay.io. You may also rebuild the images by yourself by running:
env
Again, this is totally optionnal and depends on your needs. Note that this could take a long-time. You may specify the PLATFORMS
variable in order to build a subset of the containers.
Import libtorrent-go in your Go project:
rt "github.com/coreos/libtorrent-go"
Built packages will be placed as $GOPATH/pkg/<platform>/libtorrent-go.a
Forked from https://github.com/steeve/libtorrent-go