Skip to content

How to use the static library? #337

@lewisxy

Description

@lewisxy

I know this question may be dumb, but I just can't figure out how to do it.

I successfully compiled the program with CMake 3.11 on Windows 7 x86 with mingw32 gcc 7.2.0 and it gives two files: one libui.a and another libui.res. I want to test this library so I build the examples with mingw32-make -f Makefile examples using the Makefile generated by CMake, and it works as well.

But I wonder how I can use this library in my own project without CMake since I am not an expert on CMake and I don't want to mess up with it. So I copy the main.c inside the examples\histogram as well as ui.h and the two library files listed above to another location and run the following command in the folder containing main.c

gcc main.c -Iinclude -Llib -lui -o main.exe

I am expecting this to work since main.c only includes ui.h besides standard library and ui.h does not include other external headers as well. but it does work and throws me a bunch of undefined references.
The stderr is attached:

C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `Z11uninitAllocv':
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:16: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:17: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:23: undefined reference to `std::ostream::operator<<(void const*)'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:23: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:23: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:23: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:24: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::str() const'
C:/Users/111111/Desktop/alpha3.5/src/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> >&&)'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:24: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:25: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:25: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:17: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:17: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:16: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `uiAlloc':
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:34: undefined reference to `operator new(unsigned int)'
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:34: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `uiFree':
C:/Users/111111/Desktop/alpha3.5/src/windows/alloc.cpp:61: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKPhPSt6vectorIhSaIhEEEEppEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `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_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `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_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `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_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt6vectorIhSaIhEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPhS1_EEjRKh':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:527: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:537: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:527: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSF_PSt13_Rb_tree_nodeIS7_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNKSt6vectorIhSaIhEE12_M_check_lenEjPKc':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_vector.h:1500: undefined reference to `std::__throw_length_error(char const*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS5_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKPSt6vectorIhSaIhEEPKcEEmmEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKPSt6vectorIhSaIhEEPKcEEppEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJOS0_EESI_IJEEEEEvPSt13_Rb_tree_nodeIS7_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKPhPSt6vectorIhSaIhEEEEmmEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS2_EESI_IJEEEEEvPSt13_Rb_tree_nodeIS7_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt23_Rb_tree_const_iteratorISt4pairIKPhPSt6vectorIhSaIhEEEEppEi':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:374: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS7_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2473: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt23_Rb_tree_const_iteratorISt4pairIKPSt6vectorIhSaIhEEPKcEEppEi':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:374: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS8_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2473: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIhE10deallocateEPhj':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIhE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPhPSt6vectorIhSaIhEEEEE10deallocateEPSA_j':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPSt6vectorIhSaIhEEPKcEEE10deallocateEPSB_j':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPSt6vectorIhSaIhEEPKcEEE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPhPSt6vectorIhSaIhEEEEE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame+0x4b): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZNSt6vectorIhSaIhEEC1EjRKhRKS0_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZSt16forward_as_tupleIJPhEESt5tupleIJDpOT_EES4_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZNSt6vectorIhSaIhEED1Ev+0x13): more undefined references to `__gxx_personality_v0' follow
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(areaevents.cpp.obj): In function `track':
C:/Users/111111/Desktop/alpha3.5/src/windows/areaevents.cpp:54: undefined reference to `_imp___TrackMouseEvent@4'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj): In function `uiBoxDestroy':
C:/Users/111111/Desktop/alpha3.5/src/windows/box.cpp:131: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj): In function `finishNewBox':
C:/Users/111111/Desktop/alpha3.5/src/windows/box.cpp:307: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj): In function `ZNSt6vectorI8boxChildSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:436: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:444: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:436: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj): In function `ZNKSt6vectorI8boxChildSaIS0_EE12_M_check_lenEjPKc':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_vector.h:1500: undefined reference to `std::__throw_length_error(char const*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorI8boxChildE10deallocateEPS1_j':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorI8boxChildE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj):box.cpp:(.eh_frame$_ZNSt6vectorI8boxChildSaIS0_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj):box.cpp:(.eh_frame$_ZNSt6vectorI8boxChildSaIS0_EEC1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj):box.cpp:(.eh_frame$_ZNSt12_Vector_baseI8boxChildSaIS0_EED2Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(box.cpp.obj):box.cpp:(.eh_frame$_ZNSt6vectorI8boxChildSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `svChooserSubProc':
C:/Users/111111/Desktop/alpha3.5/src/windows/colordialog.cpp:565: undefined reference to `RemoveWindowSubclass@12'
C:/Users/111111/Desktop/alpha3.5/src/windows/colordialog.cpp:569: undefined reference to `DefSubclassProc@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZN4D2D110Matrix3x2F8RotationEf12D2D_POINT_2F':
D:/mingw32/i686-w64-mingw32/include/d2d1helper.h:402: undefined reference to `D2D1MakeRotateMatrix@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `hSliderSubProc':
C:/Users/111111/Desktop/alpha3.5/src/windows/colordialog.cpp:709: undefined reference to `RemoveWindowSubclass@12'
C:/Users/111111/Desktop/alpha3.5/src/windows/colordialog.cpp:713: undefined reference to `DefSubclassProc@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `previewSubProc':
C:/Users/111111/Desktop/alpha3.5/src/windows/colordialog.cpp:762: undefined reference to `RemoveWindowSubclass@12'
C:/Users/111111/Desktop/alpha3.5/src/windows/colordialog.cpp:766: undefined reference to `DefSubclassProc@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `opacitySliderSubProc':
C:/Users/111111/Desktop/alpha3.5/src/windows/colordialog.cpp:851: undefined reference to `RemoveWindowSubclass@12'
C:/Users/111111/Desktop/alpha3.5/src/windows/colordialog.cpp:855: undefined reference to `DefSubclassProc@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOiEESH_IJEEEEESt17_Rb_tree_iteratorIS6_ESt23_Rb_tree_const_iteratorIS6_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSE_PSt13_Rb_tree_nodeIS6_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE10_M_insert_IRKS6_NSC_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS6_EPSt18_Rb_tree_node_baseSK_OT_RT0_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:1755: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJOiEESH_IJEEEEEvPSt13_Rb_tree_nodeIS6_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKiPFvP11colorDialogEEEmmEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKiPFvP11colorDialogEEEppEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiPFvP11colorDialogEEEE10deallocateEPS9_j':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiPFvP11colorDialogEEEE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE17_M_construct_nodeIJRKS6_EEEvPSt13_Rb_tree_nodeIS6_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame+0x56f): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZNSt3mapIiPFvP11colorDialogESt4lessIiESaISt4pairIKiS3_EEEC1ESt16initializer_listIS8_ERKS5_RKS9_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZSt16forward_as_tupleIJiEESt5tupleIJDpOT_EES3_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EEC1ERKSA_RKSB_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOiEESH_IJEEEEESt17_Rb_tree_iteratorIS6_ESt23_Rb_tree_const_iteratorIS6_EDpOT_+0x13): more undefined references to `__gxx_personality_v0' follow
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(d2dscratch.cpp.obj): In function `Z13newD2DScratchP6HWND__P7tagRECTP7HMENU__PU7stdcallFlS0_jjljmEm':
C:/Users/111111/Desktop/alpha3.5/src/windows/d2dscratch.cpp:163: undefined reference to `SetWindowSubclass@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `Z8initDrawv':
C:/Users/111111/Desktop/alpha3.5/src/windows/draw.cpp:17: undefined reference to `D2D1CreateFactory@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `Z20makeHWNDRenderTargetP6HWND__':
C:/Users/111111/Desktop/alpha3.5/src/windows/draw.cpp:44: undefined reference to `_imp__GetDeviceCaps@8'
C:/Users/111111/Desktop/alpha3.5/src/windows/draw.cpp:45: undefined reference to `_imp__GetDeviceCaps@8'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `Z19makeHDCRenderTargetP5HDC(tagRECT *)':
C:/Users/111111/Desktop/alpha3.5/src/windows/draw.cpp:80: undefined reference to `_imp__GetDeviceCaps@8'
C:/Users/111111/Desktop/alpha3.5/src/windows/draw.cpp:81: undefined reference to `_imp__GetDeviceCaps@8'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `Z10newContextP17ID2D1RenderTarget':
C:/Users/111111/Desktop/alpha3.5/src/windows/draw.cpp:112: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `Z11freeContextP13uiDrawContext':
C:/Users/111111/Desktop/alpha3.5/src/windows/draw.cpp:124: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `ZNSt6vectorI9drawStateSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:436: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:444: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/vector.tcc:436: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `ZNKSt6vectorI9drawStateSaIS0_EE12_M_check_lenEjPKc':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_vector.h:1500: undefined reference to `std::__throw_length_error(char const*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorI9drawStateE10deallocateEPS1_j':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorI9drawStateE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt6vectorI9drawStateSaIS0_EEC1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt6vectorI9drawStateSaIS0_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt6vectorI9drawStateSaIS0_EE8pop_backEv+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt12_Vector_baseI9drawStateSaIS0_EED2Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt6vectorI9drawStateSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(drawmatrix.cpp.obj): In function `ZN4D2D110Matrix3x2F8RotationEf12D2D_POINT_2F':
D:/mingw32/i686-w64-mingw32/include/d2d1helper.h:402: undefined reference to `D2D1MakeRotateMatrix@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(drawmatrix.cpp.obj): In function `ZN4D2D110Matrix3x2F4SkewEff12D2D_POINT_2F':
D:/mingw32/i686-w64-mingw32/include/d2d1helper.h:408: undefined reference to `D2D1MakeSkewMatrix@20'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(drawmatrix.cpp.obj): In function `uiDrawMatrixInvertible':
C:/Users/111111/Desktop/alpha3.5/src/windows/drawmatrix.cpp:87: undefined reference to `D2D1IsMatrixInvertible@4'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(drawmatrix.cpp.obj): In function `uiDrawMatrixInvert':
C:/Users/111111/Desktop/alpha3.5/src/windows/drawmatrix.cpp:95: undefined reference to `D2D1InvertMatrix@4'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP6HWND__bEEppEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `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_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `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_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSD_PSt13_Rb_tree_nodeIS5_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSC_PSt13_Rb_tree_nodeIS4_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESG_IJEEEEEvPSt13_Rb_tree_nodeIS5_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP6HWND__7handlerEEmmEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP6HWND__7handlerEEppEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEEvPSt13_Rb_tree_nodeIS4_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP6HWND__bEEmmEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__7handlerEEE10deallocateEPS8_j':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__7handlerEEE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__bEEE10deallocateEPS7_j':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__bEEE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_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_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_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_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS5_E+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE11_M_put_nodeEPSt13_Rb_tree_nodeIS5_E+0x13): more undefined references to `__gxx_personality_v0' follow
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(init.cpp.obj): In function `uiInit':
C:/Users/111111/Desktop/alpha3.5/src/windows/init.cpp:93: undefined reference to `_imp__CreateFontIndirectW@4'
C:/Users/111111/Desktop/alpha3.5/src/windows/init.cpp:100: undefined reference to `_imp__GetStockObject@4'
C:/Users/111111/Desktop/alpha3.5/src/windows/init.cpp:107: undefined reference to `_imp__InitCommonControlsEx@4'
C:/Users/111111/Desktop/alpha3.5/src/windows/init.cpp:110: undefined reference to `_imp__CoInitialize@4'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(init.cpp.obj): In function `uiUninit':
C:/Users/111111/Desktop/alpha3.5/src/windows/init.cpp:144: undefined reference to `_imp__CoUninitialize@0'
C:/Users/111111/Desktop/alpha3.5/src/windows/init.cpp:145: undefined reference to `_imp__DeleteObject@4'
C:/Users/111111/Desktop/alpha3.5/src/windows/init.cpp:148: undefined reference to `_imp__DeleteObject@4'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(parent.cpp.obj): In function `parentDraw':
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:37: undefined reference to `_imp__CreateCompatibleDC@4'
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:40: undefined reference to `_imp__CreateCompatibleBitmap@12'
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:43: undefined reference to `_imp__SelectObject@8'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(parent.cpp.obj): In function `endParentDraw':
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:54: undefined reference to `_imp__SelectObject@8'
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:57: undefined reference to `_imp__DeleteObject@4'
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:60: undefined reference to `_imp__DeleteDC@4'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(parent.cpp.obj): In function `getControlBackgroundBrush':
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:78: undefined reference to `_imp__CreatePatternBrush@4'
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:91: undefined reference to `_imp__SetBrushOrgEx@16'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(parent.cpp.obj): In function `Z24paintContainerBackgroundP6HWND(HDC__ *, tagRECT *)':
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:111: undefined reference to `_imp__BitBlt@36'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(parent.cpp.obj): In function `Z20handleParentMessagesP6HWND__jjlPl':
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:133: undefined reference to `_imp__DeleteObject@4'
C:/Users/111111/Desktop/alpha3.5/src/windows/parent.cpp:135: undefined reference to `_imp__SetBkMode@8'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(sizing.cpp.obj): In function `Z9getSizingP6HWND(uiWindowsSizing *, HFONT__ *)':
C:/Users/111111/Desktop/alpha3.5/src/windows/sizing.cpp:15: undefined reference to `_imp__SelectObject@8'
C:/Users/111111/Desktop/alpha3.5/src/windows/sizing.cpp:20: undefined reference to `_imp__GetTextMetricsW@8'
C:/Users/111111/Desktop/alpha3.5/src/windows/sizing.cpp:22: undefined reference to `_imp__GetTextExtentPoint32W@16'
C:/Users/111111/Desktop/alpha3.5/src/windows/sizing.cpp:29: undefined reference to `_imp__SelectObject@8'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(text.cpp.obj): In function `uiWindowsWindowTextWidth':
C:/Users/111111/Desktop/alpha3.5/src/windows/text.cpp:63: undefined reference to `_imp__SelectObject@8'
C:/Users/111111/Desktop/alpha3.5/src/windows/text.cpp:69: undefined reference to `_imp__GetTextExtentPoint32W@16'
C:/Users/111111/Desktop/alpha3.5/src/windows/text.cpp:76: undefined reference to `_imp__SelectObject@8'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(utf16.cpp.obj): In function `Z8ftoutf16d':
C:/Users/111111/Desktop/alpha3.5/src/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)'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:137: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:139: undefined reference to `std::basic_ostream<wchar_t, std::char_traits<wchar_t> >::operator<<(double)'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:140: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::str() const'
C:/Users/111111/Desktop/alpha3.5/src/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> >&&)'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:140: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/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'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:137: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:136: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_ostringstream()'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:137: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:136: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_ostringstream()'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(utf16.cpp.obj): In function `Z8itoutf16i':
C:/Users/111111/Desktop/alpha3.5/src/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)'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:148: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:150: undefined reference to `std::basic_ostream<wchar_t, std::char_traits<wchar_t> >::operator<<(int)'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:151: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::str() const'
C:/Users/111111/Desktop/alpha3.5/src/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> >&&)'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:151: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/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'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:148: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:147: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_ostringstream()'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:148: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
C:/Users/111111/Desktop/alpha3.5/src/windows/utf16.cpp:147: undefined reference to `std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_ostringstream()'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(utf16.cpp.obj):utf16.cpp:(.eh_frame+0x10b): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP8uiWindowbEEppEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `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_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSC_PSt13_Rb_tree_nodeIS4_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `ZNSt23_Rb_tree_const_iteratorISt4pairIKP8uiWindowbEEppEi':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:374: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS4_E':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:2473: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEEvPSt13_Rb_tree_nodeIS4_EDpOT_':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP8uiWindowbEEmmEv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP8uiWindowbEEE10deallocateEPS7_j':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP8uiWindowbEEE8allocateEjPKv':
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
D:/mingw32/lib/gcc/i686-w64-mingw32/7.2.0/include/c++/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_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_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS4_E+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE11_M_put_nodeEPSt13_Rb_tree_nodeIS4_E+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE5clearEv+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEEvPSt13_Rb_tree_nodeIS4_EDpOT_+0x13): more undefined references to `__gxx_personality_v0' follow
C:\Users\111111\Desktop\alpha3.5\src\examples\histogram\lib/libui.a(dwrite.cpp.obj): In function `Z12initDrawTextv':
C:/Users/111111/Desktop/alpha3.5/src/windows/dwrite.cpp:12: undefined reference to `_imp__DWriteCreateFactory@12'
collect2.exe: error: ld returned 1 exit status

