29 Aug
2005
29 Aug
'05
10:17 a.m.
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.