Boost logo

Boost Users :

Subject: Re: [Boost-users] How to use boost::regex source code without using any*.lib file
From: John Maddock (john_at_[hidden])
Date: 2009-02-17 04:26:24


> Recently I used boost::regex in my project(VS2005 IDE). It works well
> with linking the lib file. But I want to use the source code of
> boost::regex.I include the regex.hpp in the project and used
> BOOST_REGEX_NO_LIB macro; But I got such error infomation when linking the
> code.

You're only including the header, not the source code: add the
libs/regex/src/*.cpp files to your project and you should be fine.

HTH, 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