My environment is VC.NET 2003 Stlport 4.62 and MingW 3.41, the operating system is Windows 2003, and Boost is decompressed in C: / OPT / Boost. The Boost library has 10 libraries that need to be compiled, and others only need to contain the header files directly. Download bjam.bin.ntx86.zip from SourceForege's Boost project, this can also be compiled. I decompressed it directly to C: / Windows / System32. First set (guarantees that you are consistent with your actual situation, no python is set) SET PYTHON_ROOT = C: / Python Python_Version = 2.4 Directly compiled directly under the root directory of decompression. Here, how to compile MINGW, VC-7_1, VC-7_1-Stlport. Compiling MINGW and VC-7_1 is the easiest, as long as set tools = VC-7_1 or set tools = mingw, if it is mingw directly bjam install, if it is VC-7_1, bjam "-sbuild = debug release
STATIC / DYNAMIC
Multi "install, then the long wait, 3 hours. If it is VC-7_1-stlport, first modify the Boost source code, refer to http://mail.python.org/pipermail/c -sig/2003-august /005319.html, http://article.gmane.ob.boost.user/8324/match=date time, http://lists.boost.org/mailarchives/boost/msg76098.php This is the same as the STLPORT to C: /opt/stlport-4.6.2. Modify SRC / VC71.MAK to change the extra common flags = / fi "vc warning disable.h" / d "MBCS" to extra Common Flags = / Fi "VC WARNING DISABLE.H" / D "MBCS" / zc: wchar T. Then compile the installation, be careful not to delete it, it is also used when compiling Boost. Modify VC-7_1-stlport-tools.jam, will Feature native-wchar_t: OFF ON; change to feature native-wchar_t: on off; then set set stlport_version = 4.6.2, set stlport_4.62_path = c: /opt/stlport-4.6.2, set tools = VC-7_1- Stlport, then bjam "-sbuild = debug release
STATIC / DYNAMIC
Multi "install you will find that the compiled lib has repeated, deletes yourself to compile the Debug version under the VC, need to predefine macros _stlp_debug, if you define boost_lib_diagnostic, if you do not need to display the LIB library under VC A typical example is CL / D_STLP_DEBUG / DBOOST_LIB_DIAGNOSTIC / MDD / GX Simple_ls.cpp