Instructions complements of OvErLoAd


Compiling Consominer on Linux –

# Install dependencies

sudo apt-get update

sudo apt-get install unzip -y

sudo apt-get install binutils -y

sudo apt-get install gcc-multilib g++-multilib -y

sudo apt-get install build-essential -y

sudo apt-get install gtk2.0 -y

# (If asked, select “Manual Symlink setting” )

# Install Lazarus and FPC

wget https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.0/fpc-src_3.2.2-210709_amd64.deb

sudo dpkg -i fpc-src_3.2.2-210709_amd64.deb

wget https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.0/fpc-laz_3.2.2-210709_amd64.deb

sudo dpkg -i fpc-laz_3.2.2-210709_amd64.deb

wget https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.0/lazarus-project_2.2.0-0_amd64.deb

sudo dpkg -i lazarus-project_2.2.0-0_amd64.deb

# Clone into miner and build

git clone https://github.com/Noso-Project/consominer.git

cd consominer

cd Packages

sudo unzip Indy10.zip

cd ..

lazbuild -qqq Packages/Indy10/indylaz.lpk

lazbuild -B –bm=”Release” “consominer.lpi”

# Run miner using “./consominer”

./consominer


Compiling Consominer on Windows –

Download fpcupdeluxe for Windows from –

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/v2.2.0h/fpcupdeluxe-x86_64-win64.exe

Install by double clicking the .exe.

A new icon called “Lazarus” should be on your Desktop.

Run Lazarus and goto “Package – Install/Unintsall Packages” –

In the “Available for installation” filter box, type “Indy” –

Select “Indylaz” from the menu underneath the search box and then select “Install Selection”

Lazarus will install Indy and may restart or need restarting.

Download Consominer source code from here –

https://github.com/Noso-Project/consominer/archive/refs/tags/v0.68.zip

Unzip to a location that is easy to find (I use Desktop)

Open Lazarus if it does not restart and select the following –

Browse to where you unzipped the Consominer source code

Select “consominer.lpi” then click “Open”

Select “Run” from the top menu, then select “Compile”

If successful, if should say something like this –

Now, in your Consominer source code directory, you should have a new file called “consominer.exe”

That’s it, now you can run consominer.exe and input your address, pool (if you want to use one, Mainnet if you don’t) and the number of CPU threads you want to use.