../wesnoth-1.18.3/src/filesystem.cpp: In function ‘std::string filesystem::get_exe_dir()’: ../wesnoth-1.18.3/src/filesystem.cpp:1025:32: error: ‘search_path’ is not a member of ‘bp’ 1025 | bfs::path search = bp::search_path(exe).string(); | ^~~~~~~~~~~ ../wesnoth-1.18.3/src/filesystem.cpp:1032:22: error: ‘search_path’ is not a member of ‘bp’ 1032 | search = bp::search_path(exe).string(); | ^~~~~~~~~~~ ../wesnoth-1.18.3/src/filesystem.cpp: In function ‘std::string filesystem::sanitize_path(const std::string&)’: ../wesnoth-1.18.3/src/filesystem.cpp:1736:24: error: ‘replace_all’ is not a member of ‘boost’ 1736 | boost::replace_all(canonicalized, user_name, "USER"); | ^~~~~~~~~~~ Reproducible: Always
Created attachment 928085 [details, diff] Fix build with boost-1.88 This patch works with boost-1.88; its functionality with earlier versions has not been tested.