c++11 MacOSX Clang++ linking Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
nathanhold
In need of some credit
In need of some credit
Posts: 2
Joined: Wed May 22, 2013 2:45 am

c++11 MacOSX Clang++ linking

Post by nathanhold » Wed May 22, 2013 2:50 am

So I am trying to build wxWidgets using clang \ clang++ and c++11(I have made the assumption that this is the same as what xcode 4.6 uses as default compiler). First I installed the command line tools then I made the build-release directory and configured the makefile.

Here is my configure:
../configure --with-osx_cocoa --with-macosx-version-min=10.7 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk --prefix="$(pwd)" --with-opengl CC=clang CXX=clang++ CXXFLAGS="-stdlib=libc++ -std=c++11"
Then I call make and there is only one warning that seems to precede issues in the make process:
configure: WARNING: type_traits: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: type_traits: proceeding with the compiler's result
checking for type_traits... yes
checking tr1/type_traits usability... no
checking tr1/type_traits presence... yes
configure: WARNING: tr1/type_traits: present but cannot be compiled
configure: WARNING: tr1/type_traits: check for missing prerequisite headers?
configure: WARNING: tr1/type_traits: see the Autoconf documentation
configure: WARNING: tr1/type_traits: section "Present But Cannot Be Compiled"
configure: WARNING: tr1/type_traits: proceeding with the compiler's result
configure: WARNING: ## ----------------------------------------- ##
configure: WARNING: ## Report this to [email protected] ##
configure: WARNING: ## ----------------------------------------- ##
checking for tr1/type_traits... no
So because of above, this error occurs during the make process:
clang++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -c -o basedll_cocoa_utils.o -I./.pch/wxprec_basedll -D__WXOSX_COCOA__ -DWXBUILDING -I/Users/nathanhold/Documents/Bifrost_GoldCoast/Toasty/Sources/wxWidgets-2.9.4/build-release/src/tiff/libtiff -I../src/tiff/libtiff -I../src/jpeg -I../src/png -I../src/regex -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -I/Users/nathanhold/Documents/Bifrost_GoldCoast/Toasty/Sources/wxWidgets-2.9.4/build-release/lib/wx/include/osx_cocoa-unicode-2.9 -I../include -O2 -fno-strict-aliasing ../src/osx/cocoa/utils.mm
In file included from ../src/osx/cocoa/utils.mm:14:
In file included from ../include/wx/utils.h:19:
In file included from ../include/wx/object.h:20:
In file included from ../include/wx/memory.h:16:
In file included from ../include/wx/string.h:51:
../include/wx/strvararg.h:26:14: fatal error: 'type_traits' file not found
#include <type_traits>
However I can easily fix that by adding the -stdlib=libc++ -std=c++11 flags and make can continue on it's way until it tries to link:
clang++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -dynamiclib -single_module -headerpad_max_install_names -o /Users/nathanhold/Documents/Bifrost_GoldCoast/Toasty/Sources/wxWidgets-2.9.4/build-release/lib/libwx_baseu-2.9.4.0.0.dylib basedll_any.o basedll_appbase.o basedll_arcall.o basedll_arcfind.o basedll_archive.o basedll_arrstr.o basedll_base64.o basedll_clntdata.o basedll_cmdline.o basedll_config.o basedll_convauto.o basedll_datetime.o basedll_datetimefmt.o basedll_datstrm.o basedll_dircmn.o basedll_dynarray.o basedll_dynlib.o basedll_dynload.o basedll_encconv.o basedll_evtloopcmn.o basedll_extended.o basedll_ffile.o basedll_file.o basedll_fileback.o basedll_fileconf.o basedll_filefn.o basedll_filename.o basedll_filesys.o basedll_filtall.o basedll_filtfind.o basedll_fmapbase.o basedll_fs_arc.o basedll_fs_filter.o basedll_hash.o basedll_hashmap.o basedll_init.o basedll_intl.o basedll_ipcbase.o basedll_languageinfo.o basedll_list.o basedll_log.o basedll_longlong.o basedll_memory.o basedll_mimecmn.o basedll_module.o basedll_mstream.o basedll_numformatter.o basedll_object.o basedll_platinfo.o basedll_powercmn.o basedll_process.o basedll_regex.o basedll_stdpbase.o basedll_sstream.o basedll_stdstream.o basedll_stopwatch.o basedll_strconv.o basedll_stream.o basedll_string.o basedll_stringimpl.o basedll_stringops.o basedll_strvararg.o basedll_sysopt.o basedll_tarstrm.o basedll_textbuf.o basedll_textfile.o basedll_common_time.o basedll_timercmn.o basedll_timerimpl.o basedll_tokenzr.o basedll_translation.o basedll_txtstrm.o basedll_unichar.o basedll_uri.o basedll_ustring.o basedll_variant.o basedll_wfstream.o basedll_wxcrt.o basedll_wxprintf.o basedll_xlocale.o basedll_xti.o basedll_xtistrm.o basedll_zipstrm.o basedll_zstream.o basedll_fswatchercmn.o basedll_fswatcherg.o basedll_core_mimetype.o basedll_cfstring.o basedll_evtloop_cf.o basedll_stdpaths_cf.o basedll_strconv_cf.o basedll_utilsexc_base.o basedll_fdiodispatcher.o basedll_selectdispatcher.o basedll_appunix.o basedll_unix_dir.o basedll_dlunix.o basedll_epolldispatcher.o basedll_evtloopunix.o basedll_fdiounix.o basedll_unix_snglinst.o basedll_unix_stackwalk.o basedll_unix_stdpaths.o basedll_timerunx.o basedll_threadpsx.o basedll_utilsunx.o basedll_fswatcher_kqueue.o basedll_event.o basedll_fs_mem.o basedll_msgout.o basedll_utilscmn.o basedll_cocoa_utils.o -L/Users/nathanhold/Documents/Bifrost_GoldCoast/Toasty/Sources/wxWidgets-2.9.4/build-release/lib -install_name /Users/nathanhold/Documents/Bifrost_GoldCoast/Toasty/Sources/wxWidgets-2.9.4/build-release/lib/libwx_baseu-2.9.4.dylib -compatibility_version 1.0 -current_version 1.0 -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwxregexu-2.9 -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lz -lpthread -liconv -lz -lpthread -liconv
Which then causes this error:
Undefined symbols for architecture x86_64:
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::find_last_of(wchar_t const*, unsigned long, unsigned long) const", referenced from:
wxFileName::SplitPath(wxString const&, wxString*, wxString*, wxString*, wxString*, bool*, wxPathFormat) in basedll_filename.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::find_first_of(wchar_t const*, unsigned long, unsigned long) const", referenced from:
wxFileName::SplitVolume(wxString const&, wxString*, wxString*, wxPathFormat) in basedll_filename.o
wxLocale::GetSystemLanguage() in basedll_intl.o
wxString::find_first_of(char const*, unsigned long) const in basedll_mimecmn.o
wxRegExImpl::Replace(wxString*, wxString const&, unsigned long) const in basedll_regex.o
wxString::find_first_of(char const*, unsigned long) const in basedll_fs_mem.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::find_last_not_of(wchar_t const*, unsigned long, unsigned long) const", referenced from:
wxFileName::GetTempDir() in basedll_filename.o
wxString::find_last_not_of(char const*, unsigned long) const in basedll_numformatter.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const", referenced from:
wxDateTime::Format(wxString const&, wxDateTime::TimeZone const&) const in basedll_datetimefmt.o
wxFileSystem::URLToFileName(wxString const&) in basedll_filesys.o
wxArchiveFSHandler::OpenFile(wxFileSystem&, wxString const&) in basedll_fs_arc.o
wxPlatformInfo::GetArch(wxString const&) in basedll_platinfo.o
wxString::Replace(wxString const&, wxString const&, bool) in basedll_string.o
wxTranslations::GetHeaderValue(wxString const&, wxString const&) const in basedll_translation.o
wxString::find(char const*, unsigned long, unsigned long) const in basedll_unix_stackwalk.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::find(wchar_t, unsigned long) const", referenced from:
wxFileConfig::RenameEntry(wxString const&, wxString const&) in basedll_fileconf.o
wxLocale::GetSystemLanguage() in basedll_intl.o
wxNumberFormatter::AddThousandsSeparators(wxString&) in basedll_numformatter.o
wxNumberFormatter::RemoveTrailingZeroes(wxString&) in basedll_numformatter.o
wxString::Find(wxUniChar, bool) const in basedll_string.o
wxString::BeforeFirst(wxUniChar, wxString*) const in basedll_string.o
wxString::AfterFirst(wxUniChar) const in basedll_string.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::rfind(wchar_t const*, unsigned long, unsigned long) const", referenced from:
wxStandardPaths::DetectPrefix() in basedll_unix_stdpaths.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::rfind(wchar_t, unsigned long) const", referenced from:
wxFileName::SplitPath(wxString const&, wxString*, wxString*, wxString*, wxString*, bool*, wxPathFormat) in basedll_filename.o
wxString::AfterLast(wxUniChar) const in basedll_string.o
wxString::Find(wxUniChar, bool) const in basedll_string.o
wxString::BeforeLast(wxUniChar, wxString*) const in basedll_string.o
"std::__1::__basic_string_common<true>::__throw_length_error() const", referenced from:
__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initINS_11__wrap_iterIPKwEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_ in basedll_cmdline.o
__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initINS_11__wrap_iterIPKwEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_ in basedll_datetimefmt.o
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str() const in basedll_string.o
__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initINS_11__wrap_iterIPKwEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_ in basedll_string.o
__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initINS_11__wrap_iterIPKwEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_ in basedll_textfile.o
__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initINS_11__wrap_iterIPKwEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_ in basedll_tokenzr.o
"std::__1::locale::use_facet(std::__1::locale::id&) const", referenced from:
wxLogStream::DoLogText(wxString const&) in basedll_log.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_string.o
std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<< <wchar_t, std::__1::char_traits<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, wchar_t const*) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_variant.o
"std::__1::ios_base::getloc() const", referenced from:
wxLogStream::DoLogText(wxString const&) in basedll_log.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_string.o
std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<< <wchar_t, std::__1::char_traits<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, wchar_t const*) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_variant.o
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::resize(unsigned long, char)", referenced from:
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::overflow(int) in basedll_string.o
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in basedll_string.o
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::push_back(char)", referenced from:
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::overflow(int) in basedll_string.o
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()", referenced from:
wxString::FromCDouble(double, int) in basedll_string.o
std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_ostringstream() in basedll_string.o
std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_ostringstream() in basedll_string.o
virtual thunk to std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_ostringstream() in basedll_string.o
virtual thunk to std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_ostringstream() in basedll_string.o
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringbuf() in basedll_string.o
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringbuf() in basedll_string.o
...
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in basedll_string.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::erase(unsigned long, unsigned long)", referenced from:
wxString::operator=(char const*) in basedll_appbase.o
wxSplit(wxString const&, wchar_t, wchar_t) in basedll_arrstr.o
wxCmdLineParser::ConvertStringToArgs(wxString const&, wxCmdLineSplitType) in basedll_cmdline.o
wxConfigPathChanger::wxConfigPathChanger(wxConfigBase const*, wxString const&) in basedll_config.o
wxConfigBase::RemoveTrailingSeparator(wxString const&) in basedll_config.o
wxSplitPath(wxArrayString&, wxString const&) in basedll_config.o
wxDateTime::Format(wxString const&, wxDateTime::TimeZone const&) const in basedll_datetimefmt.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__init(wchar_t const*, unsigned long)", referenced from:
wxAnyValueTypeImplConstWchar_tPtr::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxString::wxString(char const*) in basedll_any.o
wxAppConsoleBase::wxAppConsoleBase() in basedll_appbase.o
wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) in basedll_appbase.o
wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) in basedll_appbase.o
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*) in basedll_appbase.o
wxConsoleAppTraitsBase::GetDesktopEnvironment() const in basedll_appbase.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::append(wchar_t const*)", referenced from:
__ZL16ShowAssertDialogRK8wxStringiS1_S1_S1_P11wxAppTraits in basedll_appbase.o
wxAppTraitsBase::ShowAssertDialog(wxString const&) in basedll_appbase.o
wxCmdLineParser::GetUsageString() const in basedll_cmdline.o
wxTimeSpan::Format(wxString const&) const in basedll_datetimefmt.o
wxDynamicLibrary::GetPluginsDirectory() in basedll_dynlib.o
wxFileConfigGroup::GetGroupLine() in basedll_fileconf.o
wxFileConfig::Flush(bool) in basedll_fileconf.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::append(wchar_t const*, unsigned long)", referenced from:
__ZL16ShowAssertDialogRK8wxStringiS1_S1_S1_P11wxAppTraits in basedll_appbase.o
wxAppTraitsBase::ShowAssertDialog(wxString const&) in basedll_appbase.o
wxAppTraitsBase::GetAssertStackTrace()::StackDump::OnStackFrame(wxStackFrame const&) in basedll_appbase.o
wxString::operator<<(unsigned long) in basedll_appbase.o
wxJoin(wxArrayString const&, wchar_t, wchar_t) in basedll_arrstr.o
wxCmdLineParser::Parse(bool) in basedll_cmdline.o
wxCmdLineParser::GetUsageString() const in basedll_cmdline.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::append(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&, unsigned long, unsigned long)", referenced from:
wxRegExImpl::Replace(wxString*, wxString const&, unsigned long) const in basedll_regex.o
wxString::Replace(wxString const&, wxString const&, bool) in basedll_string.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::append(unsigned long, wchar_t)", referenced from:
__ZL16ShowAssertDialogRK8wxStringiS1_S1_S1_P11wxAppTraits in basedll_appbase.o
wxAppTraitsBase::GetAssertStackTrace()::StackDump::OnStackFrame(wxStackFrame const&) in basedll_appbase.o
wxCmdLineParser::Parse(bool) in basedll_cmdline.o
wxCmdLineParser::GetUsageString() const in basedll_cmdline.o
wxExpandEnvVars(wxString const&) in basedll_config.o
wxDateTime::Format(wxString const&, wxDateTime::TimeZone const&) const in basedll_datetimefmt.o
wxDynamicLibrary::CanonicalizePluginName(wxString const&, wxPluginCategory) in basedll_dynlib.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::assign(wchar_t const*)", referenced from:
wxAnyValueTypeImpl<bool>::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxString::operator=(char const*) in basedll_appbase.o
wxCmdLineParserData::wxCmdLineParserData() in basedll_cmdline.o
wxCmdLineParser::GetUsageString() const in basedll_cmdline.o
wxConfigPathChanger::wxConfigPathChanger(wxConfigBase const*, wxString const&) in basedll_config.o
CallStrftime(wxString const&, tm const*) in basedll_datetime.o
wxDateTime::GetMonthName(wxDateTime::Month, wxDateTime::NameFlags) in basedll_datetime.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::assign(wchar_t const*, unsigned long)", referenced from:
wxDataInputStream::ReadString() in basedll_datstrm.o
wxFileConfig::Parse(wxTextBuffer const&, bool) in basedll_fileconf.o
wxFileConfig::wxFileConfig(wxInputStream&, wxMBConv const&) in basedll_fileconf.o
wxString::assign(char const*, unsigned long) in basedll_fileconf.o
wxString::assign(char const*, unsigned long) in basedll_filefn.o
__ZL16wxCreateTempImplRK8wxStringP6wxFileP7wxFFilePb in basedll_filename.o
wxConnectionBase::GetTextFromData(void const*, unsigned long, wxIPCFormat) in basedll_ipcbase.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::assign(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&, unsigned long, unsigned long)", referenced from:
wxDateTime::ParseTime(wxString const&, wxString::const_iterator*) in basedll_datetimefmt.o
wxFileName::Assign(wxString const&, wxString const&, wxString const&, wxString const&, bool, wxPathFormat) in basedll_filename.o
wxString::Mid(unsigned long, unsigned long) const in basedll_string.o
wxString::StartsWith(wxString const&, wxString*) const in basedll_string.o
wxString::EndsWith(wxString const&, wxString*) const in basedll_string.o
wxString::Right(unsigned long) const in basedll_string.o
wxString::AfterLast(wxUniChar) const in basedll_string.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::assign(unsigned long, wchar_t)", referenced from:
wxSplit(wxString const&, wchar_t, wchar_t) in basedll_arrstr.o
wxCmdLineParser::Parse(bool) in basedll_cmdline.o
wxCmdLineParser::GetUsageString() const in basedll_cmdline.o
wxDateTime::Format(wxString const&, wxDateTime::TimeZone const&) const in basedll_datetimefmt.o
wxTimeSpan::Format(wxString const&) const in basedll_datetimefmt.o
wxFileName::MakeRelativeTo(wxString const&, wxPathFormat) in basedll_filename.o
wxFileName::GetPathTerminators(wxPathFormat) in basedll_filename.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::insert(unsigned long, wchar_t const*)", referenced from:
wxString::insert(unsigned long, char const*) in basedll_core_mimetype.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::insert(unsigned long, unsigned long, wchar_t)", referenced from:
wxFileName::SplitVolume(wxString const&, wxString*, wxString*, wxPathFormat) in basedll_filename.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::replace(unsigned long, unsigned long, wchar_t const*, unsigned long)", referenced from:
wxString::Replace(wxString const&, wxString const&, bool) in basedll_string.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::reserve(unsigned long)", referenced from:
__ZL16ShowAssertDialogRK8wxStringiS1_S1_S1_P11wxAppTraits in basedll_appbase.o
wxJoin(wxArrayString const&, wchar_t, wchar_t) in basedll_arrstr.o
wxCmdLineParser::ConvertStringToArgs(wxString const&, wxCmdLineSplitType) in basedll_cmdline.o
wxExpandEnvVars(wxString const&) in basedll_config.o
wxTimeSpan::Format(wxString const&) const in basedll_datetimefmt.o
wxFileConfig::Parse(wxTextBuffer const&, bool) in basedll_fileconf.o
wxFileConfigEntry::SetValue(wxString const&, bool) in basedll_fileconf.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::__grow_by(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)", referenced from:
__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignINS_11__wrap_iterIPKwEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeESC_SC_ in basedll_mimecmn.o
__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6insertINS_11__wrap_iterIPKwEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueENS7_IPwEEE4typeESA_SC_SC_ in basedll_numformatter.o
__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignINS_11__wrap_iterIPKwEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeESC_SC_ in basedll_tokenzr.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::push_back(wchar_t)", referenced from:
wxJoin(wxArrayString const&, wchar_t, wchar_t) in basedll_arrstr.o
wxSplit(wxString const&, wchar_t, wchar_t) in basedll_arrstr.o
wxCmdLineParser::ConvertStringToArgs(wxString const&, wxCmdLineSplitType) in basedll_cmdline.o
wxCmdLineParser::Parse(bool) in basedll_cmdline.o
wxCmdLineOption::wxCmdLineOption(wxCmdLineEntryType, wxString const&, wxString const&, wxString const&, wxCmdLineParamType, int) in basedll_cmdline.o
wxExpandEnvVars(wxString const&) in basedll_config.o
wxConfigPathChanger::wxConfigPathChanger(wxConfigBase const*, wxString const&) in basedll_config.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::basic_string(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&)", referenced from:
wxAnyConvertString(wxString const&, wxAnyValueType*, wxAnyValueBuffer&) in basedll_any.o
wxAppConsoleBase::GetAppName() const in basedll_appbase.o
wxAppConsoleBase::GetAppDisplayName() const in basedll_appbase.o
wxAppConsoleBase::OnUnhandledException() in basedll_appbase.o
__ZL16ShowAssertDialogRK8wxStringiS1_S1_S1_P11wxAppTraits in basedll_appbase.o
wxAppTraitsBase::GetAssertStackTrace()::StackDump::OnStackFrame(wxStackFrame const&) in basedll_appbase.o
wxString::wxString(wxCStrData const&) in basedll_appbase.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::basic_string(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&, unsigned long, unsigned long, std::__1::allocator<wchar_t> const&)", referenced from:
wxFileSystem::FindFileInPath(wxString*, wxString const&, wxString const&) in basedll_filesys.o
wxLocale::GetSystemLanguage() in basedll_intl.o
wxFilterClassFactoryBase::PopExtension(wxString const&) const in basedll_stream.o
wxTarOutputStream::PaxHeaderPath(wxString const&, wxString const&) in basedll_tarstrm.o
wxTranslations::GetHeaderValue(wxString const&, wxString const&) const in basedll_translation.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::~basic_string()", referenced from:
wxAnyValueTypeImplInt::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxAnyValueTypeImplUint::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxAnyConvertString(wxString const&, wxAnyValueType*, wxAnyValueBuffer&) in basedll_any.o
wxAnyValueTypeImpl<bool>::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxAnyValueTypeImplDouble::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxPrivate::wxAnyValueTypeOpsGeneric<wxString>::DataHolder<wxString>::~DataHolder() in basedll_any.o
wxPrivate::wxAnyValueTypeOpsGeneric<wxString>::DataHolder<wxString>::~DataHolder() in basedll_any.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::~basic_string()", referenced from:
wxUString::assignFromUTF8(char const*) in basedll_ustring.o
wxUString::assignFromUTF8(char const*, unsigned long) in basedll_ustring.o
wxUString::assignFromUTF16(unsigned short const*, unsigned long) in basedll_ustring.o
wxUString::assignFromUTF16(unsigned short const*) in basedll_ustring.o
wxUString::assignFromCString(char const*) in basedll_ustring.o
wxUString::assignFromCString(char const*, wxMBConv const&) in basedll_ustring.o
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::operator=(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&)", referenced from:
wxAnyValueTypeImplInt::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxAnyValueTypeImplUint::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxAnyConvertString(wxString const&, wxAnyValueType*, wxAnyValueBuffer&) in basedll_any.o
wxAnyValueTypeImpl<bool>::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxAnyValueTypeImplDouble::ConvertValue(wxAnyValueBuffer const&, wxAnyValueType*, wxAnyValueBuffer&) const in basedll_any.o
wxAnyValueTypeImplBase<wxString>::CopyBuffer(wxAnyValueBuffer const&, wxAnyValueBuffer&) const in basedll_any.o
wxAppTraitsBase::GetAssertStackTrace() in basedll_appbase.o
...
"std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::operator=(wchar_t)", referenced from:
wxConfigPathChanger::wxConfigPathChanger(wxConfigBase const*, wxString const&) in basedll_config.o
wxConfigPathChanger::UpdateIfDeleted() in basedll_config.o
wxFileConfig::HasEntry(wxString const&) const in basedll_fileconf.o
wxFileName::SetPath(wxString const&, wxPathFormat) in basedll_filename.o
wxFileName::SplitVolume(wxString const&, wxString*, wxString*, wxPathFormat) in basedll_filename.o
wxFileName::IsPathSeparator(wchar_t, wxPathFormat) in basedll_filename.o
wxFileName::GetPathSeparators(wxPathFormat) in basedll_filename.o
...
"std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
construction vtable for std::__1::basic_istream<char, wxStdInputStream::char_traits<char> >-in-wxStdInputStream in basedll_stdstream.o
"std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
construction vtable for std::__1::basic_istream<char, wxStdInputStream::char_traits<char> >-in-wxStdInputStream in basedll_stdstream.o
"std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdInputStream::~wxStdInputStream() in basedll_stdstream.o
wxStdInputStream::~wxStdInputStream() in basedll_stdstream.o
virtual thunk to wxStdInputStream::~wxStdInputStream() in basedll_stdstream.o
virtual thunk to wxStdInputStream::~wxStdInputStream() in basedll_stdstream.o
"std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(double&)", referenced from:
wxVariantDoubleData::Read(std::__1::basic_istream<char, std::__1::char_traits<char> >&) in basedll_variant.o
"std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(long&)", referenced from:
wxVariantDataLong::Read(std::__1::basic_istream<char, std::__1::char_traits<char> >&) in basedll_variant.o
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::put(char)", referenced from:
wxLogStream::DoLogText(wxString const&) in basedll_log.o
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::flush()", referenced from:
wxLogStream::DoLogText(wxString const&) in basedll_log.o
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::sentry(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)", referenced from:
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_variant.o
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::~sentry()", referenced from:
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_variant.o
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
construction vtable for std::__1::basic_ostream<char, wxStdOutputStream::char_traits<char> >-in-wxStdOutputStream in basedll_stdstream.o
construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
construction vtable for std::__1::basic_ostream<char, wxStdOutputStream::char_traits<char> >-in-wxStdOutputStream in basedll_stdstream.o
construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
wxStdOutputStream::wxStdOutputStream(wxOutputStream&) in basedll_stdstream.o
wxStdOutputStream::wxStdOutputStream(wxOutputStream&) in basedll_stdstream.o
wxStdOutputStream::~wxStdOutputStream() in basedll_stdstream.o
wxStdOutputStream::~wxStdOutputStream() in basedll_stdstream.o
virtual thunk to wxStdOutputStream::~wxStdOutputStream() in basedll_stdstream.o
virtual thunk to wxStdOutputStream::~wxStdOutputStream() in basedll_stdstream.o
wxString::FromCDouble(double, int) in basedll_string.o
...
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(void const*)", referenced from:
operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, wxScopedCharTypeBuffer<wchar_t> const&) in basedll_string.o
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(double)", referenced from:
wxString::FromCDouble(double, int) in basedll_string.o
"std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >::sentry::sentry(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&)", referenced from:
std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<< <wchar_t, std::__1::char_traits<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, wchar_t const*) in basedll_string.o
"std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >::sentry::~sentry()", referenced from:
std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<< <wchar_t, std::__1::char_traits<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, wchar_t const*) in basedll_string.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::sync()", referenced from:
vtable for wxStdInputStreamBuffer in basedll_stdstream.o
vtable for wxStdOutputStreamBuffer in basedll_stdstream.o
vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::imbue(std::__1::locale const&)", referenced from:
vtable for wxStdInputStreamBuffer in basedll_stdstream.o
vtable for wxStdOutputStreamBuffer in basedll_stdstream.o
vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::uflow()", referenced from:
vtable for wxStdOutputStreamBuffer in basedll_stdstream.o
vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::setbuf(char*, long)", referenced from:
vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::xsgetn(char*, long)", referenced from:
vtable for wxStdOutputStreamBuffer in basedll_stdstream.o
vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::xsputn(char const*, long)", referenced from:
vtable for wxStdInputStreamBuffer in basedll_stdstream.o
vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::overflow(int)", referenced from:
vtable for wxStdInputStreamBuffer in basedll_stdstream.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::pbackfail(int)", referenced from:
vtable for wxStdOutputStreamBuffer in basedll_stdstream.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::showmanyc()", referenced from:
vtable for wxStdOutputStreamBuffer in basedll_stdstream.o
vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::underflow()", referenced from:
vtable for wxStdOutputStreamBuffer in basedll_stdstream.o
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::basic_streambuf()", referenced from:
wxStdInputStreamBuffer::wxStdInputStreamBuffer(wxInputStream&) in basedll_stdstream.o
wxStdInputStreamBuffer::wxStdInputStreamBuffer(wxInputStream&) in basedll_stdstream.o
wxStdOutputStreamBuffer::wxStdOutputStreamBuffer(wxOutputStream&) in basedll_stdstream.o
wxStdOutputStreamBuffer::wxStdOutputStreamBuffer(wxOutputStream&) in basedll_stdstream.o
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdOutputStream::wxStdOutputStream(wxOutputStream&) in basedll_stdstream.o
...
"std::__1::basic_streambuf<char, std::__1::char_traits<char> >::~basic_streambuf()", referenced from:
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdOutputStream::wxStdOutputStream(wxOutputStream&) in basedll_stdstream.o
wxStdOutputStream::wxStdOutputStream(wxOutputStream&) in basedll_stdstream.o
wxStdInputStreamBuffer::~wxStdInputStreamBuffer() in basedll_stdstream.o
wxStdOutputStreamBuffer::~wxStdOutputStreamBuffer() in basedll_stdstream.o
wxStdInputStreamBuffer::~wxStdInputStreamBuffer() in basedll_stdstream.o
...
"std::__1::cerr", referenced from:
wxLogStream::wxLogStream(std::__1::basic_ostream<char, std::__1::char_traits<char> >*) in basedll_log.o
wxLogStream::wxLogStream(std::__1::basic_ostream<char, std::__1::char_traits<char> >*) in basedll_log.o
"std::__1::ctype<char>::id", referenced from:
wxLogStream::DoLogText(wxString const&) in basedll_log.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_variant.o
"std::__1::ctype<wchar_t>::id", referenced from:
std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<< <wchar_t, std::__1::char_traits<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, wchar_t const*) in basedll_string.o
"std::__1::locale::~locale()", referenced from:
wxLogStream::DoLogText(wxString const&) in basedll_log.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_string.o
std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<< <wchar_t, std::__1::char_traits<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, wchar_t const*) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_variant.o
"std::__1::ios_base::__set_badbit_and_consider_rethrow()", referenced from:
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_string.o
std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<< <wchar_t, std::__1::char_traits<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, wchar_t const*) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_variant.o
"std::__1::ios_base::init(void*)", referenced from:
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdOutputStream::wxStdOutputStream(wxOutputStream&) in basedll_stdstream.o
wxStdOutputStream::wxStdOutputStream(wxOutputStream&) in basedll_stdstream.o
wxString::FromCDouble(double, int) in basedll_string.o
"std::__1::ios_base::clear(unsigned int)", referenced from:
operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, wxCStrData const&) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_string.o
std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<< <wchar_t, std::__1::char_traits<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, wchar_t const*) in basedll_string.o
std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*) in basedll_variant.o
"std::__1::basic_ios<char, std::__1::char_traits<char> >::~basic_ios()", referenced from:
wxStdInputStream::wxStdInputStream(wxInputStream&) in basedll_stdstream.o
wxStdOutputStream::wxStdOutputStream(wxOutputStream&) in basedll_stdstream.o
wxStdOutputStream::~wxStdOutputStream() in basedll_stdstream.o
wxStdOutputStream::~wxStdOutputStream() in basedll_stdstream.o
virtual thunk to wxStdOutputStream::~wxStdOutputStream() in basedll_stdstream.o
virtual thunk to wxStdOutputStream::~wxStdOutputStream() in basedll_stdstream.o
wxStdInputStream::~wxStdInputStream() in basedll_stdstream.o
...
"typeinfo for std::__1::basic_istream<char, std::__1::char_traits<char> >", referenced from:
typeinfo for wxStdInputStream in basedll_stdstream.o
construction vtable for std::__1::basic_istream<char, wxStdInputStream::char_traits<char> >-in-wxStdInputStream in basedll_stdstream.o
"typeinfo for std::__1::basic_ostream<char, std::__1::char_traits<char> >", referenced from:
typeinfo for wxStdOutputStream in basedll_stdstream.o
construction vtable for std::__1::basic_ostream<char, wxStdOutputStream::char_traits<char> >-in-wxStdOutputStream in basedll_stdstream.o
typeinfo for std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"typeinfo for std::__1::basic_streambuf<char, std::__1::char_traits<char> >", referenced from:
typeinfo for wxStdInputStreamBuffer in basedll_stdstream.o
typeinfo for wxStdOutputStreamBuffer in basedll_stdstream.o
typeinfo for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"virtual thunk to std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
construction vtable for std::__1::basic_istream<char, wxStdInputStream::char_traits<char> >-in-wxStdInputStream in basedll_stdstream.o
"virtual thunk to std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
construction vtable for std::__1::basic_istream<char, wxStdInputStream::char_traits<char> >-in-wxStdInputStream in basedll_stdstream.o
"virtual thunk to std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
construction vtable for std::__1::basic_ostream<char, wxStdOutputStream::char_traits<char> >-in-wxStdOutputStream in basedll_stdstream.o
construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
"virtual thunk to std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
construction vtable for std::__1::basic_ostream<char, wxStdOutputStream::char_traits<char> >-in-wxStdOutputStream in basedll_stdstream.o
construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in basedll_string.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Which made me think the linker wasn't linking with the standard c++ library correctly, however if I run the command with -v it returns this:
"/usr/bin/ld" -demangle -dynamic -dylib -dylib_compatibility_version 1.0 -dylib_current_version 1.0 -arch x86_64 -dylib_install_name /Users/nathanhold/Documents/Bifrost_GoldCoast/Toasty/Sources/wxWidgets-2.9.4/build-release/lib/libwx_baseu-2.9.4.dylib -headerpad_max_install_names -macosx_version_min 10.7.0 -single_module -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -o /Users/nathanhold/Documents/Bifrost_GoldCoast/Toasty/Sources/wxWidgets-2.9.4/build-release/lib/libwx_baseu-2.9.4.0.0.dylib -L/Users/nathanhold/Documents/Bifrost_GoldCoast/Toasty/Sources/wxWidgets-2.9.4/build-release/lib basedll_any.o basedll_appbase.o basedll_arcall.o basedll_arcfind.o basedll_archive.o basedll_arrstr.o basedll_base64.o basedll_clntdata.o basedll_cmdline.o basedll_config.o basedll_convauto.o basedll_datetime.o basedll_datetimefmt.o basedll_datstrm.o basedll_dircmn.o basedll_dynarray.o basedll_dynlib.o basedll_dynload.o basedll_encconv.o basedll_evtloopcmn.o basedll_extended.o basedll_ffile.o basedll_file.o basedll_fileback.o basedll_fileconf.o basedll_filefn.o basedll_filename.o basedll_filesys.o basedll_filtall.o basedll_filtfind.o basedll_fmapbase.o basedll_fs_arc.o basedll_fs_filter.o basedll_hash.o basedll_hashmap.o basedll_init.o basedll_intl.o basedll_ipcbase.o basedll_languageinfo.o basedll_list.o basedll_log.o basedll_longlong.o basedll_memory.o basedll_mimecmn.o basedll_module.o basedll_mstream.o basedll_numformatter.o basedll_object.o basedll_platinfo.o basedll_powercmn.o basedll_process.o basedll_regex.o basedll_stdpbase.o basedll_sstream.o basedll_stdstream.o basedll_stopwatch.o basedll_strconv.o basedll_stream.o basedll_string.o basedll_stringimpl.o basedll_stringops.o basedll_strvararg.o basedll_sysopt.o basedll_tarstrm.o basedll_textbuf.o basedll_textfile.o basedll_common_time.o basedll_timercmn.o basedll_timerimpl.o basedll_tokenzr.o basedll_translation.o basedll_txtstrm.o basedll_unichar.o basedll_uri.o basedll_ustring.o basedll_variant.o basedll_wfstream.o basedll_wxcrt.o basedll_wxprintf.o basedll_xlocale.o basedll_xti.o basedll_xtistrm.o basedll_zipstrm.o basedll_zstream.o basedll_fswatchercmn.o basedll_fswatcherg.o basedll_core_mimetype.o basedll_cfstring.o basedll_evtloop_cf.o basedll_stdpaths_cf.o basedll_strconv_cf.o basedll_utilsexc_base.o basedll_fdiodispatcher.o basedll_selectdispatcher.o basedll_appunix.o basedll_unix_dir.o basedll_dlunix.o basedll_epolldispatcher.o basedll_evtloopunix.o basedll_fdiounix.o basedll_unix_snglinst.o basedll_unix_stackwalk.o basedll_unix_stdpaths.o basedll_timerunx.o basedll_threadpsx.o basedll_utilsunx.o basedll_fswatcher_kqueue.o basedll_event.o basedll_fs_mem.o basedll_msgout.o basedll_utilscmn.o basedll_cocoa_utils.o -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwxregexu-2.9 -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lz -lpthread -liconv -lz -lpthread -liconv -lstdc++ -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a
Which links -lstdc++ and as far as I can tell it is the correct file path for it. So that's where I am at I can't perform the (seemingly) final operation and I am not sure what to try now.

