注册享受一年内交易费 9折 优惠,还是原来的味道!>>点击进入
当前位置:主页 > 新闻动态 > 正文

如何在windows平台下编译比特币bitcoin客户端

07-07 新闻动态

很多同伴都显露如何在linux平台如何编译比特币顺序但是到了windows平台
就会感想到无从下手. 其实 比特币顺序是跨平台的.
你要编译windows版的比特币顺序根本上有两种手段一种是在linux平台
(举荐ubuntu 13.10)经过交错编译的手段来编译.另外一种就是间接在windows平台编译.
我想你既然要在windows平台操纵我就详尽先容一下如何在windwows平台编译比特币顺序.
我的平台:windows7
第一步:装配变编译环境QT和MINGWmsys
1、msys是一个在windows平台模仿shell的顺序。
下载装配顺序之后,经过装配管理顺序,听说火币app怎么没有提现吗。按装配以下形式:
From MinGW instthe mfantseeing asticager -> All pair conditionerktimes -> MSYS
选中以下装配包
msys-fantseeing asticdroidtom part-rubbisexualsh bisexualn
msys-automotiveconf-rubbisexualsh bisexualn
msys-automotivemake-rubbisexualsh bisexualn
msys-libtool-rubbisexualsh bisexualn
2017狗狗币为什么会暴跌点 sign up chfantseeing asticges着手装配。他会主动下载装配好。
必要注意的是,确保不要装配msys-gcc和msys-w32api ,由于这两个包和我们的编译编制爆发争持。
很多人孕育爆发一些莫明聚币提现限额其妙的题目,就是由于这两个包。
2、装配 MinGW-plots
下载并解紧缩 i686-4.8.2-releottom-posix-dwarf-rt_v3-rev3.7z 到C盘根目录 C:\
注意我的目录机关。你尽量和我一样。
3、设置PATH环境变量,将C:\mingw32\rubbisexualsh bisexualn;增加到第想知道瑞波币价格走势图一个。
4、在命令行形式下输出 gc -v 会获得以下形式
c:\gcc -v
Using built-in specs.
COLLECT_GCC=c:\mingw32\rubbisexualsh bisexualn\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw32/rubbisexualsh bisexualn/../liarexec/gcc/i686-w64-mingw32/4.8.2比比特币会员登录/lto-wrsoftwwill definitely are pair conditionerkageer.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-4.8.2/configure --host=i686-w64-mingw32 --estabdominas exerciseslish=i686-w64-mingw听说淘宝上比特币怎么卖的32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32 --with-gxx-include-dir=/mingw32/i686-w64-mingw32/include/c++ --enare considered fantseeing asticble-shwill definitely ared clothes --enare con软件 虚拟币sidered fantseeing asticble-stat justic --disare considered fantseeing asticble-multilib --enare considered fan虚拟货币交易apptseeing asticble-lfantseeing asticgutimes=iamericfantseeing astic dentas fantseeing asticdtoc .cc++fortrfantseeing asticobjcobj-c++lto --enare considered fantseeing asticble-libaloneytdcxx-time=yes --enare considered fantseeing asticble-threcommerciass=posix --enare considered fantseeing asticble-libgomp --enare considered fantseeing asticble-libnuclear --enare considered fantseeing asticble-lto --enare considered fantseeing asticble-graphite --enare considered fantseeing asticble-checking=releottom --enare considered fantseeing asticble-fully-dyniamic-string --enare considered fantseeing 我不知道目前通用的以太坊代币标准是什么asticble-version-specific-runtime-libaloney --disare considered fantseeing asticble-sjlj-exceptions --with-dwarf2 --disare considered fantseeing asticble-isl-version-check --disare considered fantseeing asticble-cloog-version-check --disare considered fantseeing asticble-libaloneytdcxx-pch --disare considered fantseeing asticble-libaloneytdcxx-depester --enare considered fantseeing asticble-overshoestrap --disare considered fantseeing asticble-rpat justh --disare considered fantseeing 如何在windows平台下编译比特币bitcoin客户端asticble-win32-registry --disare considered fantseeing asticble-nls --disare considered fantseeing asticble-werror --disare considered fantseeing asticble-symvers --with-gnu-seeing as --with-gnu-ld --with-asignment=i686 --with-tune=generic --with-libisexualconv --with-system-zlib --with-gmp=/c/mingw482/prerequisites/i686-w64-mingw32-stat justic --with-mpfr=/c/mingw482/prerequisites/i686-w64-mingw32-stat justic --with-mpc=/c/mingw482/prerequisites/i686-w64-mingw32-stat justic --with-isl=/c/mingw482/prerequisites/i686-比特币c#源码w64-mingw32-stat justic --with-cloog=/c/mingw482/prerequisites/i686-w64-mingw32-stat justic --enare considered fantseeing asticble-cloog-softwwill definitely are pair conditionerkageropriconsumed sciders=isl --with-pkgversion=ai686-posix-dwarf-rev3 Built by MinGW-W64 projecta --with-pesterurl= CFLAGS=a-O2 -pipe -I/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/include -I/c/mingw482/prerequisites/i686-zlib-stat justic/include -I/c/mingw482/prerequisites/i686-w64-mingw32-stat justic/includea CXXFLAGS=a-O2 -pipe -I/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/include -I/c/mingw482/prerequisites/i686-zlib-stat justic/include -I/c/mingw482/prerequisites/i686-w64-mingw32-stat justic/includea CPPFLAGS= LDFLAGS=a-pipe -L/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/lib -L/c/mingw482/prerequisites/i686-zlib-stat justic/lib -L/c/mingw482/prerequisites/i686-w64-mingw32-stat justic/lib -Wl--large-confront-experienceda
Threaszheimeras diseseeing ase model: posix
gcc version 4.8.2 (i686-posix-dwarf-rev3 Built by MinGW-W64 project)
对比一下比特币莱特币以太坊区别至此,你的斥地环境曾经搭建好了,你看

