BitShares Forum
Other => Graveyard => BitShares PTS => Topic started by: bitcoinerS on December 21, 2013, 08:01:51 pm
-
Trying to build ProtoShares on my Ubuntu x64 machine.
getting this error:
git clone https://github.com/InvictusInnovations/ProtoShares
cd ProtoShares/src
cmake -DCMAKE_BUILD_TYPE=Release
make
...
usr/include/inttypes.h:361:17: error: ‘uintmax_t’ does not name a type
__extern_inline uintmax_t
^
In file included from /home/slava/local/src/ProtoShares/src/script.cpp:15:0:
/home/slava/local/src/ProtoShares/src/main.h:2244:24: error: template argument 1 is invalid
std::vector<int64_t> vTxFees;
^
/home/slava/local/src/ProtoShares/src/main.h:2244:24: error: template argument 2 is invalid
/home/slava/local/src/ProtoShares/src/main.h:2245:24: error: template argument 1 is invalid
std::vector<int64_t> vTxSigOps;
^
/home/slava/local/src/ProtoShares/src/main.h:2245:24: error: template argument 2 is invalid
make[2]: *** [CMakeFiles/protoshares.dir/script.o] Error 1
make[1]: *** [CMakeFiles/protoshares.dir/all] Error 2
make: *** [all] Error 2
-
Try make -f makefile.unix
When this fails check if you installed all dependencies.
-
you should follow doc/readme-qt.rst if building QT frontend
if using ubuntu >=12.04
apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
libssl-dev libdb++-dev libminiupnpc-dev
then
cmake && make -j <cores number + 1>
for eg. core i3 with 2 cores and hyper threading: make -j 5