|
Boost-Build : |
Subject: [Boost-build] I need help to do a simple build and debug
From: Demetrio Car (demetrio.pepi_at_[hidden])
Date: 2011-08-23 12:30:09
I am tring to use eclipse / windows 7/ boost following the
http://theseekersquill.wordpress.com/2010/08/24/howto-boost-mingw/. I am
getting crase because there are two days and I can't do a simple debug yet.
I am getting this error on build. Any suggest will be apreciate.
**** Internal Builder is used for build ****
g++ -LC:\boost_1_47_0\stage\lib -o TesteMinGW.exe regex.o
-lboost_regex-mgw44-1_47
cygwin warning:
MS-DOS style path detected:
C:\boost_1_47_0\stage\lib/libboost_regex-mgw44-1_47.dll.a
Preferred POSIX equivalent is:
/cygdrive/c/boost_1_47_0/stage/lib/libboost_regex-mgw44-1_47.dll.a
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
regex.o: In function
`_ZThn28_NK5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEE5cloneEv':
C:/boost_1_47_0/boost/exception/exception.hpp:(.text$_ZN5boost11regex_matchIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS5_EEEcNS_12regex_traitsIcNS_14c_regex_traitsIcEEEEEEbT_SD_RNS_13match_resultsISD_T0_EERKNS_11basic_regexIT1_T2_EENS_15regex_constants12_match_flagsE[bool
boost::regex_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >
>, char, boost::regex_traits<char, boost::c_regex_traits<char> >
>(__gnu_cxx::__normal_iterator<char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >
>&, boost::basic_regex<char, boost::regex_traits<char,
boost::c_regex_traits<char> > > const&,
boost::regex_constants::_match_flags)]+0x9a): undefined reference to
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >
>, boost::regex_traits<char, boost::c_regex_traits<char> > >::match()'
C:/boost_1_47_0/boost/exception/exception.hpp:(.text$_ZN5boost11basic_regexIcNS_12regex_traitsIcNS_14c_regex_traitsIcEEEEE6assignEPKcS7_j[boost::basic_regex<char,
boost::regex_traits<char, boost::c_regex_traits<char> > >::assign(char
const*, char const*, unsigned int)]+0x22): undefined reference to
`boost::basic_regex<char, boost::regex_traits<char,
boost::c_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
regex.o: In function `main':
/cygdrive/c/_D/WorkSpaces/ws_C_Dev/TesteMinGW/Debug/..\regex.cpp:6:
undefined reference to
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >
>, boost::regex_traits<char, boost::c_regex_traits<char> >
>::construct_init(boost::basic_regex<char, boost::regex_traits<char,
boost::c_regex_traits<char> > > const&,
boost::regex_constants::_match_flags)'
collect2: ld returned 1 exit status
Build error occurred, build is stopped
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk