• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

bench_bitcoin/H29-Apr-2020-220219

bitcoin-cli/H29-Apr-2020-177176

bitcoin-tx/H29-Apr-2020-180179

bitcoin-wallet/H29-Apr-2020-198197

bitcoind/H29-Apr-2020-188187

libbitcoin_cli/H29-Apr-2020-159158

libbitcoin_common/H29-Apr-2020-171170

libbitcoin_crypto/H29-Apr-2020-154153

libbitcoin_qt/H29-Apr-2020-1,0551,050

libbitcoin_server/H29-Apr-2020-162162

libbitcoin_util/H29-Apr-2020-177176

libbitcoin_wallet/H29-Apr-2020-163162

libbitcoin_wallet_tool/H29-Apr-2020-163162

libbitcoin_zmq/H29-Apr-2020-163162

libbitcoinconsensus/H29-Apr-2020-195195

libleveldb/H29-Apr-2020-203202

libsecp256k1/H29-Apr-2020-158157

libunivalue/H29-Apr-2020-161160

msbuild/tasks/H29-Apr-2020-5352

test_bitcoin/H29-Apr-2020-212211

test_bitcoin-qt/H29-Apr-2020-147146

testconsensus/H29-Apr-2020-224211

.gitignoreH A D29-Apr-2020108 1211

README.mdH A D29-Apr-20202.1 KiB5035

bitcoin.slnH A D29-Apr-202016 KiB214213

bitcoin_config.hH A D29-Apr-202012.2 KiB425104

common.init.vcxprojH A D29-Apr-20201.3 KiB1412

common.vcxprojH A D29-Apr-20201.7 KiB3130

libsecp256k1_config.hH A D29-Apr-2020910 3020

msvc-autogen.pyH A D29-Apr-20202.2 KiB6552

README.md

1Building Litecoin Core with Visual Studio
2========================================
3
4Introduction
5---------------------
6Solution and project files to build the Litecoin Core applications (except Qt dependent ones) with Visual Studio 2017 can be found in the build_msvc directory.
7
8Building with Visual Studio is an alternative to the Linux based [cross-compiler build](https://github.com/litecoin-project/litecoin/blob/master/doc/build-windows.md).
9
10Dependencies
11---------------------
12A number of [open source libraries](https://github.com/litecoin-project/litecoin/blob/master/doc/dependencies.md) are required in order to be able to build Litecoin.
13
14Options for installing the dependencies in a Visual Studio compatible manner are:
15
16- Use Microsoft's [vcpkg](https://docs.microsoft.com/en-us/cpp/vcpkg) to download the source packages and build locally. This is the recommended approach.
17- Download the source code, build each dependency, add the required include paths, link libraries and binary tools to the Visual Studio project files.
18- Use [nuget](https://www.nuget.org/) packages with the understanding that any binary files have been compiled by an untrusted third party.
19
20The external dependencies required for the Visual Studio build are (see the [dependencies doc](https://github.com/litecoin-project/litecoin/blob/master/doc/dependencies.md) for versions):
21
22- Berkeley DB,
23- OpenSSL,
24- Boost,
25- libevent,
26- ZeroMQ
27
28Additional dependencies required from the [bitcoin-core](https://github.com/bitcoin-core) github repository are:
29- SECP256K1,
30- LevelDB
31
32Building
33---------------------
34The instructions below use `vcpkg` to install the dependencies.
35
36- Clone `vcpkg` from the [github repository](https://github.com/Microsoft/vcpkg) and install as per the instructions in the main README.md.
37- Install the required packages (replace x64 with x86 as required):
38
39```
40    PS >.\vcpkg install --triplet x64-windows-static boost-filesystem boost-signals2 boost-test libevent openssl zeromq berkeleydb secp256k1 leveldb
41```
42
43- Use Python to generate *.vcxproj from Makefile
44
45```
46    PS >python msvc-autogen.py
47```
48
49- Build in Visual Studio.
50