
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.