1. 搭建tracker
https://github.com/chihaya/chihaya 下载后,可以按说明编译出 chihaya.exe ,也可以载入GoLang, 按照编译是的提示,
go get <package> ,安装缺少的依赖包。
运行后,启动
"starting HTTP frontend" addr="0.0.0.0:6969"
“starting UDP frontend" addr="0.0.0.0:6969”
announce接口 http://127.0.0.1:6969/announce udp://127.0.0.1:6969/announce
2. 编译boost
git clone https://github.com/openssl/openssl.git
1. compile openssl
可能需要先安装http://www.nasm.us/pub/nasm/releasebuilds/2.11.02/win32/nasm-2.11.02-installer.exe
copy nasm ndisasm C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
perl Configure VC-WIN32
call ms\do_nasm
这里可以提前修改ms目录下的ntdll.mak文件,把-w3修改为-w0:
CFLAG= /MD /Ox -DOPENSSL_THREADS -DDSO_WIN32