Open thesavannahmine opened 3 years ago
Install other version of libboost maybe, but i think you have already completed that problem since 9 may 😜
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.
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
From the start menu, open Developer Command Prompt for VS 2019.
cd
fatal error: boost/program_options/parsers.hpp: No such file or directory 10 | #include <boost/program_options/parsers.hpp> | ^
~~~~~~~~~~ compilation terminated. make[2]: [src/CMakeFiles/Common.dir/build.make:104: src/CMakeFiles/Common.dir/Common/CommandLine.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:479: src/CMakeFiles/Common.dir/all] Error 2 make: *** [Makefile:101: all] Error 2How do I fix this?