From a978c2e14adc5cbc87c141e34a8514761892fbfb Mon Sep 17 00:00:00 2001 From: RockSteady <34389545+RocksteadyTC@users.noreply.github.com> Date: Sun, 4 Feb 2018 18:26:40 -0600 Subject: [PATCH] Win10 Build Instructions Contributed by @codingwithredbull --- README.md | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c89825fc69..d3e1ffef27 100755 --- a/README.md +++ b/README.md @@ -14,8 +14,47 @@ This script can be used from inside the git repository to build the project from See the script for more installation details and please consider extending it for your operating system and distribution! + #### Windows 10 -- `TODO: Windows 10 fuckery and magic` + +##### Prerequisites +- Install [Visual Studios 2017 Community Edition](https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15&page=inlineinstall) +- When installing Visual Studios, it is absolutely important you install C++ capabilities, and the vc++ v140 toolchain when selecting features. You will need this for cmake, MSBuild and other commands. +- Install [Boost 1.59.0](https://sourceforge.net/projects/boost/files/boost-binaries/1.59.0/), ensure to download the installer for MSVC 14. + +##### Building + +- Use the start menu or similar to open 'x64 Native Tools Command Prompt for vs2017' command prompt. +- `cd ` +- `mkdir build` +- `cd build` +- `cmake -G "Visual Studio 14 Win64" .. -DBOOST_ROOT=D:/Boost/boost_1_59_0` (Or your boost installed dir.) +- `MSBuild ByteCoin.sln /p:Configuration=Release` +- At this point, this will create a .sln file in the 'build' directory. Open this .sln in Visual Studios 2017 and click 'Build Solution' under the 'Build' Menu Item. +- If all went well, it will complete successfully, and you will find all your binaries in the '..\build\src\Debug' directory, or the '..\build\src\Release' directory if you built with release enabled. + + +#### Apple + +##### Prerequisites + +- Install [cmake](https://cmake.org/). See [here](https://stackoverflow.com/questions/23849962/cmake-installer-for-mac-fails-to-create-usr-bin-symlinks) if you are unable call `cmake` from the terminal after installing. +- Install the [boost](http://www.boost.org/) libraries. Either compile boost manually or run `brew install boost`. +- Install XCode and Developer Tools. + +##### Building + +- `git clone https://github.com/turtlecoin/turtlecoin` +- `cd turtlecoin` +- `mkdir build && cd $_` +- `cmake ..` or `cmake -DBOOST_ROOT= ..` when building + from a specific boost install +- `make` + +The binaries will be in `./src` after compilation is complete. + +#### Thanks +Cryptonote Developers, Bytecoin Developers, Forknote Project, TurtleCoin Community ### Thanks