
Hi I have built boost regex library and trying to use with stlport and I encountered the following error. I dont seem to have this lib but have libs with 'gd' but not 'gdp'. any one can help ? - Error 1 fatal error LNK1104: cannot open file 'boost_regex-vc80-mt-gdp-1_34_1.lib' thanks & regards Srinivas Chamarthi

Srinivas Chamarthi wrote:
Hi
I have built boost regex library and trying to use with stlport and I encountered the following error. I dont seem to have this lib but have libs with 'gd' but not 'gdp'. any one can help ?
The -gd suffix is what you get if you build with VC8 *without* STLport. Invoking bjam with the "stdlib=stlport" option will build regex and the other libraries with STLport support... but there are some path options you will need to pass to bjam as well, and I don't know how to do that :-( Alternatively, create a static library project in your IDE, add libs/regex/src/*.cpp to it, and set the build options to be the same as your application. Then make the static library a dependency of the application and add the define BOOST_REGEX_NO_LIB to the list of preprocessor defines in your project options for the application. HTH, John.

you are absolutely right. I am not using stlport flag. I searched the build
directory and there are several mak files like vc71-stlport.mak but *
vc8-stlport.mak is missing. *I browsed CVS repository also and the file is
missing too
with bjam, I modified user-config.jam and enabled this line
- *using stlport : : D:\\STLport-5.1.4\\stlport\\stlport D:\\STLport-
5.1.4\\lib;*
bjam --toolset=msvc-stlport but it is not generating the required gdp
libraries.
guys, any one else can help ? Thanks a ton in advance.
On Feb 11, 2008 2:42 PM, John Maddock
Srinivas Chamarthi wrote:
Hi
I have built boost regex library and trying to use with stlport and I encountered the following error. I dont seem to have this lib but have libs with 'gd' but not 'gdp'. any one can help ?
The -gd suffix is what you get if you build with VC8 *without* STLport. Invoking bjam with the "stdlib=stlport" option will build regex and the other libraries with STLport support... but there are some path options you will need to pass to bjam as well, and I don't know how to do that :-(
Alternatively, create a static library project in your IDE, add libs/regex/src/*.cpp to it, and set the build options to be the same as your application. Then make the static library a dependency of the application and add the define BOOST_REGEX_NO_LIB to the list of preprocessor defines in your project options for the application.
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
participants (2)
-
John Maddock
-
Srinivas Chamarthi