Post
Topic
Board Beginners & Help
Re: How to compile cgminer on Ubuntu
by
antithetical
on 23/12/2013, 22:39:50 UTC
It depends on your video card, NVIDIA / AMD.

I'm with amd, i'm doing this like:

Code:
git clone https://github.com/ckolivas/cgminer.git
cd cgminer
./autogen.sh --enable-opencl
CFLAGS="-O2 -Wall -march=native -I/opt/AMDAPP/include" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure --enable-opencl
make
./cgminer --url  stratum+tcp://pool --user username --pass password

Read this thread: https://bitcointalk.org/index.php?topic=28402.0

Here kind of How-To: http://www.distrogeeks.com/install-cgminer-latest-ubuntu/2/