Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Ħ [HODL] Imagine If Your "Swiss" Bitcoin Account Had Compounding Interest.
by
samsmith16
on 27/03/2016, 18:35:37 UTC
any linux familiar folks care to give tip ? i picked up source from hodl.blockquarry.com pool , unfortunately all my makes on ubuntu 14.04 ends up with following :

g++ -DHAVE_CONFIG_H -I.    -Wall -D__STDC_LIMIT_MACROS  -MT hodlminer-hodl.o -MD -MP -MF .deps/hodlminer-hodl.Tpo -c -o hodlminer-hodl.o `test -f 'hodl.cpp' || echo './'`hodl.cpp
In file included from hodl.cpp:1:0:
miner.h:10:21: fatal error: jansson.h: No such file or directory
 #include

any direction what could be issue

The libjansson-dev is missing.

The following command line will install the dependencies and build (it includes the -Ofast flasg recomended by pallas):

sudo apt-get update && sudo apt-get install gcc g++ libjansson-dev make automake autoconf libcurl4-openssl-dev pkg-config yasm libboost1.55-all-dev libssl-dev && wget https://hodl.blockquarry.com/downloads/hodlminer.tar.gz && tar -zxvf hodlminer.tar.gz && cd hodlminer && ./autogen.sh && ./configure CFLAGS="-Ofast -march=native" CXXFLAGS="-Ofast -march=native" && make


This build resulted in 10%-20% more than wallet miner.

CH



Thanx for posting this here I broke it down to lines and added a few things..

Code:
sudo apt-get update
sudo apt-get install gcc g++ make automake autoconf pkg-config libboost-all-dev libssl-dev
sudo apt-get install libcurl4-openssl-dev libjansson-dev
wget https://hodl.blockquarry.com/downloads/hodlminer.tar.gz
tar -zxvf hodlminer.tar.gz
cd hodlminer
./autogen.sh
./configure CFLAGS="-Ofast -march=native" CXXFLAGS="-Ofast -march=native"
make -j
sudo make install
./hodlminer -a hodl -o stratum+tcp://hodl.blockquarry.com:3032 -u Weblogin.WorkerName -p WorkerPassword -t 8

Note the -t is for the number of mining threads you would like to use.. if you omit it completely (remove "-t x") the miner will auto detect the max number of threads..