BCP Not Building It Contains Deprecated Methods
I am having issues building tools/bcp (running bootstrap then build command, 'b2 threading=multi address-model=64 tools/bcp'). The builds fail because several files still contain deprecated methods. It looks like this issue was addressed in a pull request, github.com/boostorg/bcp/pull/18/files, back in April, but for some reason this looks like it didn't make it into the release for 1.85 or 1.86. Is there a fix for this?
I am facing the same issue as described by Bowen. I tested it on the Boost 1.86 Release. Here are the logs with error messages: boost_1_86_build.log.
Does anyone know when this issue will be resolved? Is there a plan to include a fix for this issue in the next Boost release?
希望尽快修复,谢谢🙏! | Hope it's fixed soon, thanks 🙏!
tools/bcp/copy_path.cpp: In member function ‘void bcp_implementation::copy_path(const boost::filesystem::path&)’:
tools/bcp/copy_path.cpp:59:18: error: ‘const class boost::filesystem::path’ has no member named ‘branch_path’
tools/bcp/copy_path.cpp:63:10: error: ‘const class boost::filesystem::path’ has no member named ‘leaf’
63 | if((p.leaf() == "Jamroot") && m_namespace_name.size())
tools/bcp/add_dependent_lib.cpp:63:8: error: ‘directory_iterator’ is not a member of ‘fs’; did you mean ‘directory_entry’?
63 | fs::directory_iterator i(p);
……
ok, for fix it, just replace crazy old version of bcp by last in master...