Author Topic: Having a hard time building from source on Ubuntu  (Read 2511 times)

0 Members and 1 Guest are viewing this topic.

Offline noobster

  • Jr. Member
  • **
  • Posts: 35
  • cryptocurrencies vs. fed
    • View Profile
Re: Having a hard time building from source on Ubuntu
« Reply #3 on: December 22, 2013, 11:03:48 am »
you should follow doc/readme-qt.rst if building QT frontend

if using ubuntu >=12.04
Code: [Select]
    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
Code: [Select]
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 =)

Offline arcke

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • Diaspora
Re: Having a hard time building from source on Ubuntu
« Reply #2 on: December 22, 2013, 02:03:16 am »
Try make -f makefile.unix

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

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
Having a hard time building from source on Ubuntu
« Reply #1 on: December 21, 2013, 08:01:51 pm »
Trying to build ProtoShares on my Ubuntu x64 machine.

getting this error:

Code: [Select]
git clone https://github.com/InvictusInnovations/ProtoShares

cd ProtoShares/src

cmake -DCMAKE_BUILD_TYPE=Release
make


Code: [Select]
...
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
« Last Edit: December 21, 2013, 08:06:01 pm by bitcoinerS »
>>> approve bitcoiners