Post

Replies

Boosts

Views

Activity

Reply to C++ Linker Errors on M1 macbook.
All the error's: 2022-08-31 15:51:04.636 xcodebuild[3182:15874] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-08-31 15:51:04.637 xcodebuild[3182:15874] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore Undefined symbols for architecture arm64:  "std::__1::locale::use_facet(std::__1::locale::id&) const", referenced from:    std::__1::ctype const& std::__1::use_facet<std::__1::ctype >(std::__1::locale const&) in main-07c96a.o  "std::__1::ios_base::getloc() const", referenced from:    std::__1::basic_ios<char, std::__1::char_traits >::widen(char) const in main-07c96a.o  "std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::__init(unsigned long, char)", referenced from:    std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::basic_string(unsigned long, char) in main-07c96a.o  "std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::~basic_string()", referenced from:    std::__1::ostreambuf_iterator<char, std::__1::char_traits > std::__1::__pad_and_output<char, std::__1::char_traits >(std::__1::ostreambuf_iterator<char, std::__1::char_traits >, char const*, char const*, char const*, std::__1::ios_base&, char) in main-07c96a.o  "std::__1::basic_ostream<char, std::__1::char_traits >::sentry::sentry(std::__1::basic_ostream<char, std::__1::char_traits >&)", referenced from:    std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in main-07c96a.o  "std::__1::basic_ostream<char, std::__1::char_traits >::sentry::~sentry()", referenced from:    std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in main-07c96a.o  "std::__1::cout", referenced from:    _main in main-07c96a.o  "std::__1::ctype::id", referenced from:    std::__1::ctype const& std::__1::use_facet<std::__1::ctype >(std::__1::locale const&) in main-07c96a.o  "std::__1::locale::~locale()", referenced from:    std::__1::basic_ios<char, std::__1::char_traits >::widen(char) const in main-07c96a.o  "std::__1::ios_base::__set_badbit_and_consider_rethrow()", referenced from:    std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in main-07c96a.o  "std::__1::ios_base::clear(unsigned int)", referenced from:    std::__1::ios_base::setstate(unsigned int) in main-07c96a.o  "std::terminate()", referenced from:    ___clang_call_terminate in main-07c96a.o  "___cxa_begin_catch", referenced from:    std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in main-07c96a.o    ___clang_call_terminate in main-07c96a.o  "___cxa_call_unexpected", referenced from:    std::__1::ostreambuf_iterator<char, std::__1::char_traits >::failed() const in main-07c96a.o    std::__1::ostreambuf_iterator<char, std::__1::char_traits >::ostreambuf_iterator(std::__1::basic_ostream<char, std::__1::char_traits >&) in main-07c96a.o  "___cxa_end_catch", referenced from:    std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in main-07c96a.o  "___gxx_personality_v0", referenced from:    std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in main-07c96a.o    std::__1::ostreambuf_iterator<char, std::__1::char_traits > std::__1::__pad_and_output<char, std::__1::char_traits >(std::__1::ostreambuf_iterator<char, std::__1::char_traits >, char const*, char const*, char const*, std::__1::ios_base&, char) in main-07c96a.o    std::__1::ostreambuf_iterator<char, std::__1::char_traits >::failed() const in main-07c96a.o    std::__1::ostreambuf_iterator<char, std::__1::char_traits >::ostreambuf_iterator(std::__1::basic_ostream<char, std::__1::char_traits >&) in main-07c96a.o    std::__1::basic_ios<char, std::__1::char_traits >::widen(char) const in main-07c96a.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Aug ’22