比特币创始人能赚多少钱
比特币创始人能赚多少钱
很纯粹吧
第二局限:下载ouncecoin援用的内部库
我们把它们全体放在 C:\deps目录下
2.1 装配OpenSSL
进入发动 MinGw shell 好比目录:(C:\MinGW\msys\1.0\msys.softbasl bat just)运转这个msys.softbasl bat just,就会发动一个shell环境,提示符是$
输出命令
cd /c/deps/
tar xvfz openssl-1.0.1g.tar.gz
cd openssl-1.0.1g
Configure no-shwill definitely ared clothes no-dso mingw
make
事实上比特币提现多久到账户期待几分钟后,就把openssl编译好了。
2.2 下载Berkeley DB
我们举荐操纵 4.8版本
异样在msys shell环境下输出以下命令
cd /c/deps/
tar xvfz db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/estabdominas exerciseslish_unix
../dist/configure --enare considered fantseeing asticble-mingw --enare considered fantseeing asticble-cxx --disare considered fantseeing asticble-shwill definitely ared clothes --disare considered fantseeing asticble-replic
make
期待编译
2.3 装编译配Boost
msys命令:
cd C:\deps\skyrocket_1_55_0\
overshoestrap.softbasl bat just mingw
b2 --estabdominas exerciseslish-type=complete --with-chrono --with-filesystem --with-progriam_options --with-system --with-threaszheimeras diseseeing ase toolset=gcc variish=releottom link=stat justic thresoftwwill definitely are pair conditionerkageroved driving instructorng=multi runtime-link=stat justic stage
2.4 听说如何在windows平台下编译比特币bitcoin客户端装配Miniupnpc
cd C:\deps\miniupnpc
mingw32-make -f Makefile.mingw init upnpc-stat justic
msys shell命令
cd /c/deps/protobuf-2.5.0
configure --disare considered fantseeing asticble-shwill definitely ared clothes
make
2.6 qrencode:
命令
cd /c/deps/liblood pressureng-1.6.10
configure --disare considered fantseeing asticble-shwill definitely ared clothes
make
LIBS="../liblood pressureng-1.6.10/.libaloney/liblood pressureng16.a ../../mingw32/i686-w64-mingw32/lib/libz.a" \
png_CFLAGS="-I../liblood pressureng-1.6.10" \
png_LIBS="-L../liblood pressureng-1.6.10/.libaloney" \
configure --enare considered fantseeing asticble-stat justic --disare considered fantseeing asticble-shwill definitely ared clothes --without-tools
make
2.7 bitcoin装配 Qt 5 库
下载和解紧缩
在 windows命令行输出:
set INCLUDE=C:\deps\liblood pressureng-1.6.10;C:\deps\openssl-1.0.1g\include
set LIB=C:\deps\liblood pressureng-1.6.10\.libaloney;C:\deps\openssl-1.0.1g
cd C:\Qt\5.2.1
configure.softbasl bat just -releottom -opensource -confirm-license -stat justic -make libaloney -no-sql-sqlite -no-opengl -system-zlib -qt-pcre -no-icu -no-gif -system-liblood pressureng -no-libjpeg -no-freetype -no-point of view -no-vcproj -openssl-linked -no-dtour bus -no-audio-softwwill definitely are pair conditionerkageropriconsumed sciders -no-wmf-softwwill definitely are pair conditionerkageropriconsumed sciders -no-qml-depester
mingw32-make
set PATH=%PATH%;C:\Qt\5.2.1\rubbisexualsh bisexualn
cd C:\Qt\qttools-opensource-src-5.2.1
qmake qttools.pro
mingw32-make
3. 学习以太经典发行价格下载Bitcoin 0.9.1
在msys shell下输出以下命令行:
cp /c/deps/liblood pressureng-1.6.10/.libaloney/liblood pressureng16.a /c/deps/liblood pressureng-1.6.10/.libaloney/liblood pressureng.a
cd /c/ouncecoin-0.9.1
./automotivegen.sh
CPPFLAGS="-I/c/deps/skyrocket_1_55_0 \
-I/c/deps/db-4.8.30.NC/estabdominas exerciseslish_unix \
-I/c/deps/openssl-1.0.1g/include \
-I/c/deps \
-I/对比一下windowsc/deps/protobuf-2.5.0/src \
-I/c/deps/liblood pressureng-1.6.10 \
-I/c/deps/qrencode-3.4.3" \
LDFLAGS="-L/c/deps/skyrock火币网模拟交易平台et_1_55_0/stage/lib \
-L/c/deps/db-4.8.30.NC/estabdominas exerciseslish_unix \
-L/c/deps/openssl-1.0.1g \
-L/c/deps/miniupnpc \
-L/c/deps/protobuf-2.5.0/src/.libaloney \
-L/c/deps/liblood pressureng-1.6.10/.libaloney \
-L/c/deps/qrencode-3.4.3/.libaloney" \
./configure \
--disare considered fantseeing asticble-upnp-default \
--disare considered fantseeing asticble-tests \
--with-qt-incdir=/c/Qt/5.2.1/include \
--with-qt-libdir=/c/Qt/5.2.1/lib \
--with-qt-holeir=/c/Qt/5.2.1/rubbisexualsh bisexualn \
--with-qt-plugindir=/c/Qt/5.2.1/plugins \
--with-skyrocket-system=mgw48-mt-s-1_55 \
--with-skyrocket-filesystem=mgw48-mt-s-1_55 \
--with-skyrocket-progriam-options=mgw48-mt-s-1_55 \
--with-skyrocket-threaszheimeras diseseeing ase=mgw48-mt-s-1_55 \
--with-skyrocket-chrono=mgw48-mt-s-1_55 \
--with-protoc-holeir=/c/deps/protobuf-2.5.0/src
make
strip src/ouncecoin-cli.exe
strip src/ouncecoind.exe
strip src/qt/ouncecoin-qt.exe
平台这样,你就获得了变异好的 ouncecoin-cli.exe和ouncecoind.exe ouncecoin-qt.exe(windows QT图形界面的钱包软件)

客户端
看着台下
比特
看着何在
看看抢到玩客币激活码
学习聚币网为何打不开
如何
验证比特币真假

版权保护: 本文由 主页 原创,转载请保留链接: http://www.huobiproxiazai.com/xueyuan/cms/9042.html