OK, I have asked vertcoin to include this in the OP (and get it on the website tomorrow maybe), but I thought I'd also post here to give people a head start. Here is a tested "howto" on building the modded cgminer in linux:
For reference, the test build was done on a bare Ubuntu 12.04 LTS which had been freshly installed then updated using:
sudo apt-get update
sudo apt-get upgrade
Contributions of alternative instructions for different distros are appreciated.
First, prepare the necessary dependencies:
sudo apt-get install build-essential git libcurl4-gnutls-dev
Get the modded cgminer:
cd ~/Downloads/
git clone
https://github.com/Bufius/vertminer-gpuGet the main AMD app sdk:
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/and get the ADL SDK
http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/(The ADL SDK is for temp and fan readouts in cgminer)
Manually download the above 2 files into your ~/Downloads/ folder, you cannot wget them because of the way the AMD website works, you'll
have to use a browser and manually download them.
Install the main AMD APP_SDK, make sure to decompress it in a subfolder or it untars in an untidy way:
cd ~/Downloads/
mkdir amd_sdk
mv AMD-APP-SDK-v2.9-lnx64.tgz amd_sdk
cd amd_sdk
tar zxvf AMD-APP-SDK-v2.9-lnx64.tgz
sudo ./Install-AMD-APP.sh
The installer for the APP_SDK seems to break some files, or at least it did during testing. Do the following to fix it:
cd /etc/OpenCL/vendors/
in here are two files amdocl32.icd and amdocl64.icd, you will find their contents (they are just text files) to be "libamdocl32.so" and
"libamdocl64.so" respectively. Edit them to include their full paths, so the contents of amdocl32.icd becomes "/usr/lib32/fglrx/libamdocl32.so"
and the contents of amdocl64.icd becomes "/usr/lib/fglrx/libamdocl64.so"
Make a folder to unzip ADL_SDK into (it unzips in an untidy way otherwise)
mkdir adl
mv ADL_SDK_6.0.zip adl
cd adl
unzip ADL_SDK_6.0.zip
Now copy the headers from the adl sdk into the appropriate folder in the cgminer source:
cd include
cp *.h ~/vertminer-gpu/ADL_SDK
Now we have the build environment ready, so we can:
cd ~/Downloads/vertminer-gpu
and use the included script to build with:
./buildit.sh
You now have a vertminer binary in the vertminer-gpu folder, which you can either copy to your path, or run directly.