Boost logo

Boost Users :

From: Rob Reece (reecr_at_[hidden])
Date: 2002-08-07 11:00:35


I'm trying to get the regex lib (boost 1.28.0) built on win32 (MSVC v6,
stlport 4.5.3). The standard build that is provided with regex appears to
work fine and I get the full compliment of regex libraries (debug,
static/dynamic, etc.). However, when I attempt to build the
credit_card_example file, the link fails with unresolved external symbols.
I then added the 13 regex source files to a msdev project along with the
credit_card_example source file and linked everything statically (using
BOOST_REGEX_STATIC_LINK or whatever it is). That worked fine. So this
leads me to believe that something is going on with BOOST_REGEX_DECL macro.
I put some #pragma message(...) statements into some headers and determined
that the macro is being defined correctly. Is it possible that this macro
is missing on some functions/classes or is it more likely a build option or
macro issue?

The first unresolved symbol I have is
boost::re_detail::match_results_base<...>::m_free(...) As I was looking
around for that symbol, I discovered in regex.hpp that match_results_base
did not have BOOST_REGEX_DECL macro on the class definition. I added it and
rebuilt and I ended up with more unresolved symbols. So obviously that
isn't the direction to go. I have, however, not been able to find the
actual definition of m_free yet (still looking).

Thanks -Rob


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net