Boost logo

Boost :

Subject: Re: [boost] Can't build boost 1.48 with STLport 5.2.1
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2012-02-10 13:39:21


On Fri, Feb 10, 2012 at 12:22 PM, Jürgen Hunold <juergen.hunold_at_[hidden]>wrote:

> Hi Robert,
>
> the output shows that Boost.Build is adding
>
> On Friday, 10. February 2012 18:54:23 Robert Dailey wrote:
> >
> "bin.v2\libs\system\build\msvc-7.1\debug\stdlib-stlport-5.2.1\threading-mult
> > i\ boost_system-mt-gdp.lib"
> >
> > "stlportstld.5.2.lib"
>
> with /LIBPATH:"C:\Code\third_party_source\STLport-5.2.1\lib"
>
> on the final command line.
>
> On Friday, 10. February 2012 17:44:52 Robert Dailey wrote:
> > I have the following libraries in my STLport/lib directory:
> >
> > stlport_static.lib
> > stlportd.5.2.lib
> > stlportd_static.lib
> > stlportstld.5.2.lib
>
> The library is available. This seems to be a compile/linkflag issue.
> Boost.Build is doing the right thing.
>
> The next step would be to check if you are compiling Boost and STLport with
> the same compiler options. Use "b2 -n" to just get all generated command
> lines.
>
> There are *lots* of compile flags and #define combinations resulting in
> incompatible libraries on Windows...

I'm using the default options in Boost and STLport. Based on that, would
you have any idea what I need to change? Here is the STLport config manual,
it also shows defaults:
http://www.stlport.org/doc/configure.html

I'm not at all familiar with any of the options for boost or STLport, I've
always just used the default setup because it was simple to get going. If I
need to make any changes to the configuration of either, please let me know
what you'd like me to try.

Below is the top part of the result of b2 -n:

...patience...
...patience...
...patience...
...patience...
...found 6801 targets...
...updating 825 targets...
common.mkdir bin.v2\libs\regex\build\msvc-7.1\debug\link-static

        if not exist "bin.v2\libs\regex\build\msvc-7.1\debug\link-static\\"
mkdir "bin.v2\libs\regex
\build\msvc-7.1\debug\link-static"

common.mkdir
bin.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi

        if not exist
"bin.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi\\"
mkdir "b
in.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi"

file
bin.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi\c_regex_traits.obj.rsp
"libs\regex\build\..\src\c_regex_traits.cpp"
 -Fo"bin.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi\c_regex_traits.obj"
    -TP
 /Z7
 /Od
 /Ob0
 /W4
 /GR
 /MDd
 /Zc:forScope
 /Zc:wchar_t
 /Wp64
 /GB
 /Op
 /wd4675
 /EHs
 -c

-DBOOST_ALL_NO_LIB=1

"-I."

compile-c-c++
bin.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi\c_regex_traits.obj

    call "C:\Program Files (x86)\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo
@"bin.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi\c_regex_trait
s.obj.rsp"


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk