no binaries for linux?
anyone knows how to compile?
thanks
I run two instances of cgminer on my hardware, one for CPU and one for GPU.
The reason I do a different build for each is that I had troubles running gpu and cpu from one cgminer instance.
How to compile the gpu cgminer for Nvidia Cuda mining on Ubunut 12.04(and others not tested), minimum card required = Geforce8500GT or Better
If someone knows what libraries I need to use ATI let me know
sudo apt-get install nvidia-opencl-dev nvidia-current-dev nvidia-cuda-dev nvidia-cuda-toolkit
sudo nvidia-xconfig
sudo reboot
A reboot may or may not be necessary with your system.
sudo apt-get install autoconf autogen automake libcurl4-gnutls-dev libncurses5-dev build-essential libtool opencl-headers
git clone https://github.com/ckolivas/cgminer.git cgminer-gpu
cd cgminer-gpu
git checkout 829f0687bfd0ddb0cf12a9a8588ae2478dfe8d99
./autogen.sh --enable-opencl --enable-scrypt
make
I recommend running it from the ~/cgminer-gpu directory, rather than installing two different versions in /usr/bin and different kernels in /usr/local/bin/
If you're mining at HackShardGaming see
http://lot.hackshardgaming.net/public/index.php?page=gettingstartedcd ~/cgminer-gpu
./cgminer-gpu --scrypt -o stratum+tcp://lot.hackshardgaming.net:3333 -u Weblogin.Worker -p Worker password
How to compile the cpu cgminersudo apt-get install autoconf autogen automake libcurl4-gnutls-dev libncurses5-dev build-essential libtool opencl-headers
cd ~
git clone https://github.com/ckolivas/cgminer.git cgminer-cpu
cd cgminer-cpu
git checkout a4e95cfa424084b26a900d3e31f5ec6e5152b70c
./autogen.sh --enable-scrypt --enable-opencl --enable-cpumining
make clean
make
If you're mining in HackShardGaming see
http://lot.hackshardgaming.net/public/index.php?page=gettingstartedcd ~/cgminer-cpu
cgminer-cpu -C -G --scrypt -o stratum+tcp://lot.hackshardgaming.net:3333 -u Weblogin.Worker -p Worker password
How to compile the wallet lottocoin-qtsudo apt-get install git-core qtcreator libdb-dev libzip-dev zlib1g-dev libboost1.48-all-dev libminiupnpc8-dev
# There maybe more libraries I forget, I wrote this how to from memory
cd ~
git clone https://github.com/lottocoin/lottocoin.git
cd lottocoin
nano ./lottocoin-qt.pro
Now scroll almost all the way to the end and comment out three lines, change this...
# -lgdi32 has to happen after -lcrypto (see #681)
windows:LIBS += -lole32 -luuid -lgdi32
LIBS += E:\MinGW\lib\libws2_32.a
LIBS += E:\MinGW\lib\liboleaut32.a
LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX
In to this....
# -lgdi32 has to happen after -lcrypto (see #681)
#windows:LIBS += -lole32 -luuid -lgdi32
#LIBS += E:\MinGW\lib\libws2_32.a
#LIBS += E:\MinGW\lib\liboleaut32.a
LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX
Press the F2 key and Type Y and press enter to save the file
Then run,
qtcreator ./lottocoin-qt.pro
Click finish in the Qtcreator window that starts, and click the little hammer in the lower left of the main Qtcreator window to build.
Barring any missing libraries I may have forgot this should give you a directory in your user's directoy named lottocoin-qt-build-desktop-Qt_4_8_1_in_PATH__System__Release. And inside that directory the binary lottocoin-qt
You'll know it worked if the green play button( triangle on it's side) in the lower left lights up. When it does you can close Qtcreator.
To install it just..
cd ~/lottocoin-qt-build-desktop-Qt_4_8_1_in_PATH__System__Release
sudo cp ./lottocoin-qt /usr/bin/
And run it with
How to compile the wallet lottocoindcd ~
git clone https://github.com/lottocoin/lottocoin.git
cd lottocoin/src
make -f makefile.unix lottocoind
sudo cp ./lottocoind /usr/bin/
It's a rough Howto but I'll smooth it over once I find troubled areas, enjoy
LqTHz3rwNVpXGGxicRsMJYB8qsYhQS3wW7