Post
Topic
Board Announcements (Altcoins)
Re: [BBR] Boolberry: Privacy and Security - Guaranteed Since 2014
by
skygonga
on 25/02/2019, 05:36:59 UTC
[ 51%] Building CXX object src/CMakeFiles/wallet.dir/wallet/wallet2.cpp.o
In file included from /root/boolberry/contrib/epee/include/misc_log_ex.h:54:0,
                 from /root/boolberry/contrib/epee/include/include_base_utils.h:31,
                 from /root/boolberry/src/wallet/wallet2.cpp:10:
/root/boolberry/contrib/epee/include/os_defenitions.h:34:5: warning: "_WIN32" is not defined [-Wundef]
 #if _WIN32 || _WIN64
     ^
/root/boolberry/contrib/epee/include/os_defenitions.h:34:15: warning: "_WIN64" is not defined [-Wundef]
 #if _WIN32 || _WIN64
               ^
In file included from /root/boolberry/contrib/epee/include/net/http_client.h:42:0,
                 from /root/boolberry/src/wallet/core_default_rpc_proxy.h:8,
                 from /root/boolberry/src/wallet/wallet2.h:23,
                 from /root/boolberry/src/wallet/wallet2.cpp:13:
/root/boolberry/contrib/epee/include/gzip_encoding.h: In constructor ‘epee::net_utils::content_encoding_gzip::content_encoding_gzip(epee::net_utils::i_target_handler*, bool, int)’:
/root/boolberry/contrib/epee/include/gzip_encoding.h:59:8: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
    int ret = 0;
        ^
In file included from /usr/local/include/boost/integer.hpp:23:0,
                 from /usr/local/include/boost/archive/basic_binary_oprimitive.hpp:41,
                 from /usr/local/include/boost/archive/binary_oarchive_impl.hpp:22,
                 from /usr/local/include/boost/archive/binary_oarchive.hpp:21,
                 from /root/boolberry/src/wallet/wallet2.cpp:6:
/usr/local/include/boost/variant/get.hpp: In instantiation of ‘typename boost::add_reference::type boost::strict_get(const boost::variant&) [with U = const currency::txout_to_key&; T0 = currency::txout_to_script; TN = {currency::txout_to_scripthash, currency::txout_to_key}; typename boost::add_reference::type = const currency::txout_to_key&]’:
/usr/local/include/boost/variant/get.hpp:299:33:   required from ‘typename boost::add_reference::type boost::get(const boost::variant&) [with U = const currency::txout_to_key&; T0 = currency::txout_to_script; TN = {currency::txout_to_scripthash, currency::txout_to_key}; typename boost::add_reference::type = const currency::txout_to_key&]’
/root/boolberry/src/wallet/wallet2.cpp:1103:75:   required from here
/usr/local/include/boost/variant/get.hpp:229:5: error: static assertion failed: boost::variant does not contain specified type U, call to boost::get(const boost::variant&) will always throw boost::bad_get exception
     BOOST_STATIC_ASSERT_MSG(
     ^
make[3]: *** [src/CMakeFiles/wallet.dir/wallet/wallet2.cpp.o] Error 1
make[3]: Leaving directory `/root/boolberry/build/release'
make[2]: *** [src/CMakeFiles/wallet.dir/all] Error 2
make[2]: Leaving directory `/root/boolberry/build/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/boolberry/



V0.3.0.90 Compile error! The previous version can be compiled normally!
What boost version are you using? You probably have to install/build on fresh boost version.




Thank you!

After updating boost1.58, there are new problems in the compilation.