cryptonomex / graphene

MIT License
1.05k stars 337 forks source link

I use ubuntu 16.10. I have builded Boost 1.57.0. There are some errors when "make". Why? And,should I must use Ubuntu 14.04? #680

Open NickyYangYang opened 6 years ago

NickyYangYang commented 6 years ago

In file included from /home/nicky/opt/boost_1_57_0/include/boost/config.hpp:61:0, from /home/nicky/opt/boost_1_57_0/include/boost/container/detail/config_begin.hpp:13, from /home/nicky/opt/boost_1_57_0/include/boost/container/flat_map.hpp:18, from /home/graphene/libraries/fc/include/fc/container/flat_fwd.hpp:2, from /home/graphene/libraries/fc/include/fc/reflect/typename.hpp:10, from /home/graphene/libraries/fc/include/fc/reflect/reflect.hpp:18, from /home/graphene/libraries/fc/include/fc/time.hpp:138, from /home/graphene/libraries/fc/include/fc/log/logger.hpp:3, from /home/graphene/libraries/fc/include/fc/exception/exception.hpp:6, from /home/graphene/libraries/fc/include/fc/uint128.hpp:6, from /home/graphene/libraries/chain/include/graphene/chain/global_property_object.hpp:25, from /home/graphene/libraries/chain/include/graphene/chain/database.hpp:25, from /home/graphene/libraries/chain/db_balance.cpp:25, from /home/graphene/libraries/chain/database.cpp:25: /home/nicky/opt/boost_1_57_0/include/boost/multiprecision/cpp_int.hpp:181:56: error: right operand of shift expression ‘(1u << 63u)’ is >= than the precision of the left operand [-fpermissive] BOOST_STATIC_CONSTANT(limb_type, sign_bit_mask = 1u << (limb_bits - 1));


/home/nicky/opt/boost_1_57_0/include/boost/multiprecision/cpp_int.hpp:401:56: error: right operand of shift expression ‘(1u << 63u)’ is >= than the precision of the left operand [-fpermissive]
    BOOST_STATIC_CONSTANT(limb_type, sign_bit_mask = 1u << (limb_bits - 1));
                                                     ~~~^~~~~~~~~~~~~~~~~~
/home/nicky/opt/boost_1_57_0/include/boost/multiprecision/cpp_int.hpp:548:56: error: right operand of shift expression ‘(1u << 63u)’ is >= than the precision of the left operand [-fpermissive]
    BOOST_STATIC_CONSTANT(limb_type, sign_bit_mask = 1u << (limb_bits - 1));
                                                     ~~~^~~~~~~~~~~~~~~~~~
abitmore commented 6 years ago

This repository is no longer being maintained. Updated doc is here: https://github.com/bitshares/bitshares-core/wiki/BUILD_UBUNTU. Try Ubuntu 16.04 or 14.04, those are LTS versions.

NickyYangYang commented 6 years ago

But I only want to build graphene,not bitshares.