$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Boost regex does't work
From: Yoshiyuki Watanabe (m5111128_at_[hidden])
Date: 2008-11-02 06:14:34
Hi, I'm a new user of boost.
I have a trouble to use boost. I downloaded boost_1_36_0 and put it on
directory where I prefer.
To use with eclipse, I set the path.
Property->c/c++build->settings->GCC C++ compiler->directories
Some functions like boost/tokenizer or boost/lexical_cast is working
well, but only the function
boost/regex doesn't work. Compile is finished safely, but once I tried
to run, an error is appear
,and the process stops.
Undefined symbols:
"boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)", referenced from:
boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::assign(char const*, char const*,
unsigned int)in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Would someone have ideas to use boost/regex on eclipse?
My plattform is Mac OSX Leopard.
Thanks,