Update: I tried to use the trunk from svn and got the same errors.

nathanhold
In need of some credit
In need of some credit
Posts: 2
Joined: Wed May 22, 2013 2:45 am

Re: c++11 MacOSX Clang++ linking

Post by nathanhold » Mon Jun 03, 2013 1:59 am

Vadim (Not I, sorry for any confusion) figured it out, it requires the OBJCXX and LDFLAGS flags to be set:
../configure --with-osx_cocoa --with-macosx-version-min=10.7 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk --prefix="$(pwd)" --with-opengl CC=clang CXX=clang++ CXXFLAGS="-stdlib=libc++ -std=c++11" OBJCXXFLAGS="-stdlib=libc++ -std=c++11" LDFLAGS=-stdlib=libc++
This does not get rid of the configure warnings, but my app compiled and ran successfully using this so I just ignore those warnings.

Thanks to Vadim Zeitlin for the help.

andreasstahl
In need of some credit
In need of some credit
Posts: 5
Joined: Wed Jan 09, 2013 10:04 am

Re: c++11 MacOSX Clang++ linking

Post by andreasstahl » Mon Jul 01, 2013 10:10 am

I'm using the following line for my development (on OS X Lion), which I happened upon by trial and error. It's a bit more explicit about the preprocessor (CPP).

Code: Select all

../configure --with-cocoa --without-subdirs --with-macosx-version-min=10.7 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk CXXFLAGS="-stdlib=libc++ -std=c++11" OBJCXXFLAGS="-stdlib=libc++ -std=c++11" CPPFLAGS="-stdlib=libc++" LDFLAGS="-stdlib=libc++" CXX=clang++ CXXCPP="clang++ -E" CC=clang CPP="clang -E" --enable-debug
The only configure warnings I get are these, which seem not to be related to compiler configuration:

Code: Select all

configure: WARNING: Defaulting to the builtin regex library for Unicode build.
configure: WARNING: system png library not found or too old, will use built-in instead
configure: WARNING: system jpeg library not found, will use built-in instead
configure: WARNING: system tiff library not found, will use built-in instead
configure: WARNING: wxMutex::LockTimeout() will not work
and a few more from libTiff.

Post Reply