|
Boost Users : |
From: Kevin Tang (kevin_at_[hidden])
Date: 2008-06-19 00:03:46
How to build the "-p" library ?
Boost 1.35.0
STLport: 5.1.5
MSVC: 7.1
Does anyone know the solution?
Thank you very much.
Kevin Tang.
kevin_at_[hidden] ´£¨ì:
>
> Dear All,
>
> I am using Boost 1.35.0 library and STLport 5.1.5 with Microsoft
> Visual C++ 7.1 (SP1).
> I can build a lot of library but not
> 'libboost_serialization-vc71-mt-p-1_35.lib' library.
>
> I have done the following job:
>
> 1) Configure STLport
> 1.1: Modify "*user_config.h*", enable macro *"#define _STLP_DEBUG 1"*
> 1.2: Modify "*user_config.h*", enable macro *"#define
> _STLP_USE_BOOST_SUPPORT 1"*1.3: Modify "*host.h*", enable macro
> *"#define _STLP_USE_DYNAMIC_LIB"*
>
> 2) Compile STLport
> 2.1: *Y:\Library\STLport-5.1.5\build\lib>*/configure -c msvc71
> --rtl-dynamic --use-boost Y:\Library\boost_1_35_0/
> 2.2: *Y:\Library\STLport-5.1.5\build\lib>*/nmake /fmsvc.mak /install/
>
> 3) Build JAM tools
> 3.1: *Y:\Library\boost_1_35_0\tools\jam\src>*/build vc7/
> 3.2: Copy "*bjam.exe*" into *Y:\Library\boost_1_35_0* directory.
>
> 4) Modify Boost
> 4.1: Modify "*user-config.jam*", enable macro "*using msvc ;*"
> 4.2: Modify "*user-config.jam*", enable macro "*using stlport : :
> Y:/Library/boost_1_35_0/STLport-5.1.5/stlport
> Y:/Library/boost_1_35_0/STLport-5.1.5/lib ;*"
> 4.3: Copy "*user-config.jam*" into "*Y:\Library\boost_1_35_0*"
>
> 5) Build Boost
> 5.1: *Y:\Library\boost_1_35_0>*/bjam -sTOOLS=vc-7_1-stlport
> -sSTLPORT_PATH=..\STLport-5.1.5\stlport --toolset=msvc
> -sstdlib=stlport --build-type=complete -a install/
>
> 6) Finish.
> It create new directory, which locate in:
> -- C:\Boost\include\
> -- C:\Boost\include\boost-1_35\boost
> -- C:\Boost\lib
>
> Finally, I get many library in C:\Boost\lib such as
> "libboost_serialization-vc71-mt.lib", but I don't have any
> "libboost_serialization-vc71-mt-p-1_35.lib".
>
> How can I get that ...p... library?
>
> Thank you very much.
> Kevin Tang.
>
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net