TransWikia.com

Problem building release-v0.16

Monero Asked by Mooooo on August 24, 2021

I can build release-v0.15 perfectly.
However, when I change to branch v0.16 and try to build it, it failed every time.
Can anyone give me some advice to solve it? Thanks!

[ 36%] Building CXX object src/checkpoints/CMakeFiles/obj_checkpoints.dir/checkpoints.cpp.o
/media/test/monero/src/checkpoints/checkpoints.cpp: In member function ‘uint64_t cryptonote::checkpoints::get_max_height() const’:
/media/test/monero/src/checkpoints/checkpoints.cpp:138:103: error: ‘boost::placeholders’ has not been declared
                          ( boost::bind(&std::map< uint64_t, crypto::hash >::value_type::first, boost::placeholders::_1) <
                                                                                                       ^
/media/test/monero/src/checkpoints/checkpoints.cpp:139:103: error: ‘boost::placeholders’ has not been declared
                            boost::bind(&std::map< uint64_t, crypto::hash >::value_type::first, boost::placeholders::_2 ) ) );
                                                                                                       ^
src/checkpoints/CMakeFiles/obj_checkpoints.dir/build.make:62: recipe for target 'src/checkpoints/CMakeFiles/obj_checkpoints.dir/checkpoints.cpp.o' failed
make[3]: *** [src/checkpoints/CMakeFiles/obj_checkpoints.dir/checkpoints.cpp.o] Error 1
make[3]: Leaving directory '/media/test/monero/build/Linux/release-v0.16/release'
CMakeFiles/Makefile2:1241: recipe for target 'src/checkpoints/CMakeFiles/obj_checkpoints.dir/all' failed
make[2]: *** [src/checkpoints/CMakeFiles/obj_checkpoints.dir/all] Error 2
make[2]: Leaving directory '/media/test/monero/build/Linux/release-v0.16/release'
Makefile:138: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/media/test/monero/build/Linux/release-v0.16/release'
Makefile:102: recipe for target 'release-all' failed
make: *** [release-all] Error 2

One Answer

You either need to upgrade boost or use this PR: https://github.com/monero-project/monero/pull/6612

An earlier PR got merged that broke boost compatibility.

Correct answer by jtgrassie on August 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP