Boost logo

Boost :

From: Wang Weiwei (wwwang_at_[hidden])
Date: 2006-01-21 07:19:05

On 2003 compiler, I'm building the boost library using the following commands/setitngs/procedure:
1. build bjam.exe using build.bat;
2. build boost with a .bat file with the following contents, under the boost root folder:
    SET PYTHON_ROOT="D:\Python24"
    SET STLPORT_50_PATH="D:\STLport_50"
    SET VC71_ROOT="d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7"
    Bjam.exe -sBOOST_ROOT=. -sTOOLS=vc-7_1 "-sBUILD=debug release <runtime-link>static/dynamic <threading>single/multi" stage
    Bjam.exe -sBOOST_ROOT=. -sTOOLS=vc-7_1-stlport "-sBUILD=debug release <runtime-link>static/dynamic <threading>single/multi" stage
3. I get the lib files in <boost>\stage\lib folder.
In my test app, I'm using boost::regex lib and some others. And I'm using STLport 5.0 by placing the STLport include file path before the vender's default include path. But I'm getting the following compiling error:
e:\Lib\boost_1_33_1\boost\config\auto_link.hpp(211) : fatal error C1189: #error : "Build options aren't compatible with pre-built libraries"
After commenting out the code related to boost::regex, every thing seems to be OK. And after I disable linking to STLport by changing the include file searching order, it's also OK.
Can anybody give me some hint on this?
Thanks a lot.

Boost list run by bdawes at, gregod at, cpdaniel at, john at