
Hi, I am new to C++ development and using boost regex library. I have downloaded 1_34_1 version. I have built regex library and it created boost_regex-vc80-mt-*1_34*.lib & dll files for me. But when I included headers and compiled my application but its giving me the following linker error. - *Error 1 fatal error LNK1104: cannot open file 'boost_regex-vc80-mt-gd-1_34_1.lib' ExpEval * * *so I defined *BOOST_REGEX_NO_LIB *and ran the application this time I got the following error - *This application has failed to start because MSVCP80.dll was not found. Reinstalling the application may fix this problem.* Is any one faced the similar problem ? Please help me if you know whats wrong here. Appreciate your help in advance. thanks Srinivas

Srinivas Chamarthi wrote:
I am new to C++ development and using boost regex library. I have downloaded 1_34_1 version.
I have built regex library and it created boost_regex-vc80-mt-*1_34*.lib & dll files for me.
But when I included headers and compiled my application but its giving me the following linker error.
- *Error 1 fatal error LNK1104: cannot open file 'boost_regex-vc80-mt-gd-1_34_1.lib' ExpEval *
You need to add the path containing the regex libraries to your linker options so that it can find them: it's under Properties->Linker->General->Additional Library Directories. Alternatively, you can set the path for *all* VC projects by editing Tools->Options->Project and Solutions->VC++ Directories->Library Files.
*so I defined *BOOST_REGEX_NO_LIB
*and ran the application
this time I got the following error
- *This application has failed to start because MSVCP80.dll was not found. Reinstalling the application may fix this problem.*
That's a VC++ runtime DLL: the problem you have there is a VC++ installation issue :-( HTH, John.

HI, does any one help me a regular expression syntax for java package *( com.klisp.fix.*) or fully qualified class *(com.klisp.fix.NewOrder) ? thanks & regards, Srinivas Chamarthi

Hi, I am using boost reg ex library with STLport. But I am getting the following error. Can any one tell me whats wrong ? Error 1 fatal error C1189: #error : "Build options aren't compatible with pre-built libraries" e:\boost_1_34_1\boost_1_34_1\boost\config\auto_link.hpp 181 thanks & regards Srinivas Chmarthi

Srinivas Chamarthi wrote:
Hi,
I am using boost reg ex library with STLport. But I am getting the following error. Can any one tell me whats wrong ?
Error 1 fatal error C1189: #error : "Build options aren't compatible with pre-built libraries" e:\boost_1_34_1\boost_1_34_1\boost\config\auto_link.hpp 181
It means what it says: bjam doesn't build binaries compatible with the build options you are using, most likely you will need to define __STL_DEBUG in your *debug* application builds to get things to link. HTH, John.

Hi John,
Thank you very much for the help. Now I am encountering some other strange
problem copied below.
- *Error 3 fatal error LNK1104: cannot open file '
stlportstld.5.1.lib' ExpEval
*
am not sure why its prefixing *stlport *infront of the library. I cannot
seem to find something like BOOST_REGEX_DYN_LINK to define in my sources for
STL.
any ideas ?
thx
Srinivas Chamarthi
On Feb 10, 2008 10:11 PM, John Maddock
Srinivas Chamarthi wrote:
Hi,
I am using boost reg ex library with STLport. But I am getting the following error. Can any one tell me whats wrong ?
Error 1 fatal error C1189: #error : "Build options aren't compatible with pre-built libraries" e:\boost_1_34_1\boost_1_34_1\boost\config\auto_link.hpp 181
It means what it says: bjam doesn't build binaries compatible with the build options you are using, most likely you will need to define __STL_DEBUG in your *debug* application builds to get things to link.
HTH, John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- thanks & regards, Srinivas Chamarthi, http://fromexp.blogspot.com http://chamarts.blogspot.com Phone: +91-40-2407 4999(R) Mobile: +91-9989141717

Srinivas Chamarthi wrote:
- *Error 3 fatal error LNK1104: cannot open file ' stlportstld.5.1.lib' ExpEval *
am not sure why its prefixing *stlport *infront of the library. I cannot seem to find something like BOOST_REGEX_DYN_LINK to define in my sources for STL.
That's the STLport runtime: you'll need to point Visual Studio at the location containing the STLport libraries you built. John.
participants (2)
-
John Maddock
-
Srinivas Chamarthi