Boost logo

Boost Users :

Subject: Re: [Boost-users] [Regex] Boost.Regex - can't compile/link...
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-02-02 14:01:46


AMDG

On 2/2/2011 8:45 AM, Robert Pennington wrote:
> Every time I try to compile this code (by hitting the 'Build and Run' button
> in Code::Blocks), I get a whole bunch of error messages. The first one I get
> is: "C:\Program
> Files\boost\boost_1_45_0\boost\regex\v4\cpp_regex_traits.hpp|366|undefined
> reference to
> `boost::re_detail::cpp_regex_traits_char_layer<char>::init()'|". Any ideas?
>

You need to link to the boost_regex library.

In Christ,
Steven Watanabe


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