andlabs / ui

Platform-native GUI library for Go.
Other
8.33k stars 651 forks source link

Can't build windows exe on travis-ci #283

Closed squaredice closed 6 years ago

squaredice commented 6 years ago

As i understnads problem is on mingw-w64

.travis.yaml:

language: go

go:
  - "1.10"

addons:
  apt:
    packages:
      - libgtk-3-dev
      - mingw-w64
      - cmake

script:
  - go get github.com/andlabs/ui
  - wget https://github.com/andlabs/libui/releases/download/alpha3.5/alpha3.5.tgz 
  - tar -zxvf alpha3.5.tgz 
  - cd alpha3.5/src 
  - mkdir build 
  - cd build 
  - cmake -DBUILD_SHARED_LIBS=OFF ..
  - make 
  - cp out/libui.a ${GOPATH}/src/github.com/andlabs/ui/libui_linux_amd64.a
  - cd ${GOPATH}/src/github.com/andlabs/ui/
  - go build
  - cd $HOME/gopath/src/github.com/trigun117/test
  - GOOS=windows CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build -ldflags -H=windowsgui  
  - go build

GOOS=windows CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build -ldflags -H=windowsgui:

# github.com/andlabs/ui
../../andlabs/ui/libui_windows_amd64.a(box.cpp.obj):box.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(box.cpp.obj):box.cpp:(.xdata$_ZNSt6vectorI8boxChildSaIS0_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(box.cpp.obj):box.cpp:(.xdata$_ZNSt6vectorI8boxChildSaIS0_EEC1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(box.cpp.obj):box.cpp:(.xdata$_ZNSt12_Vector_baseI8boxChildSaIS0_EED2Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(box.cpp.obj): In function `void std::vector<boxChild, std::allocator<boxChild> >::_M_realloc_insert<boxChild const&>(__gnu_cxx::__normal_iterator<boxChild*, std::vector<boxChild, std::allocator<boxChild> > >, boxChild const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(box.cpp.obj):box.cpp:(.xdata$_ZNSt6vectorI8boxChildSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(drawtext.cpp.obj):drawtext.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(drawtext.cpp.obj):drawtext.cpp:(.xdata$_ZNSt6vectorI10layoutAttrSaIS0_EEC1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(drawtext.cpp.obj):drawtext.cpp:(.xdata$_ZNSt6vectorI10layoutAttrSaIS0_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(drawtext.cpp.obj):drawtext.cpp:(.xdata$_ZNSt12_Vector_baseI10layoutAttrSaIS0_EED2Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(drawtext.cpp.obj): In function `void std::vector<layoutAttr, std::allocator<layoutAttr> >::_M_realloc_insert<layoutAttr const&>(__gnu_cxx::__normal_iterator<layoutAttr*, std::vector<layoutAttr, std::allocator<layoutAttr> > >, layoutAttr const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(drawtext.cpp.obj):drawtext.cpp:(.xdata$_ZNSt6vectorI10layoutAttrSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(draw.cpp.obj):draw.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(draw.cpp.obj):draw.cpp:(.xdata$_ZNSt6vectorI9drawStateSaIS0_EEC1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(draw.cpp.obj):draw.cpp:(.xdata$_ZNSt6vectorI9drawStateSaIS0_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(draw.cpp.obj):draw.cpp:(.xdata$_ZNSt6vectorI9drawStateSaIS0_EE8pop_backEv+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(draw.cpp.obj):draw.cpp:(.xdata$_ZNSt12_Vector_baseI9drawStateSaIS0_EED2Ev+0xc): more undefined references to `__gxx_personality_seh0' follow
../../andlabs/ui/libui_windows_amd64.a(draw.cpp.obj): In function `void std::vector<drawState, std::allocator<drawState> >::_M_realloc_insert<drawState const&>(__gnu_cxx::__normal_iterator<drawState*, std::vector<drawState, std::allocator<drawState> > >, drawState const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(draw.cpp.obj):draw.cpp:(.xdata$_ZNSt6vectorI9drawStateSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(radiobuttons.cpp.obj):radiobuttons.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(radiobuttons.cpp.obj):radiobuttons.cpp:(.xdata$_ZNSt6vectorIP6HWND__SaIS1_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(radiobuttons.cpp.obj):radiobuttons.cpp:(.xdata$_ZNSt6vectorIP6HWND__SaIS1_EEC1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(radiobuttons.cpp.obj):radiobuttons.cpp:(.xdata$_ZNSt12_Vector_baseIP6HWND__SaIS1_EED2Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(radiobuttons.cpp.obj): In function `void std::vector<HWND__*, std::allocator<HWND__*> >::_M_realloc_insert<HWND__* const&>(__gnu_cxx::__normal_iterator<HWND__**, std::vector<HWND__*, std::allocator<HWND__*> > >, HWND__* const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(radiobuttons.cpp.obj):radiobuttons.cpp:(.xdata$_ZNSt6vectorIP6HWND__SaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(stddialogs.cpp.obj): In function `msgbox':
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/stddialogs.cpp:113: undefined reference to `__imp_TaskDialog'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj):tab.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj):tab.cpp:(.xdata$_ZNSt6vectorIP7tabPageSaIS1_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj): In function `std::vector<tabPage*, std::allocator<tabPage*> >::insert(__gnu_cxx::__normal_iterator<tabPage* const*, std::vector<tabPage*, std::allocator<tabPage*> > >, tabPage* const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/vector.tcc:135: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj):tab.cpp:(.xdata$_ZNSt6vectorIP7tabPageSaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EERS6_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj):tab.cpp:(.xdata$_ZNSt6vectorIP7tabPageSaIS1_EEC1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj):tab.cpp:(.xdata$_ZNSt12_Vector_baseIP7tabPageSaIS1_EED2Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj):tab.cpp:(.xdata$_ZNSt6vectorIP7tabPageSaIS1_EE16_Temporary_valueD1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj): In function `void std::vector<tabPage*, std::allocator<tabPage*> >::_M_realloc_insert<tabPage* const&>(__gnu_cxx::__normal_iterator<tabPage**, std::vector<tabPage*, std::allocator<tabPage*> > >, tabPage* const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(tab.cpp.obj):tab.cpp:(.xdata$_ZNSt6vectorIP7tabPageSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj):window.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj):window.cpp:(.xdata$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj): In function `std::_Rb_tree_iterator<std::pair<uiWindow* const, bool> > std::_Rb_tree<uiWindow*, std::pair<uiWindow* const, bool>, std::_Select1st<std::pair<uiWindow* const, bool> >, std::less<uiWindow*>, std::allocator<std::pair<uiWindow* const, bool> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<uiWindow* const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<uiWindow* const, bool> >, std::piecewise_construct_t const&, std::tuple<uiWindow* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj):window.cpp:(.xdata$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEESt17_Rb_tree_iteratorIS4_ESt23_Rb_tree_const_iteratorIS4_EDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj):window.cpp:(.xdata$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS4_E+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj):window.cpp:(.xdata$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE11_M_put_nodeEPSt13_Rb_tree_nodeIS4_E+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj):window.cpp:(.xdata$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE5clearEv+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj): In function `void std::_Rb_tree<uiWindow*, std::pair<uiWindow* const, bool>, std::_Select1st<std::pair<uiWindow* const, bool> >, std::less<uiWindow*>, std::allocator<std::pair<uiWindow* const, bool> > >::_M_construct_node<std::piecewise_construct_t const&, std::tuple<uiWindow* const&>, std::tuple<> >(std::_Rb_tree_node<std::pair<uiWindow* const, bool> >*, std::piecewise_construct_t const&, std::tuple<uiWindow* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj):window.cpp:(.xdata$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEEvPSt13_Rb_tree_nodeIS4_EDpOT_+0x14): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj): In function `void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<uiWindow* const, bool> > >::construct<std::pair<uiWindow* const, bool>, std::piecewise_construct_t const&, std::tuple<uiWindow* const&>, std::tuple<> >(std::pair<uiWindow* const, bool>*, std::piecewise_construct_t const&, std::tuple<uiWindow* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(window.cpp.obj):window.cpp:(.xdata$_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP8uiWindowbEEE9constructIS6_JRKSt21piecewise_construct_tSt5tupleIJRS5_EESD_IJEEEEEvPT_DpOT0_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `uninitAlloc()':
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:16: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:17: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:24: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::str() const'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:24: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:24: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:25: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:25: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:17: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:17: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:16: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:16: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `uiAlloc':
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/alloc.cpp:34: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata+0x18): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata+0x40): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `std::vector<unsigned char, std::allocator<unsigned char> >::vector(unsigned long long, unsigned char const&, std::allocator<unsigned char> const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_vector.h:297: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt6vectorIhSaIhEEC1EyRKhRKS0_+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZSt16forward_as_tupleIJPhEESt5tupleIJDpOT_EES4_+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt6vectorIhSaIhEED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `std::_Rb_tree_iterator<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*> > std::_Rb_tree<std::vector<unsigned char, std::allocator<unsigned char> >*, std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*>, std::_Select1st<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*> >, std::less<std::vector<unsigned char, std::allocator<unsigned char> >*>, std::allocator<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::vector<unsigned char, std::allocator<unsigned char> >* const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*> >, std::piecewise_construct_t const&, std::tuple<std::vector<unsigned char, std::allocator<unsigned char> >* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS5_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_Vector_base(unsigned long long, std::allocator<unsigned char> const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_vector.h:137: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt12_Vector_baseIhSaIhEEC2EyRKS0_+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt12_Vector_baseIhSaIhEED2Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `std::_Rb_tree_iterator<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> > std::_Rb_tree<unsigned char*, std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*>, std::_Select1st<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> >, std::less<unsigned char*>, std::allocator<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<unsigned char*&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> >, std::piecewise_construct_t const&, std::tuple<unsigned char*&&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOS0_EESI_IJEEEEESt17_Rb_tree_iteratorIS7_ESt23_Rb_tree_const_iteratorIS7_EDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `std::_Rb_tree_iterator<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> > std::_Rb_tree<unsigned char*, std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*>, std::_Select1st<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> >, std::less<unsigned char*>, std::allocator<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<unsigned char* const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> >, std::piecewise_construct_t const&, std::tuple<unsigned char* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS2_EESI_IJEEEEESt17_Rb_tree_iteratorIS7_ESt23_Rb_tree_const_iteratorIS7_EDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned long long, unsigned char const&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/vector.tcc:469: undefined reference to `_Unwind_Resume'
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/vector.tcc:527: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt6vectorIhSaIhEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPhS1_EEyRKh+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt6vectorIhSaIhEE15_M_erase_at_endEPh+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt6vectorIhSaIhEE16_Temporary_valueD1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS7_E+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE11_M_put_nodeEPSt13_Rb_tree_nodeIS7_E+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS8_E+0xc): more undefined references to `__gxx_personality_seh0' follow
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `void std::_Rb_tree<std::vector<unsigned char, std::allocator<unsigned char> >*, std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*>, std::_Select1st<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*> >, std::less<std::vector<unsigned char, std::allocator<unsigned char> >*>, std::allocator<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*> > >::_M_construct_node<std::piecewise_construct_t const&, std::tuple<std::vector<unsigned char, std::allocator<unsigned char> >* const&>, std::tuple<> >(std::_Rb_tree_node<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*> >*, std::piecewise_construct_t const&, std::tuple<std::vector<unsigned char, std::allocator<unsigned char> >* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS5_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_+0x14): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `void std::_Rb_tree<unsigned char*, std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*>, std::_Select1st<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> >, std::less<unsigned char*>, std::allocator<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> > >::_M_construct_node<std::piecewise_construct_t const&, std::tuple<unsigned char*&&>, std::tuple<> >(std::_Rb_tree_node<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> >*, std::piecewise_construct_t const&, std::tuple<unsigned char*&&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJOS0_EESI_IJEEEEEvPSt13_Rb_tree_nodeIS7_EDpOT_+0x14): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `void std::_Rb_tree<unsigned char*, std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*>, std::_Select1st<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> >, std::less<unsigned char*>, std::allocator<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> > >::_M_construct_node<std::piecewise_construct_t const&, std::tuple<unsigned char* const&>, std::tuple<> >(std::_Rb_tree_node<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> >*, std::piecewise_construct_t const&, std::tuple<unsigned char* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS2_EESI_IJEEEEEvPSt13_Rb_tree_nodeIS7_EDpOT_+0x14): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE5clearEv+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE5clearEv+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*> > >::construct<std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*>, std::piecewise_construct_t const&, std::tuple<std::vector<unsigned char, std::allocator<unsigned char> >* const&>, std::tuple<> >(std::pair<std::vector<unsigned char, std::allocator<unsigned char> >* const, char const*>*, std::piecewise_construct_t const&, std::tuple<std::vector<unsigned char, std::allocator<unsigned char> >* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPSt6vectorIhSaIhEEPKcEEE9constructISA_JRKSt21piecewise_construct_tSt5tupleIJRS7_EESH_IJEEEEEvPT_DpOT0_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> > >::construct<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*>, std::piecewise_construct_t const&, std::tuple<unsigned char*&&>, std::tuple<> >(std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*>*, std::piecewise_construct_t const&, std::tuple<unsigned char*&&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPhPSt6vectorIhSaIhEEEEE9constructIS9_JRKSt21piecewise_construct_tSt5tupleIJOS3_EESG_IJEEEEEvPT_DpOT0_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*> > >::construct<std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*>, std::piecewise_construct_t const&, std::tuple<unsigned char* const&>, std::tuple<> >(std::pair<unsigned char* const, std::vector<unsigned char, std::allocator<unsigned char> >*>*, std::piecewise_construct_t const&, std::tuple<unsigned char* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj):alloc.cpp:(.xdata$_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPhPSt6vectorIhSaIhEEEEE9constructIS9_JRKSt21piecewise_construct_tSt5tupleIJRS4_EESG_IJEEEEEvPT_DpOT0_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj): In function `std::_Rb_tree_iterator<std::pair<HWND__* const, handler> > std::_Rb_tree<HWND__*, std::pair<HWND__* const, handler>, std::_Select1st<std::pair<HWND__* const, handler> >, std::less<HWND__*>, std::allocator<std::pair<HWND__* const, handler> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<HWND__* const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<HWND__* const, handler> >, std::piecewise_construct_t const&, std::tuple<HWND__* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESG_IJEEEEESt17_Rb_tree_iteratorIS5_ESt23_Rb_tree_const_iteratorIS5_EDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj): In function `std::_Rb_tree_iterator<std::pair<HWND__* const, bool> > std::_Rb_tree<HWND__*, std::pair<HWND__* const, bool>, std::_Select1st<std::pair<HWND__* const, bool> >, std::less<HWND__*>, std::allocator<std::pair<HWND__* const, bool> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<HWND__* const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<HWND__* const, bool> >, std::piecewise_construct_t const&, std::tuple<HWND__* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEESt17_Rb_tree_iteratorIS4_ESt23_Rb_tree_const_iteratorIS4_EDpOT_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS5_E+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE11_M_put_nodeEPSt13_Rb_tree_nodeIS5_E+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj): In function `void std::_Rb_tree<HWND__*, std::pair<HWND__* const, handler>, std::_Select1st<std::pair<HWND__* const, handler> >, std::less<HWND__*>, std::allocator<std::pair<HWND__* const, handler> > >::_M_construct_node<std::piecewise_construct_t const&, std::tuple<HWND__* const&>, std::tuple<> >(std::_Rb_tree_node<std::pair<HWND__* const, handler> >*, std::piecewise_construct_t const&, std::tuple<HWND__* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESG_IJEEEEEvPSt13_Rb_tree_nodeIS5_EDpOT_+0x14): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS4_E+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE11_M_put_nodeEPSt13_Rb_tree_nodeIS4_E+0xc): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj): In function `void std::_Rb_tree<HWND__*, std::pair<HWND__* const, bool>, std::_Select1st<std::pair<HWND__* const, bool> >, std::less<HWND__*>, std::allocator<std::pair<HWND__* const, bool> > >::_M_construct_node<std::piecewise_construct_t const&, std::tuple<HWND__* const&>, std::tuple<> >(std::_Rb_tree_node<std::pair<HWND__* const, bool> >*, std::piecewise_construct_t const&, std::tuple<HWND__* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEEvPSt13_Rb_tree_nodeIS4_EDpOT_+0x14): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj): In function `void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<HWND__* const, handler> > >::construct<std::pair<HWND__* const, handler>, std::piecewise_construct_t const&, std::tuple<HWND__* const&>, std::tuple<> >(std::pair<HWND__* const, handler>*, std::piecewise_construct_t const&, std::tuple<HWND__* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__7handlerEEE9constructIS7_JRKSt21piecewise_construct_tSt5tupleIJRS5_EESE_IJEEEEEvPT_DpOT0_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj): In function `void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<HWND__* const, bool> > >::construct<std::pair<HWND__* const, bool>, std::piecewise_construct_t const&, std::tuple<HWND__* const&>, std::tuple<> >(std::pair<HWND__* const, bool>*, std::piecewise_construct_t const&, std::tuple<HWND__* const&>&&, std::tuple<>&&)':
E:\github.com\andlabs\libui\build/C:/msys64/mingw64/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(events.cpp.obj):events.cpp:(.xdata$_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__bEEE9constructIS6_JRKSt21piecewise_construct_tSt5tupleIJRS5_EESD_IJEEEEEvPT_DpOT0_+0x10): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(utf16.cpp.obj): In function `ftoutf16(double)':
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:136: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_ostringstream(std::_Ios_Openmode)'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:137: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:140: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::str() const'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:140: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&&)'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:140: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:141: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::c_str() const'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:137: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:136: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_ostringstream()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:137: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:136: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_ostringstream()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:136: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(utf16.cpp.obj): In function `itoutf16(int)':
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:147: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_ostringstream(std::_Ios_Openmode)'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:148: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:151: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::str() const'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:151: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&&)'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:151: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:152: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::c_str() const'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:148: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:147: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_ostringstream()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:148: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:147: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_ostringstream()'
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/utf16.cpp:147: undefined reference to `_Unwind_Resume'
../../andlabs/ui/libui_windows_amd64.a(utf16.cpp.obj):utf16.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(utf16.cpp.obj):utf16.cpp:(.xdata+0x64): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(utf16.cpp.obj):utf16.cpp:(.xdata+0x8c): undefined reference to `__gxx_personality_seh0'
../../andlabs/ui/libui_windows_amd64.a(graphemes.cpp.obj): In function `itemize':
E:\github.com\andlabs\libui\build/E:/github.com/andlabs/libui/windows/graphemes.cpp:23: undefined reference to `__cxa_throw_bad_array_new_length'
collect2: error: ld returned 1 exit status
andlabs commented 6 years ago

Duplicate of #281