Groestlcoin Forum
Groestl => Tutorials => Topic started by: jackielove4u on January 20, 2017, 04:30:49 PM
The following were tested on Windows 10 with Visual Studio 2017 community,
some dependencies can be different in other windows versions
- Download Visual Studio 2017 community from: https://www.visualstudio.com/post-download-vs/?sku=community&clcid=0x409&telem=ga#
- Download https://github.com/Groestlcoin/Windows-libraries/releases/download/1.0/x86_x64_libs.rar
- Download https://github.com/Groestlcoin/Windows-libraries/releases/download/1.0/exe.7z
- Download https://github.com/Groestlcoin/Windows-libraries/releases/download/1.0/qt_libs.7z
- https://github.com/Groestlcoin/Windows-libraries/releases/download/1.0/qt_plugins.7z
- Download QT 5.7.1 from https://download.qt.io/archive/qt/5.7/5.7.1/qt-opensource-windows-x86-msvc2015_64-5.7.1.exe and install it under C:\Qt\Qt5.7.1
- Download Boost 1.63 from https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.7z/download and install it under C:\boost_1_63_0
- Install Visual Studio 2017 with common tools for Visual C++ 2017 and Microsoft Foundation Classes for C++
- Start Visual Studio 2017
- In Team Explorer, open the Connect view.
- Select Clone under Local Git Repositories
- Replace the text "Enter the URL of a GIT repo to clone" with https://github.com/Groestlcoin/groestlcoin
- Chose C:\groestlcoin as path
- Check recursively clone submodules on
- Click clone
- Rightclick on groestlcoin and choose open command prompt
- cd C:\groestlcoin
- mkdir x86_libs
- mkdir x64_libs
- mkdir inc
- extract x86_x64_libs.7z to C:\groestlcoin\
- extract exe.7z to C:\groestlcoin\src\qt
- qt_plugins.7z to C:\groestlcoin\src\qt
- qt_libs.7z to C:\groestlcoin
- copy C:\Qt\Qt5.7.1\5.7\msvc2017_64\bin to C:\groestlcoin\src\qt
- Edit PATH system variable (on environment variables) and add C:\Qt\Qt5.7.1
- Add QT_PATH as system variable (on environment variables) and point it to C:\Qt\Qt5.7.1
- Open MSbuild command prompt
- cd C:\groestlcoin\
- cd inc
- mklink/J boost C:\boost_1_63_0\boost
- cd ..
- cd C:\groestlcoin\src\qt
- msbuild moc.proj
- exit
- copy C:\Qt\Qt5.7.1\5.7\msvc2017_64\include to C:\groestlcoin\inc
- copy C:\Qt\Qt5.7.1\5.7\msvc2017_64\include\QtCore to C:\groestlcoin\inc
- copy C:\Qt\Qt5.7.1\5.7\msvc2017_64\include\QtWidgets\QApplication to C:\groestlcoin\inc
- copy C:\Qt\Qt5.7.1\5.7\msvc2017_64\include\QtGui to C:\groestlcoin\inc
- mklink/J QtCore C:\Qt\Qt5.7.1\5.7\msvc2017_64\include\QtCore
- copy C:\Qt\Qt5.7.1\5.7\msvc2017_64\include\QtNetwork to C:\groestlcoin\inc
- change in stdafx.h #include #include <QtCore> to #include <QtCore/QtCore>
- copy C:\Qt\Qt5.7.1\5.7\msvc2017_64\lib to C:\groestlcoin\inc
- Close Visual Studio 2017 and double click C:\groestlcoin\groestlcoin.sln
- Select "R_St" configuration and one of platforms: x86 or x64
- build