Before I compile the library myself, I use the prebuild static library for mingw in the Alpha 3.5 release and tdm-gcc 5.1.0 to build main.c. The compiler throw me something similar:

C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `Z8initDrawv':
E:/github.com/andlabs/libui/windows/draw.cpp:17: undefined reference to `D2D1CreateFactory@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `Z20makeHWNDRenderTargetP6HWND__':
E:/github.com/andlabs/libui/windows/draw.cpp:44: undefined reference to `_imp__GetDeviceCaps@8'
E:/github.com/andlabs/libui/windows/draw.cpp:45: undefined reference to `_imp__GetDeviceCaps@8'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `Z19makeHDCRenderTargetP5HDC(tagRECT *)':
E:/github.com/andlabs/libui/windows/draw.cpp:80: undefined reference to `_imp__GetDeviceCaps@8'
E:/github.com/andlabs/libui/windows/draw.cpp:81: undefined reference to `_imp__GetDeviceCaps@8'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `Z10newContextP17ID2D1RenderTarget':
E:/github.com/andlabs/libui/windows/draw.cpp:112: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `Z11freeContextP13uiDrawContext':
E:/github.com/andlabs/libui/windows/draw.cpp:124: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `ZNSt6vectorI9drawStateSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:444: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `ZNKSt6vectorI9drawStateSaIS0_EE12_M_check_lenEjPKc':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_vector.h:1500: undefined reference to `std::__throw_length_error(char const*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorI9drawStateE10deallocateEPS1_j':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorI9drawStateE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt6vectorI9drawStateSaIS0_EEC1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt6vectorI9drawStateSaIS0_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt6vectorI9drawStateSaIS0_EE8pop_backEv+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt12_Vector_baseI9drawStateSaIS0_EED2Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(draw.cpp.obj):draw.cpp:(.eh_frame$_ZNSt6vectorI9drawStateSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(drawmatrix.cpp.obj): In function `ZN4D2D110Matrix3x2F8RotationEf12D2D_POINT_2F':
C:/msys64/mingw32/i686-w64-mingw32/include/d2d1helper.h:402: undefined reference to `D2D1MakeRotateMatrix@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(drawmatrix.cpp.obj): In function `ZN4D2D110Matrix3x2F4SkewEff12D2D_POINT_2F':
C:/msys64/mingw32/i686-w64-mingw32/include/d2d1helper.h:408: undefined reference to `D2D1MakeSkewMatrix@20'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(drawmatrix.cpp.obj): In function `uiDrawMatrixInvertible':
E:/github.com/andlabs/libui/windows/drawmatrix.cpp:87: undefined reference to `D2D1IsMatrixInvertible@4'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(drawmatrix.cpp.obj): In function `uiDrawMatrixInvert':
E:/github.com/andlabs/libui/windows/drawmatrix.cpp:95: undefined reference to `D2D1InvertMatrix@4'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(init.cpp.obj): In function `uiInit':
E:/github.com/andlabs/libui/windows/init.cpp:93: undefined reference to `_imp__CreateFontIndirectW@4'
E:/github.com/andlabs/libui/windows/init.cpp:100: undefined reference to `_imp__GetStockObject@4'
E:/github.com/andlabs/libui/windows/init.cpp:107: undefined reference to `_imp__InitCommonControlsEx@4'
E:/github.com/andlabs/libui/windows/init.cpp:110: undefined reference to `_imp__CoInitialize@4'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(init.cpp.obj): In function `uiUninit':
E:/github.com/andlabs/libui/windows/init.cpp:144: undefined reference to `_imp__CoUninitialize@0'
E:/github.com/andlabs/libui/windows/init.cpp:145: undefined reference to `_imp__DeleteObject@4'
E:/github.com/andlabs/libui/windows/init.cpp:148: undefined reference to `_imp__DeleteObject@4'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP8uiWindowbEEppEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `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_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSC_PSt13_Rb_tree_nodeIS4_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZNSt23_Rb_tree_const_iteratorISt4pairIKP8uiWindowbEEppEi':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:374: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS4_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2473: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEEvPSt13_Rb_tree_nodeIS4_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP8uiWindowbEEmmEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP8uiWindowbEEE10deallocateEPS7_j':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP8uiWindowbEEE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP8uiWindowbEEE9constructIS6_JRKSt21piecewise_construct_tSt5tupleIJRS5_EESD_IJEEEEEvPT_DpOT0_':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_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_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS4_E+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE11_M_put_nodeEPSt13_Rb_tree_nodeIS4_E+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE5clearEv+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(window.cpp.obj):window.cpp:(.eh_frame$_ZNSt8_Rb_treeIP8uiWindowSt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEEvPSt13_Rb_tree_nodeIS4_EDpOT_+0x13): more undefined references to `__gxx_personality_v0' follow
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj): In function `uiBoxDestroy':
E:/github.com/andlabs/libui/windows/box.cpp:131: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj): In function `finishNewBox':
E:/github.com/andlabs/libui/windows/box.cpp:307: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj): In function `ZNSt6vectorI8boxChildSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:444: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:436: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj): In function `ZNKSt6vectorI8boxChildSaIS0_EE12_M_check_lenEjPKc':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_vector.h:1500: undefined reference to `std::__throw_length_error(char const*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorI8boxChildE10deallocateEPS1_j':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorI8boxChildE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj):box.cpp:(.eh_frame$_ZNSt6vectorI8boxChildSaIS0_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj):box.cpp:(.eh_frame$_ZNSt6vectorI8boxChildSaIS0_EEC1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj):box.cpp:(.eh_frame$_ZNSt12_Vector_baseI8boxChildSaIS0_EED2Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(box.cpp.obj):box.cpp:(.eh_frame$_ZNSt6vectorI8boxChildSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(text.cpp.obj): In function `uiWindowsWindowTextWidth':
E:/github.com/andlabs/libui/windows/text.cpp:63: undefined reference to `_imp__SelectObject@8'
E:/github.com/andlabs/libui/windows/text.cpp:69: undefined reference to `_imp__GetTextExtentPoint32W@16'
E:/github.com/andlabs/libui/windows/text.cpp:76: undefined reference to `_imp__SelectObject@8'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `Z11uninitAllocv':
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/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/windows/alloc.cpp:23: undefined reference to `std::ostream::operator<<(void const*)'
E:/github.com/andlabs/libui/windows/alloc.cpp:23: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
E:/github.com/andlabs/libui/windows/alloc.cpp:23: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
E:/github.com/andlabs/libui/windows/alloc.cpp:23: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
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/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/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/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/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/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/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/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/windows/alloc.cpp:16: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `uiAlloc':
E:/github.com/andlabs/libui/windows/alloc.cpp:34: undefined reference to `operator new(unsigned int)'
E:/github.com/andlabs/libui/windows/alloc.cpp:34: undefined reference to `operator delete(void*)'
E:/github.com/andlabs/libui/windows/alloc.cpp:34: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `uiFree':
E:/github.com/andlabs/libui/windows/alloc.cpp:61: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKPhPSt6vectorIhSaIhEEEEppEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt6vectorIhSaIhEEC1EjRKhRKS0_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_vector.h:297: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `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_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt12_Vector_baseIhSaIhEEC2EjRKS0_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_vector.h:137: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `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_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `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_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt6vectorIhSaIhEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPhS1_EEjRKh':
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:469: undefined reference to `_Unwind_Resume'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:527: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:537: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:527: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/vector.tcc:527: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSF_PSt13_Rb_tree_nodeIS7_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNKSt6vectorIhSaIhEE12_M_check_lenEjPKc':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_vector.h:1500: undefined reference to `std::__throw_length_error(char const*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS5_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKPSt6vectorIhSaIhEEPKcEEmmEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKPSt6vectorIhSaIhEEPKcEEppEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJOS0_EESI_IJEEEEEvPSt13_Rb_tree_nodeIS7_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKPhPSt6vectorIhSaIhEEEEmmEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS2_EESI_IJEEEEEvPSt13_Rb_tree_nodeIS7_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt23_Rb_tree_const_iteratorISt4pairIKPhPSt6vectorIhSaIhEEEEppEi':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:374: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS7_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2473: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt23_Rb_tree_const_iteratorISt4pairIKPSt6vectorIhSaIhEEPKcEEppEi':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:374: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS8_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2473: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIhE10deallocateEPhj':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorIhE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPhPSt6vectorIhSaIhEEEEE10deallocateEPSA_j':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPSt6vectorIhSaIhEEPKcEEE10deallocateEPSB_j':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPSt6vectorIhSaIhEEPKcEEE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPSt6vectorIhSaIhEEPKcEEE9constructISA_JRKSt21piecewise_construct_tSt5tupleIJRS7_EESH_IJEEEEEvPT_DpOT0_':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPhPSt6vectorIhSaIhEEEEE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPhPSt6vectorIhSaIhEEEEE9constructIS9_JRKSt21piecewise_construct_tSt5tupleIJOS3_EESG_IJEEEEEvPT_DpOT0_':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPhPSt6vectorIhSaIhEEEEE9constructIS9_JRKSt21piecewise_construct_tSt5tupleIJRS4_EESG_IJEEEEEvPT_DpOT0_':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame+0x4b): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZNSt8_Rb_treeIPhSt4pairIKS0_PSt6vectorIhSaIhEEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZNSt8_Rb_treeIPSt6vectorIhSaIhEESt4pairIKS3_PKcESt10_Select1stIS8_ESt4lessIS3_ESaIS8_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZNSt6vectorIhSaIhEEC1EjRKhRKS0_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZSt16forward_as_tupleIJPhEESt5tupleIJDpOT_EES4_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(alloc.cpp.obj):alloc.cpp:(.eh_frame$_ZNSt6vectorIhSaIhEED1Ev+0x13): more undefined references to `__gxx_personality_v0' follow
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP6HWND__bEEppEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `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_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `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_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSD_PSt13_Rb_tree_nodeIS5_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSC_PSt13_Rb_tree_nodeIS4_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESG_IJEEEEEvPSt13_Rb_tree_nodeIS5_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP6HWND__7handlerEEmmEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP6HWND__7handlerEEppEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS3_EESF_IJEEEEEvPSt13_Rb_tree_nodeIS4_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKP6HWND__bEEmmEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__7handlerEEE10deallocateEPS8_j':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__7handlerEEE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__7handlerEEE9constructIS7_JRKSt21piecewise_construct_tSt5tupleIJRS5_EESE_IJEEEEEvPT_DpOT0_':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__bEEE10deallocateEPS7_j':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__bEEE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKP6HWND__bEEE9constructIS6_JRKSt21piecewise_construct_tSt5tupleIJRS5_EESD_IJEEEEEvPT_DpOT0_':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_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_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_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_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeIS5_E+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(events.cpp.obj):events.cpp:(.eh_frame$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_7handlerESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE11_M_put_nodeEPSt13_Rb_tree_nodeIS5_E+0x13): more undefined references to `__gxx_personality_v0' follow
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(sizing.cpp.obj): In function `Z9getSizingP6HWND(uiWindowsSizing *, HFONT__ *)':
E:/github.com/andlabs/libui/windows/sizing.cpp:15: undefined reference to `_imp__SelectObject@8'
E:/github.com/andlabs/libui/windows/sizing.cpp:20: undefined reference to `_imp__GetTextMetricsW@8'
E:/github.com/andlabs/libui/windows/sizing.cpp:22: undefined reference to `_imp__GetTextExtentPoint32W@16'
E:/github.com/andlabs/libui/windows/sizing.cpp:29: undefined reference to `_imp__SelectObject@8'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(debug.cpp.obj): In function `realbug':
E:/github.com/andlabs/libui/windows/debug.cpp:76: undefined reference to `_imp__vsprintf_s'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `svChooserSubProc':
E:/github.com/andlabs/libui/windows/colordialog.cpp:565: undefined reference to `RemoveWindowSubclass@12'
E:/github.com/andlabs/libui/windows/colordialog.cpp:569: undefined reference to `DefSubclassProc@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZN4D2D110Matrix3x2F8RotationEf12D2D_POINT_2F':
C:/msys64/mingw32/i686-w64-mingw32/include/d2d1helper.h:402: undefined reference to `D2D1MakeRotateMatrix@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `hSliderSubProc':
E:/github.com/andlabs/libui/windows/colordialog.cpp:709: undefined reference to `RemoveWindowSubclass@12'
E:/github.com/andlabs/libui/windows/colordialog.cpp:713: undefined reference to `DefSubclassProc@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `previewSubProc':
E:/github.com/andlabs/libui/windows/colordialog.cpp:762: undefined reference to `RemoveWindowSubclass@12'
E:/github.com/andlabs/libui/windows/colordialog.cpp:766: undefined reference to `DefSubclassProc@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `opacitySliderSubProc':
E:/github.com/andlabs/libui/windows/colordialog.cpp:851: undefined reference to `RemoveWindowSubclass@12'
E:/github.com/andlabs/libui/windows/colordialog.cpp:855: undefined reference to `DefSubclassProc@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `_static_initialization_and_destruction_0':
E:/github.com/andlabs/libui/windows/colordialog.cpp:1189: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt3mapIiPFvP11colorDialogESt4lessIiESaISt4pairIKiS3_EEEC1ESt16initializer_listIS8_ERKS5_RKS9_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_map.h:223: undefined reference to `_Unwind_Resume'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_map.h:223: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EEC1ERKSA_RKSB_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:918: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOiEESH_IJEEEEESt17_Rb_tree_iteratorIS6_ESt23_Rb_tree_const_iteratorIS6_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2413: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2410: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSE_PSt13_Rb_tree_nodeIS6_E':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:2304: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE10_M_insert_IRKS6_NSC_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS6_EPSt18_Rb_tree_node_baseSK_OT_RT0_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:1755: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJOiEESH_IJEEEEEvPSt13_Rb_tree_nodeIS6_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKiPFvP11colorDialogEEEmmEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:302: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt17_Rb_tree_iteratorISt4pairIKiPFvP11colorDialogEEEppEv':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:287: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiPFvP11colorDialogEEEE10deallocateEPS9_j':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:125: undefined reference to `operator delete(void*)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiPFvP11colorDialogEEEE8allocateEjPKv':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:111: undefined reference to `operator new(unsigned int)'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiPFvP11colorDialogEEEE9constructIS8_JRKSt21piecewise_construct_tSt5tupleIJOiEESF_IJEEEEEvPT_DpOT0_':
C:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:136: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj): In function `ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE17_M_construct_nodeIJRKS6_EEEvPSt13_Rb_tree_nodeIS6_EDpOT_':
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_begin_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:634: undefined reference to `__cxa_rethrow'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `__cxa_end_catch'
C:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:630: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame+0x56f): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZNSt3mapIiPFvP11colorDialogESt4lessIiESaISt4pairIKiS3_EEEC1ESt16initializer_listIS8_ERKS5_RKS9_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZSt16forward_as_tupleIJiEESt5tupleIJDpOT_EES3_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EEC1ERKSA_RKSB_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(colordialog.cpp.obj):colordialog.cpp:(.eh_frame$_ZNSt8_Rb_treeIiSt4pairIKiPFvP11colorDialogEESt10_Select1stIS6_ESt4lessIiESaIS6_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOiEESH_IJEEEEESt17_Rb_tree_iteratorIS6_ESt23_Rb_tree_const_iteratorIS6_EDpOT_+0x13): more undefined references to `__gxx_personality_v0' follow
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(areaevents.cpp.obj): In function `track':
E:/github.com/andlabs/libui/windows/areaevents.cpp:54: undefined reference to `_imp___TrackMouseEvent@4'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(utf16.cpp.obj): In function `Z8utf16dupPKw':
E:/github.com/andlabs/libui/windows/utf16.cpp:59: undefined reference to `_imp__wcscpy_s'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(utf16.cpp.obj): In function `Z5vstrfPKwPc':
E:/github.com/andlabs/libui/windows/utf16.cpp:90: undefined reference to `vswprintf_s'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(utf16.cpp.obj): In function `Z8ftoutf16d':
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/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/windows/utf16.cpp:139: undefined reference to `std::basic_ostream<wchar_t, std::char_traits<wchar_t> >::operator<<(double)'
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/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/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/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/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/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/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/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/windows/utf16.cpp:136: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(utf16.cpp.obj): In function `Z8itoutf16i':
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/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/windows/utf16.cpp:150: undefined reference to `std::basic_ostream<wchar_t, std::char_traits<wchar_t> >::operator<<(int)'
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/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/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/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/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/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/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/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/windows/utf16.cpp:147: undefined reference to `_Unwind_Resume'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(utf16.cpp.obj):utf16.cpp:(.eh_frame+0x10b): undefined reference to `__gxx_personality_v0'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(dwrite.cpp.obj): In function `Z12initDrawTextv':
E:/github.com/andlabs/libui/windows/dwrite.cpp:12: undefined reference to `_imp__DWriteCreateFactory@12'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(d2dscratch.cpp.obj): In function `Z13newD2DScratchP6HWND__P7tagRECTP7HMENU__PU7stdcallFlS0_jjljmEm':
E:/github.com/andlabs/libui/windows/d2dscratch.cpp:163: undefined reference to `SetWindowSubclass@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(parent.cpp.obj): In function `parentDraw':
E:/github.com/andlabs/libui/windows/parent.cpp:37: undefined reference to `_imp__CreateCompatibleDC@4'
E:/github.com/andlabs/libui/windows/parent.cpp:40: undefined reference to `_imp__CreateCompatibleBitmap@12'
E:/github.com/andlabs/libui/windows/parent.cpp:43: undefined reference to `_imp__SelectObject@8'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(parent.cpp.obj): In function `endParentDraw':
E:/github.com/andlabs/libui/windows/parent.cpp:54: undefined reference to `_imp__SelectObject@8'
E:/github.com/andlabs/libui/windows/parent.cpp:57: undefined reference to `_imp__DeleteObject@4'
E:/github.com/andlabs/libui/windows/parent.cpp:60: undefined reference to `_imp__DeleteDC@4'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(parent.cpp.obj): In function `getControlBackgroundBrush':
E:/github.com/andlabs/libui/windows/parent.cpp:78: undefined reference to `_imp__CreatePatternBrush@4'
E:/github.com/andlabs/libui/windows/parent.cpp:91: undefined reference to `_imp__SetBrushOrgEx@16'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(parent.cpp.obj): In function `Z24paintContainerBackgroundP6HWND(HDC__ *, tagRECT *)':
E:/github.com/andlabs/libui/windows/parent.cpp:111: undefined reference to `_imp__BitBlt@36'
C:\Users\111111\Desktop\alpha3.5\windows_386\mingw_static/libui.a(parent.cpp.obj): In function `Z20handleParentMessagesP6HWND__jjlPl':
E:/github.com/andlabs/libui/windows/parent.cpp:133: undefined reference to `_imp__DeleteObject@4'
E:/github.com/andlabs/libui/windows/parent.cpp:135: undefined reference to `_imp__SetBkMode@8'
collect2.exe: error: ld returned 1 exit status

And now I am frustrated of what I should do. I really love this project since this seemed to be the only lightweight crossplatform GUI library for C on the Internet. So it is highly appreciated if any one can help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions