Hi,
I've a Dev-Cpp, mingw, Windows XP development environment.
I'm trying to develop an application based on Regex but I'm not able to run even the simple example from
"Getting Started" section of Boost documentation or the "Credit Card Numbers" example from Regex.
I've built the library through different ways (trying just to build the regex library from John's homepage or
building the whole Boost library through bjam). The building process was always OK and I'm pretty sure
that I'm correctly linking the files in Dev-Cpp (I also used the path described at http://wagjo.com/index.php?id=27).
However, I always get similar result: a lot of compiler messages saying that I have "multiple definitions of something".
Does anyone in this list could help me?
Here is the compiler log from one of the many tentatives that I've made (sorry about huge text):
Compiler: OpenCV+Regex
Building Makefile: "C:\Documents and Settings\pdcosta\Desktop\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\pdcosta\Desktop\Makefile.win" all
g++.exe -D__DEBUG__ -c "../../../Arquivos de programas/regex/libs/regex/example/snippets/credit_card_example.cpp" -o "../../../Arquivos de programas/regex/libs/regex/example/snippets/credit_card_example.o" -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/Arquivos de programas/regex" -L"C:\Arquivos de Programas\OpenCV\lib" -lcxcore -lcv -lcvaux -lhighgui -lml -lcvcam -g3 -mwindows
In file included from C:/Arquivos de programas/regex/boost/config.hpp:35,
from C:/Arquivos de programas/regex/boost/regex/config.hpp:94,
from C:/Arquivos de programas/regex/boost/regex/v3/cregex.hpp:28,
from C:/Arquivos de programas/regex/boost/cregex.hpp:27,
from C:/Arquivos de programas/regex/boost/regex/v3/regex.hpp:32,
from C:/Arquivos de programas/regex/boost/regex.hpp:31,
from ../../../Arquivos de programas/regex/libs/regex/example/snippets/credit_card_example.cpp:24:
C:/Arquivos de programas/regex/boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results"
g++.exe: -lcxcore: linker input file unused because linking not done
g++.exe: -lcv: linker input file unused because linking not done
g++.exe: -lcvaux: linker input file unused because linking not done
g++.exe: -lhighgui: linker input file unused because linking not done
g++.exe: -lml: linker input file unused because linking not done
g++.exe: -lcvcam: linker input file unused because linking not done
g++.exe -D__DEBUG__ "../../../Arquivos de programas/regex/libs/regex/example/snippets/credit_card_example.o" -o "Project1.exe" -L"C:/Dev-Cpp/lib" -L"C:/Arquivos de programas/regex" -L"C:/Arquivos de programas/regex/libs/regex/build/gcc" "../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a" -g3 -mwindows
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.data$_ZTISt13runtime_error[typeinfo for std::runtime_error]+0x0):instances.cpp: multiple definition of `typeinfo for std::runtime_error'
../../../Arquivos de programas/regex/libs/regex/example/snippets/credit_card_example.o(.rdata$_ZTISt13runtime_error[typeinfo for std::runtime_error]+0x0):C:/Arquivos de programas/regex/boost/regex/v3/regex.hpp: first defined here
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZTSSt13runtime_error[typeinfo name for std::runtime_error]+0x0):instances.cpp: multiple definition of `typeinfo name for std::runtime_error'
../../../Arquivos de programas/regex/libs/regex/example/snippets/credit_card_example.o(.rdata$_ZTSSt13runtime_error[typeinfo name for std::runtime_error]+0x0):C:/Arquivos de programas/regex/boost/regex/v3/regex.hpp: first defined here
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.data$_ZTISt9exception[typeinfo for std::exception]+0x0):instances.cpp: multiple definition of `typeinfo for std::exception'
../../../Arquivos de programas/regex/libs/regex/example/snippets/credit_card_example.o(.rdata$_ZTISt9exception[typeinfo for std::exception]+0x0):C:/Arquivos de programas/regex/boost/regex/v3/regex.hpp: first defined here
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZTSSt9exception[typeinfo name for std::exception]+0x0):instances.cpp: multiple definition of `typeinfo name for std::exception'
../../../Arquivos de programas/regex/libs/regex/example/snippets/credit_card_example.o(.rdata$_ZTSSt9exception[typeinfo name for std::exception]+0x0):C:/Arquivos de programas/regex/boost/regex/v3/regex.hpp: first defined here
C:/Dev-Cpp/lib/libstdc++.a(stdexcept.o)(.rdata$_ZTVSt13runtime_error[vtable for std::runtime_error]+0x0):stdexcept.cc: multiple definition of `vtable for std::runtime_error'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.data$_ZTVSt13runtime_error[vtable for std::runtime_error]+0x0):instances.cpp: first defined here
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text+0x173):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text+0x17a):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text+0x529):c_regex_traits.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text+0x696):c_regex_traits.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text+0x109a):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text+0x10b3):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZNSt10_List_baseIN42_GLOBAL__N_.._src_c_regex_traits.cppeur9ib14collate_name_tESaIS1_EE5clearEv[std::_List_base<(anonymous namespace)::collate_name_t, std::allocator<(anonymous namespace)::collate_name_t> >::clear()]+0x47):c_regex_traits.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZN5boost9re_detail16find_sort_syntaxINS_14c_regex_traitsIcEEcEEjPKT_PT0_[unsigned int boost::re_detail::find_sort_syntax<boost::c_regex_traits<char>, char>(boost::c_regex_traits<char> const*, char*)]+0x6b):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZN5boost9re_detail16find_sort_syntaxINS_14c_regex_traitsIcEEcEEjPKT_PT0_[unsigned int boost::re_detail::find_sort_syntax<boost::c_regex_traits<char>, char>(boost::c_regex_traits<char> const*, char*)]+0x7b):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZN5boost9re_detail16find_sort_syntaxINS_14c_regex_traitsIcEEcEEjPKT_PT0_[unsigned int boost::re_detail::find_sort_syntax<boost::c_regex_traits<char>, char>(boost::c_regex_traits<char> const*, char*)]+0x198):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZN5boost9re_detail16find_sort_syntaxINS_14c_regex_traitsIcEEcEEjPKT_PT0_[unsigned int boost::re_detail::find_sort_syntax<boost::c_regex_traits<char>, char>(boost::c_regex_traits<char> const*, char*)]+0x1a8):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZN5boost9re_detail16find_sort_syntaxINS_14c_regex_traitsIcEEcEEjPKT_PT0_[unsigned int boost::re_detail::find_sort_syntax<boost::c_regex_traits<char>, char>(boost::c_regex_traits<char> const*, char*)]+0x1de):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZN5boost9re_detail16find_sort_syntaxINS_14c_regex_traitsIcEEcEEjPKT_PT0_[unsigned int boost::re_detail::find_sort_syntax<boost::c_regex_traits<char>, char>(boost::c_regex_traits<char> const*, char*)]+0x1ee):c_regex_traits.cpp: more undefined references to `std::string::_S_empty_rep_storage' follow
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag[char* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag)]+0x27):c_regex_traits.cpp: undefined reference to `std::string::_Rep::_S_create(unsigned int, std::allocator<char> const&)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag[char* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag)]+0x6f):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag[char* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag)]+0x74):c_regex_traits.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZNSt14__simple_allocISt10_List_nodeIN42_GLOBAL__N_.._src_c_regex_traits.cppeur9ib14collate_name_tEESt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<std::_List_node<(anonymous namespace)::collate_name_t>, std::__default_alloc_template<true, 0> >::allocate(unsigned int)]+0x1a):c_regex_traits.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(c_regex_traits.o)(.text$_ZNSt14__simple_allocISt10_List_nodeIN42_GLOBAL__N_.._src_c_regex_traits.cppeur9ib14collate_name_tEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS3_j[std::__simple_alloc<std::_List_node<(anonymous namespace)::collate_name_t>, std::__default_alloc_template<true, 0> >::deallocate(std::_List_node<(anonymous namespace)::collate_name_t>*, unsigned int)]+0x18):c_regex_traits.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEEC2EPKcjRKS3_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::reg_expression(char const*, unsigned int, std::allocator<char> const&)]+0xf6):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEEC1EPKcjRKS3_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::reg_expression(char const*, unsigned int, std::allocator<char> const&)]+0xf6):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEEC2EPKcjjRKS3_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::reg_expression(char const*, unsigned int, unsigned int, std::allocator<char> const&)]+0xe6):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEEC1EPKcjjRKS3_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::reg_expression(char const*, unsigned int, unsigned int, std::allocator<char> const&)]+0xe6):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEEC2ERKS4_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::reg_expression(boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> > const&)]+0x133):instances.cpp: more undefined references to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' follow
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE11fixup_applyEPNS_9re_detail14re_syntax_baseEj[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::fixup_apply(boost::re_detail::re_syntax_base*, unsigned int)]+0x182):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE11fixup_applyEPNS_9re_detail14re_syntax_baseEj[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::fixup_apply(boost::re_detail::re_syntax_base*, unsigned int)]+0x1b8):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE11compile_setERPKcS6_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::compile_set(char const*&, char const*)]+0x184):instances.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE11compile_setERPKcS6_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::compile_set(char const*&, char const*)]+0x18e):instances.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE11compile_setERPKcS6_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::compile_set(char const*&, char const*)]+0xb8a):instances.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE11compile_setERPKcS6_[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::compile_set(char const*&, char const*)]+0xba4):instances.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE15compile_set_auxERNS_9re_detail6jstackISsS3_EES8_RNS6_ImS3_EES8_bRKNS5_12_narrow_typeE[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::compile_set_aux(boost::re_detail::jstack<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<char> >&, boost::re_detail::jstack<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<char> >&, boost::re_detail::jstack<unsigned long, std::allocator<char> >&, boost::re_detail::jstack<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<char> >&, bool, boost::re_detail::_narrow_type const&)]+0x18f):instances.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost14reg_expressionIcNS_12regex_traitsIcEESaIcEE15compile_set_auxERNS_9re_detail6jstackISsS3_EES8_RNS6_ImS3_EES8_bRKNS5_12_narrow_typeE[boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> >::compile_set_aux(boost::re_detail::jstack<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<char> >&, boost::re_detail::jstack<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<char> >&, boost::re_detail::jstack<unsigned long, std::allocator<char> >&, boost::re_detail::jstack<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<char> >&, bool, boost::re_detail::_narrow_type const&)]+0x196):instances.cpp: more undefined references to `std::string::_S_empty_rep_storage' follow
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail18match_results_baseIPKcSaIcEEC2ERKS4_[boost::re_detail::match_results_base<char const*, std::allocator<char> >::match_results_base(std::allocator<char> const&)]+0x42):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail18match_results_baseIPKcSaIcEEC1ERKS4_[boost::re_detail::match_results_base<char const*, std::allocator<char> >::match_results_base(std::allocator<char> const&)]+0x46):instances.cpp: undefined reference to `std::allocator<char>::allocate(unsigned int, void const*)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail18match_results_baseIPKcSaIcEE6m_freeEv[boost::re_detail::match_results_base<char const*, std::allocator<char> >::m_free()]+0x84):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail18match_results_baseIPKcSaIcEE8set_sizeEj[boost::re_detail::match_results_base<char const*, std::allocator<char> >::set_size(unsigned int)]+0x61):instances.cpp: undefined reference to `std::allocator<char>::allocate(unsigned int, void const*)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail18match_results_baseIPKcSaIcEE8set_sizeEj[boost::re_detail::match_results_base<char const*, std::allocator<char> >::set_size(unsigned int)]+0x1a8):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail18match_results_baseIPKcSaIcEE8set_sizeEjS3_S3_[boost::re_detail::match_results_base<char const*, std::allocator<char> >::set_size(unsigned int, char const*, char const*)]+0x61):instances.cpp: undefined reference to `std::allocator<char>::allocate(unsigned int, void const*)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail18match_results_baseIPKcSaIcEE8set_sizeEjS3_S3_[boost::re_detail::match_results_base<char const*, std::allocator<char> >::set_size(unsigned int, char const*, char const*)]+0x21a):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail18match_results_baseIPKcSaIcEE3cowEv[boost::re_detail::match_results_base<char const*, std::allocator<char> >::cow()]+0x34):instances.cpp: undefined reference to `std::allocator<char>::allocate(unsigned int, void const*)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail11raw_storageISaIcEEC1ERKS2_[boost::re_detail::raw_storage<std::allocator<char> >::raw_storage(std::allocator<char> const&)]+0x42):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail8kmp_freeIcSaIcEEEvPNS0_8kmp_infoIT_EERKT0_[void boost::re_detail::kmp_free<char, std::allocator<char> >(boost::re_detail::kmp_info<char>*, std::allocator<char> const&)]+0x44):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail6jstackIjSaIcEED1Ev[boost::re_detail::jstack<unsigned int, std::allocator<char> >::~jstack()]+0x6a):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail6jstackIjSaIcEED1Ev[boost::re_detail::jstack<unsigned int, std::allocator<char> >::~jstack()]+0x97):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail11kmp_compileIPccNS0_14kmp_translatorINS_12regex_traitsIcEEEESaIcEEEPNS0_8kmp_infoIT0_EET_SC_S9_T1_RKT2_[boost::re_detail::kmp_info<char>* boost::re_detail::kmp_compile<char*, char, boost::re_detail::kmp_translator<boost::regex_traits<char> >, std::allocator<char> >(char*, char*, char, boost::re_detail::kmp_translator<boost::regex_traits<char> >, std::allocator<char> const&)]+0x69):instances.cpp: undefined reference to `std::allocator<char>::allocate(unsigned int, void const*)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail11raw_storageISaIcEE6resizeEj[boost::re_detail::raw_storage<std::allocator<char> >::resize(unsigned int)]+0x56):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail16re_is_set_memberIPKccNS_12regex_traitsIcEESaIcEEET_S7_S7_PKNS0_11re_set_longERKNS_14reg_expressionIT0_T1_T2_EE[char const* boost::re_detail::re_is_set_member<char const*, char, boost::regex_traits<char>, std::allocator<char> >(char const*, char const*, boost::re_detail::re_set_long const*, boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> > const&)]+0x13c):instances.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail16re_is_set_memberIPKccNS_12regex_traitsIcEESaIcEEET_S7_S7_PKNS0_11re_set_longERKNS_14reg_expressionIT0_T1_T2_EE[char const* boost::re_detail::re_is_set_member<char const*, char, boost::regex_traits<char>, std::allocator<char> >(char const*, char const*, boost::re_detail::re_set_long const*, boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> > const&)]+0x146):instances.cpp: undefined reference to `std::string::_S_empty_rep_storage'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail6jstackISsSaIcEED1Ev[boost::re_detail::jstack<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<char> >::~jstack()]+0xf1):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail6jstackISsSaIcEED1Ev[boost::re_detail::jstack<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<char> >::~jstack()]+0x141):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail6jstackImSaIcEED1Ev[boost::re_detail::jstack<unsigned long, std::allocator<char> >::~jstack()]+0x6a):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail6jstackImSaIcEED1Ev[boost::re_detail::jstack<unsigned long, std::allocator<char> >::~jstack()]+0x97):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZN5boost9re_detail11kmp_compileIPKccNS0_14kmp_translatorINS_12regex_traitsIcEEEESaIcEEEPNS0_8kmp_infoIT0_EET_SD_SA_T1_RKT2_[boost::re_detail::kmp_info<char>* boost::re_detail::kmp_compile<char const*, char, boost::re_detail::kmp_translator<boost::regex_traits<char> >, std::allocator<char> >(char const*, char const*, char, boost::re_detail::kmp_translator<boost::regex_traits<char> >, std::allocator<char> const&)]+0x69):instances.cpp: undefined reference to `std::allocator<char>::allocate(unsigned int, void const*)'
../../../Arquivos de programas/regex/libs/regex/build/gcc/libboost_regex.a(instances.o)(.text$_ZNSaIhE8allocateEjPKv[std::allocator<unsigned char>::allocate(unsigned int, void const*)]+0x17):instances.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
collect2: ld returned 1 exit status
make.exe: *** [Project1.exe] Error 1
Execution terminated