Main Menu

Having a hard time building from source on Ubuntu

Started by bitcoinerS, December 21, 2013, 08:01:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

noobster

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
BTC: 15mey7vTkkvHm4UoZgVEP4Yo3REDpH87KW
PTS: PkzbnN7Nkv6TcqJuNjpcLfmPqpPUphpu5W
drop some =)

arcke

Try make -f makefile.unix

When this fails check if you installed all dependencies.
OpenPGP: 0x22d7e9cc35375665
PTS - PawnbhoiXhmkrKJEPAsCiwkpP81nRXJGTD
Diaspora profile - [url="https://pod.orkz.net/u/arcke"]https://pod.orkz.net/u/arcke[/url]

bitcoinerS

#1
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
>>> approve bitcoiners