Boost logo

Boost Users :

Subject: Re: [Boost-users] Missing lib with Boost::Regex
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-08-26 12:47:42


Emir D. wrote:
> I'm having some problems with using Boost's Regex in MS Visual Studio
> 2010. I've included the header file and downloaded the "bjam.exe" file,
> which I have run and it generated some lib and obj files. After
> including the newly generated files in VS2010, when I try to compile, I
> get the following:
> "fatal error LNK1104: cannot open file 'libboost_regex-vc100-mt-gd-1_43.lib' "
> I've inspected the bjam.exe generated files and it appears to have a lib file 'libboost_regex-vc100-mt-1_43.lib', but not 'libboost_regex-vc100-mt-gd-1_43.lib'.

The command for generating the library you need is

bjam --with-regex debug link=static threading=multi

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at