Skip to content
Brian Lee edited this page Mar 29, 2018 · 1 revision

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.

Building on Windows

  1. 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

  2. (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

  3. Install Microsoft Visual Studio 2013 from here. You'll have to make an account to access it.

  4. Install CUDA 9.0. Newer versions of CUDA might work, but are untested.

  5. 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:

    1. Open up the VS2013 Command Prompt and cd [dir], where [dir] is the path to your Nevermore source code. Then, just run build.cmd from the command prompt.

    2. 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, select Build -> Build Solution to start the build!

  6. 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 either Release (32-bit) or x64/Release (64-bit). Copy this binary to your miner folder, and you're ready to mine!

Clone this wiki locally