Closed kenz-gelsoft closed 2 years ago
Many undefined reference in CI environment:
= note: c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x42c): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_create(unsigned long long&, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x449): undefined reference to `std::__throw_logic_error(char const*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x56e): undefined reference to `std::current_exception()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x590): undefined reference to `std::__exception_ptr::exception_ptr::swap(std::__exception_ptr::exception_ptr&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x598): undefined reference to `std::__exception_ptr::exception_ptr::~exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x5a0): undefined reference to `std::__exception_ptr::exception_ptr::~exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x5ed): undefined reference to `std::__exception_ptr::exception_ptr::exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x622): undefined reference to `std::__exception_ptr::exception_ptr::swap(std::__exception_ptr::exception_ptr&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x62a): undefined reference to `std::__exception_ptr::exception_ptr::~exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x64c): undefined reference to `std::__exception_ptr::exception_ptr::swap(std::__exception_ptr::exception_ptr&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x654): undefined reference to `std::__exception_ptr::exception_ptr::~exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x65e): undefined reference to `std::__exception_ptr::exception_ptr::~exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x669): undefined reference to `std::__exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x671): undefined reference to `std::rethrow_exception(std::__exception_ptr::exception_ptr)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x67c): undefined reference to `std::__exception_ptr::exception_ptr::~exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x684): undefined reference to `std::__exception_ptr::exception_ptr::~exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x79c): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_create(unsigned long long&, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x7b9): undefined reference to `std::__throw_logic_error(char const*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0xbb1): undefined reference to `operator delete[](void*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0xbc1): undefined reference to `operator delete[](void*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x11b0): undefined reference to `__cxa_guard_acquire'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x11cc): undefined reference to `__cxa_guard_release'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x1601): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x1673): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text+0x218): undefined reference to `std::__exception_ptr::exception_ptr::~exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text$_ZN18wxCmdLineArgsArray8FreeArgsEv[_ZN18wxCmdLineArgsArray8FreeArgsEv]+0xc1): undefined reference to `operator delete[](void*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text$_ZN18wxCmdLineArgsArray8FreeArgsEv[_ZN18wxCmdLineArgsArray8FreeArgsEv]+0xd1): undefined reference to `operator delete[](void*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text$_ZN8wxStringaSEPKc[_ZN8wxStringaSEPKc]+0xbb): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace(unsigned long long, unsigned long long, wchar_t const*, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(appbase.cpp.obj):appbase.cpp:(.text.startup+0x57): undefined reference to `std::__exception_ptr::exception_ptr::exception_ptr()'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0xec): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_create(unsigned long long&, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x109): undefined reference to `std::__throw_logic_error(char const*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x22d): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long long, unsigned long long, wchar_t const*, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x2fc): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x46c): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0xaab): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0xabb): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0xb46): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0xf92): more undefined references to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)' follow
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x12fc): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_create(unsigned long long&, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x1887): undefined reference to `std::__throw_logic_error(char const*)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x1946): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x1a04): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_create(unsigned long long&, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x1b8b): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x1cb8): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long long, unsigned long long, wchar_t const*, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x1fda): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x2183): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_append(wchar_t const*, unsigned long long)'
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\runneradmin\.cargo\git\checkouts\wx-x86_64-pc-windows-gnu-e3b66c3b51f90859\b41af99/lib/libwxmsw31u.a(cmdline.cpp.obj):cmdline.cpp:(.text+0x21a1): undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long long, unsigned long long, unsigned long long, wchar_t)'
8a384454b0f1ed04e1bacb96a6a9e1f80883d150 didn't fix this.
Github Actions windows-latest
environment contains mingw64 from chocolatey which packaged:
https://github.com/brechtsanders/winlibs_mingw/releases/tag/11.2.0-12.0.1-9.0.0-r1
according to its build script.
Maybe it is not compatible with @ancwrd1 's -gnu
repo...
@ancwrd1 Any advice which CI service/or CI setting to test building with your prebuilt vendored repo?
I think you might want to try explicit RUSTFLAGS="-C link-arg=-lstdc++"
instead of build.rs.
Thank you for your advice.
Indeed, each sample programs have no C++ source file, linker can't link C++ library automatically...
Thanks, 1e563d215299aa0796d63d478776ee395d8a3177 fixed linking error.
This empty test failure is another problem, but disable test for now because there is no useful unit test code. (I'll fix this and write some test codes in future once API coverage reaches somewhat useful state.)
Running `D:\a\wxRust2\wxRust2\target\x86_64-pc-windows-gnu\debug\deps\wx-9e0742b7c88531ac.exe`
error: test failed, to rerun pass '-p wx --lib'
Caused by:
process didn't exit successfully: `D:\a\wxRust2\wxRust2\target\x86_64-pc-windows-gnu\debug\deps\wx-9e0742b7c88531ac.exe` (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
Error: Process completed with exit code 1.
@ancwrd1 Thank you many help to support this.
I wrote about this feature a bit in README, with acknowledging to you. If you dislike this, I'll fix. Could you check?
I wrote about this feature a bit in README, with acknowledging to you. If you dislike this, I'll fix. Could you check?
It seem you're busy now. I assume this is OK, and will merge this.
Thank you very much. I'm sorry bother you.
Sorry I haven't seen the notifications for some reason. README looks fine, thank you very much for this project. Highly appreciated!.
--features vendored
build CI for following configurations to detect build bustage:--features vendored
information