|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2005-08-29 05:17:13
> I compiled the regex library with:
> bjam.exe -sTOOLS=mingw -sMINGW_ROOT_DIRECTORY=D:\Dev-Cpp
>
> When linking my project with the generated library
> (libboost_regex-mgw-d-1_33.lib), I get:
>
> ../sources/cmdline.o(.text+0x6fe9): In function `_tcf_1':
> d:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.h:257:
> undefined reference to
> `boost::re_detail::cpp_regex_traits_implementation<char>::init()::null_string'
> ... etc....
>
>
> Does that mean I should try using STLPort or ?
Works OK for me (with the latest MinGW stable releases / gcc-3.4.2). One
thing you could check: what command line did you use to link? You did
place the regex library *after* any object files that depend upon it didn't
you?
John.
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