-
Notifications
You must be signed in to change notification settings - Fork 47
Building Nevermore
If you would like to build Nevermore from source (whether to remove the dev donation fee, ensure that the binary has not tampered with, or for other reasons), you've come to the right place!
If you're planning on building on Linux, view the INSTALL file in the repository.
-
Get the source code. Either download the .zip or .tar.gz archive from the Release page, or install Git and run:
git clone https://github.com/brian112358/nevermore-miner.git && git checkout linux
-
(Optional) If you're looking to remove the minimum development donation fee, open up
donate.h
and change the line:#define MIN_DEV_DONATE_PERCENT 1
to:
#define MIN_DEV_DONATE_PERCENT 0
-
Install Microsoft Visual Studio 2013 from here. You'll have to make an account to access it.
-
Install CUDA 9.0. Newer versions of CUDA might work, but are untested.
-
Now that we have the prerequisites set up, we're ready to build! There are two ways to do this. You may use either one:
-
Open up the VS2013 Command Prompt and
cd [dir]
, where[dir]
is the path to your Nevermore source code. Then, just runbuild.cmd
from the command prompt. -
Open up
ccminer.sln
using VS2013. Then, make sure the build drop-down menu is set to "Release". You can also select to build for either 32-bit or 64-bit in an adjacent drop-down. Once you're done, selectBuild -> Build Solution
to start the build!
-
-
Either method will take a while (CUDA code takes a long time to compile). Once you're done, the compiled binary
ccminer.exe
will appear in eitherRelease
(32-bit) orx64/Release
(64-bit). Copy this binary to your miner folder, and you're ready to mine!