Boost logo

Boost Users :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-11-23 15:59:27


canx11 wrote:
[...]
> [...]
> testapp.o: In function `boost::basic_regex<char, boost::regex_traits<char,
> boost::cpp_regex_traits<char> > >::assign(char const*, char const*, unsigned
> int)':
> /usr/include/boost/regex/v4/basic_regex.hpp:255: undefined reference to
> `boost::basic_regex<char, boost::regex_traits<char,
> boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
> unsigned int)'
> collect2: ld returned 1 exit status
> [...]
[...]
> Do i have problem with my libboost installation or just a simple syntax error
> here?

Are you linking your program with the regex library?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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