|
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 09:54:32
I've provided a lot of details here, and based on the instructions I've
found (none of which are on the official boost website!), this seems to be
the correct path and the build system should "just work". Can someone help
me figure this out?
---------
Robert Dailey
On Wed, Feb 8, 2012 at 4:53 PM, Robert Dailey <rcdailey_at_[hidden]> wrote:
> I'm trying to get Boost 1.48 building using STLport 5.2.1. I am on Windows
> 7 x64.
>
> Here is what I've done:
>
> 1. Update tools/build/v2/user-config.jam with the following:
>
> using msvc : 7.1 ;
> using stlport : 5.2.1 :
> C:/Code/third_party_source/STLport-5.2.1/stlport :
> C:/Code/third_party_source/STLport-5.2.1/lib ;
>
> 2. Run the following command through the VS2003 command line tool:
>
> bootstrap.bat
>
> 3. This sets up the b2 executable and stuff, after that I run:
>
> b2 toolset=msvc link=shared threading=multi runtime-link=shared
> variant=debug stdlib=stlport --layout=tagged stage
>
> However, once it comes time to link the first library (boost filesystem),
> I get a ton of linker errors, mostly LNK2001 relating to unresolved STLport
> symbols. Here is one of the first ones:
>
> path.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall stlpd
> _std::basic_string<wchar_t,class stlpd_std::char_traits<wchar_t>,class
> stlpd_std::allocator<wchar_t>
> >::basic_string<wchar_t,class stlpd_std::char_traits<wchar_t>,class
> stlpd_std::allocator<wchar_t> >
> (class stlpd_std::basic_string<wchar_t,class
> stlpd_std::char_traits<wchar_t>,class stlpd_std::alloca
> tor<wchar_t> > const &)" (__imp_??0?$basic_string@_WV?$char_traits@
> _W_at_stlpd_std@@V?$allocator@_W_at_2@@
> stlpd_std@@QAE_at_ABV01@@Z)
>
> Anyone have any idea how I can get this working?
>
> ---------
> Robert Dailey
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk