BitShares Forum

Main => Technical Support => Topic started by: clayop on June 27, 2015, 05:34:30 am

Title: Compiling Error (Graphene)
Post by: clayop on June 27, 2015, 05:34:30 am
Any ideas?

Code: [Select]
[ 59%] Building CXX object libraries/chain/CMakeFiles/graphene_chain.dir/type_id.cpp.o
In file included from /home/clayop/graphene/libraries/chain/include/graphene/chain/witness_schedule_object.hpp:25:0,
                 from /home/clayop/graphene/libraries/chain/type_id.cpp:16:
/home/clayop/graphene/libraries/chain/include/graphene/chain/witness_scheduler_rng.hpp: In member function ‘uint64_t graphene::chain::hash_ctr_rng<HashClass, SeedLength>::operator()(uint64_t)’:
/home/clayop/graphene/libraries/chain/include/graphene/chain/witness_scheduler_rng.hpp:89:29: error: ‘find_msb’ is not a member of ‘boost::multiprecision::detail’
          uint8_t bitcount = boost::multiprecision::detail::find_msb( bound ) + 1;
                             ^
make[2]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/type_id.cpp.o] Error 1
make[1]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/all] Error 2
make: *** [all] Error 2
Title: Re: Compiling Error (Graphene)
Post by: puppies on June 27, 2015, 05:36:55 am
Have you upgraded boost?
Title: Re: Compiling Error (Graphene)
Post by: clayop on June 27, 2015, 05:42:20 am
Have you upgraded boost?

How to upgrade? Ubuntu 14.04
Title: Re: Compiling Error (Graphene)
Post by: puppies on June 27, 2015, 05:46:17 am
Have you upgraded boost?

How to upgrade? Ubuntu 14.04

 https://github.com/cryptonomex/graphene/wiki/build-ubuntu (https://github.com/cryptonomex/graphene/wiki/build-ubuntu)

Code: [Select]
wget -c 'http://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1_57_0.tar.bz2/download'
tar -xf download
cd boost_1_57_0/
./bootstrap.sh --prefix=/usr/local/
./b2 install
Title: Re: Compiling Error (Graphene)
Post by: clayop on June 27, 2015, 07:17:24 am
Yes but still got the same error. Upgraded to 15.04 and solved. Thanks! :D