Re: [Boost-users] about static lib of boost::regex

Hi there, I am writing a DLL under Windows with MSVC 2005. In my project, boost:regex is involved. I do nothing but include the following in my stdafx.h
I try to compile the project with OPTION /MD,; however, the compile report that libboost_regex-vc80-mt-s-1_33_1.lib cannot be found. It fails to compile the project even I specify the path and library while compiling. What's going on? Thanks again.

llwaeva@21cn.com wrote:
Hi there, I am writing a DLL under Windows with MSVC 2005. In my project, boost:regex is involved. I do nothing but include the following in my stdafx.h
I try to compile the project with OPTION /MD,; however, the compile report that libboost_regex-vc80-mt-s-1_33_1.lib cannot be found. It fails to compile the project even I specify the path and library while compiling. What's going on?
Make sure that the directory containing the regex lib's is in your linker's search path. That's Properties -> Linker -> Additional Library Directories in VC8. John.
participants (2)
-
John Maddock
-
llwaeva@21cn.com