Undefinierte Referenz: „boost::filesystem::detail::path_algorithms“ [geschlossen]C++

Programme in C++. Entwicklerforum
Guest
 Undefinierte Referenz: „boost::filesystem::detail::path_algorithms“ [geschlossen]

Post by Guest »

Ich erhalte diese Linker-Fehler von ld unter „CXX Shared Library verknüpfen“:
  • undefinierter Verweis auf „boost:“ :filesystem::detail::path_algorithms::find_root_name_size(boost::filesystem::path const&)'
  • undefinierter Verweis auf `boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, wchar_t const*, wchar_t const*)'
  • undefinierter Verweis auf `boost:: filesystem::detail::path_algorithms::extension_v3(boost::filesystem::path const&)'
  • undefinierter Verweis auf „boost::filesystem::detail::path_algorithms::find_root_directory(boost::filesystem::path const&)“
Ich habe unter anderem Boost_FILESYSTEM_LIBRARY und Boost_SYSTEM_LIBRARY in TARGET_LINK_LIBRARIES. Und sie lösen andere Boost-Abhängigkeiten auf. Aber ich scheine bei „boost::filesystem::detail::path_algorithms“ hängenzubleiben.
Ich baue mit MinGW , mit GCC 14.1.1 und Boost 1.81.0. Und ich habe Folgendes unter target_compile_definitions (nicht sicher, ob sie tatsächlich nützlich sind): Kann mir bitte jemand helfen, dieses Problem zu lösen?
Zusätzlich:
Suche In libboost_filesystem.a mit x86_64-w64-mingw32-nm -C finde ich zum Beispiel:

00000000000000f0 T boost::filesystem::path::append_v3(char const*, char const*)

00000000000002c0 T boost::filesystem::path::append_v4(char const* , char const*)

Aber nein boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, wchar_t const*, wchar_t const*).
Könnte es welche geben andere Abhängigkeit, die mir fehlt?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post