Guest
Login
跳过导航链接

Compile Error:

  D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text+0x23b): undefined reference to `std::istream::operator>>(int&)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text+0x250): undefined reference to `std::basic_ios<char, std::char_traits<char> >::operator bool() const'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text+0x481): undefined reference to `std::ostream::operator<<(std::ios_base& (*)(std::ios_base&))'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text+0x498): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::_Setw)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text+0x4cc): undefined reference to `std::ostream::operator<<(int)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text+0x4f4): undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text+0x520): undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata+0x1c): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt12_Vector_baseIiSaIiEED2Ev+0xc): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt6vectorIiSaIiEED1Ev+0xc): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt6vectorIiSaIiEEC1EyRKS0_+0xc): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt6vectorIS_IiSaIiEESaIS1_EEC1EyRKS1_RKS2_+0xc): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev+0xc): more undefined references to `__gxx_personality_seh0' follow
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt6vectorIiSaIiEE17_S_check_init_lenEyRKS0_[_ZNSt6vectorIiSaIiEE17_S_check_init_lenEyRKS0_]+0x5c): undefined reference to `std::__throw_length_error(char const*)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt12_Vector_baseIiSaIiEEC2EyRKS0_+0xc): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_S_check_init_lenEyRKS2_[_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_S_check_init_lenEyRKS2_]+0x5c): undefined reference to `std::__throw_length_error(char const*)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EEC2EyRKS3_+0xc): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EED2Ev+0xc): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNKSt6vectorIiSaIiEE12_M_check_lenEyPKc[_ZNKSt6vectorIiSaIiEE12_M_check_lenEyPKc]+0x4e): undefined reference to `std::__throw_length_error(char const*)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt15__new_allocatorIiE10deallocateEPiy[_ZNSt15__new_allocatorIiE10deallocateEPiy]+0x28): undefined reference to `operator delete(void*, unsigned long long)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt15__new_allocatorIiE8allocateEyPKv[_ZNSt15__new_allocatorIiE8allocateEyPKv]+0x4a): undefined reference to `std::__throw_bad_array_new_length()'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt15__new_allocatorIiE8allocateEyPKv[_ZNSt15__new_allocatorIiE8allocateEyPKv]+0x4f): undefined reference to `std::__throw_bad_alloc()'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt15__new_allocatorIiE8allocateEyPKv[_ZNSt15__new_allocatorIiE8allocateEyPKv]+0x5f): undefined reference to `operator new(unsigned long long)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt15__new_allocatorISt6vectorIiSaIiEEE10deallocateEPS2_y[_ZNSt15__new_allocatorISt6vectorIiSaIiEEE10deallocateEPS2_y]+0x30): undefined reference to `operator delete(void*, unsigned long long)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEyPKv[_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEyPKv]+0x4a): undefined reference to `std::__throw_bad_array_new_length()'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEyPKv[_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEyPKv]+0x4f): undefined reference to `std::__throw_bad_alloc()'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEyPKv[_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEyPKv]+0x68): undefined reference to `operator new(unsigned long long)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZSt18__do_uninit_fill_nIPSt6vectorIiSaIiEEyS2_ET_S4_T0_RKT1_[_ZSt18__do_uninit_fill_nIPSt6vectorIiSaIiEEyS2_ET_S4_T0_RKT1_]+0x57): undefined reference to `__cxa_begin_catch'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZSt18__do_uninit_fill_nIPSt6vectorIiSaIiEEyS2_ET_S4_T0_RKT1_[_ZSt18__do_uninit_fill_nIPSt6vectorIiSaIiEEyS2_ET_S4_T0_RKT1_]+0x6c): undefined reference to `__cxa_rethrow'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.text$_ZSt18__do_uninit_fill_nIPSt6vectorIiSaIiEEyS2_ET_S4_T0_RKT1_[_ZSt18__do_uninit_fill_nIPSt6vectorIiSaIiEEyS2_ET_S4_T0_RKT1_]+0x74): undefined reference to `__cxa_end_catch'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZSt18__do_uninit_fill_nIPSt6vectorIiSaIiEEyS2_ET_S4_T0_RKT1_+0xc): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZSt10_ConstructISt6vectorIiSaIiEEJRKS2_EEvPT_DpOT0_+0x14): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.xdata$_ZNSt6vectorIiSaIiEEC1ERKS1_+0x10): undefined reference to `__gxx_personality_seh0'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.rdata$.refptr._ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_[.refptr._ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_]+0x0): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.rdata$.refptr._ZSt4cout[.refptr._ZSt4cout]+0x0): undefined reference to `std::cout'
D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\appdata\2\cceWZgPu.o::(.rdata$.refptr._ZSt3cin[.refptr._ZSt3cin]+0x0): undefined reference to `std::cin'
collect2.exe: error: ld returned 1 exit status

  

Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
575