cryptonotefoundation / cryptonote

CryptoNote protocol implementation. This is the reference repository for starting a new CryptoNote currency. See /src/cryptonote_config.h
https://cryptonote.org/
991 stars 6.1k forks source link

HOW TO COMPILE ELYACOINWALLET IN WINDOWS AND HOW TO GET .EXE FILE AFTER COMPILATION #291

Open kamuluprashanth opened 6 years ago

kamuluprashanth commented 6 years ago

i am new to compile this project and i clone below repo in my window 7 system

git clone --recurse-submodule https://github.com/elyacoin/elyacoinwallet.git

after that which command i need to run to generate .exe file

please give the commands and solution for this

Thank you

JoshuaPaulBarnard commented 8 months ago

How to Compile a CryptoNote Coin on Windows 10/11

There has been an active issue for over 5 years now when trying to build the source on modern compilers.

Here is how I was able to compile my CryptoNote Coin using Windows 10.
You can also check for any updates to this guide at my blog: https://joshuapaulbarnard.tech.blog/2023/10/04/how-to-compile-a-cryptonote-coin-on-windows-10-11/

I made this guide on Windows 10 in October, 2023.

If you need help compiling on Linux, then you can check my Ubuntu 14/16 guide.

WINDOWS DEPENDENCIES FOR CRYPTONOTE

We are going to build for 64-bit Windows.

Download the Build Tools for Visual Studio 2019 Installer When it opens up select C++ build tools, it automatically selects the needed parts. Make sure MSVC v141 Build Tools is selected. Install Boost v1.71.0. Select the appropriate version for your system. Boost 64-bit

COMPILING CRYPTONOTE ON WINDOWS WITH VS2019

From the start menu, open Developer Command Prompt for VS 2019. cd mkdir build cd build cmake -G "Visual Studio 16 2019" -A x64 .. -DBOOST_ROOT=B:/local/boost_1_71_0 MSBuild CryptoNote.sln /p:Configuration=Release /p:PlatformToolset=v141 /m