- Embarcadero Dev-C++ 6.3 https://github.com/Embarcadero/Dev-Cpp/releases/tag/v6.3
- TDM-GCC 9.2.0 https://jmeubank.github.io/tdm-gcc/articles/2020-03/9.2.0-release
-
Download and unzip Boost 1.74.0 (1.75.0 has build system broken and fails to produce a version compatible with TDM-GCC) https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.zip
-
Build Boost thread library with TDM-GCC
-
Add TDM-GCC bin folder to PATH. This is the folder where gcc.exe and g++.exe reside, for me this folder is C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\bin
-
Check that the right version of gcc will be used, since you may have several of them installed. Go to boost root folder (the one that contains bootstrap.bat ) and execute gcc.exe --version Expected output: gcc.exe (tdm64-1) 9.2.0
-
Bootstrap Boost build system with the following command: bootstrap.bat gcc
-
Build the library with b2 toolset=gcc link=static --with-thread This command only builds thread library which is required to build rhminer further on. There is no problem to have other Boost libaries built at the same system before or after this step and for whatever reasons.
-
Check that the file boost_1_74_0\stage\lib\libboost_thread-mgw9-mt-x64-1_74.a exists Note that it is OK if there are other files at the same location or other instances of the same file at other folders
-
-
Build jsoncpp library with Dev-C++\TDM-GCC (the project file is at rhminer\jsoncpp-1.8.0\makefiles\Dev-CPP\jsoncpp.dev)
-
Open either release or debug versions of rhminer projects (rhminer\rhminer.dev or rhminer\rhminer-debug.dev)
-
Select "Project\Project Option" menu item, follow to "Parameters" tab and check "Linker" area. Three items there should provide correct paths to the libraries required. If your configuration is different please fix it as required.
-
Compile and enjoy. There should be single warning during build regarding a call strncat to at Global.cpp. If you see more something went wrong.
- rhminer.dev is configured to support CPU mining only. CUDA and OpenCL mining will work, but it requires porting of respective libraries to Dev-CPP\TDM-GCC environment.