- неопределенная ссылка на `boost: :filesystem::detail::path_algorithms::find_root_name_size(boost::filesystem::path const&)'
- неопределенная ссылка на `boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, wchar_t const*, wchar_t const*)'
- неопределенная ссылка на `boost:: файловая система::detail::path_algorithms::extension_v3(boost::filesystem::path const&)'
- неопределенная ссылка на `boost::filesystem::detail::path_algorithms::find_root_directory(boost::filesystem::path const&)'
Я строю с помощью MinGW , с GCC 14.1.1 и Boost 1.81.0. И у меня есть следующее в разделе target_compile_definitions (не уверен, что они действительно полезны):
Код: Выделить всё
_WIN32_WINNT=0x0601Код: Выделить всё
PTW32_STATIC_LIBКод: Выделить всё
HAVE_STRUCT_TIMESPECКод: Выделить всё
BOOST_NO_CXX11_SCOPED_ENUMSКод: Выделить всё
BOOST_NO_SCOPED_ENUMS
Дополнительно:
Ищу внутри libboost_filesystem.a с помощью x86_64-w64-mingw32-nm -C я нахожу, например:
00000000000000f0 T boost::filesystem::path::append_v3(char const*, char const*)
00000000000002c0 T boost::filesystem::path::append_v4(char const* , char const*)
Но нет boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, wchar_t const*, wchar_t const*).
Могут ли они быть какие-нибудь другая зависимость, которую мне не хватает?
Подробнее здесь: https://stackoverflow.com/questions/793 ... algorithms
Мобильная версия