Boost logo

Boost-Build :

From: Christian Holmquist (c.holmquist_at_[hidden])
Date: 2007-06-04 05:48:02


error LNK2001: unresolved external symbol "public: __thiscall
boost::thread::thread(class boost::function0<void,class
stlp_std::allocator<class boost::function_base> > const &)"
(??0thread_at_boost@@QAE_at_ABV?$function0_at_XV?$allocator_at_Vfunction
_base_at_boost@@@stlp_std@@@1@@Z)

Boost is not building with stlport due to some misconfiguration that I
cannot figure, I assume the libs are built with the vendor supplied stdlib.
This shows up only at linktime when the interface doesn't match and it goes
for both release and debug.

Is there some bjam switch I can use to give me more information about which
files get included in the build process?

Thank you for your time,
Christian

On 04/06/07, Vladimir Prus <ghost_at_[hidden]> wrote:
>
> Christian Holmquist wrote:
>
> > Hello,
> >
> > I've been searching a lot before finally posting here, so I'm happy with
> > any information that could point me in the right direction.
> >
> > I'm trying to build boost 1.34 with msvc 8.1 sp1, winxp pro and stlport
> > 5.3.
> >
> > boost_34_0\tools\build\v2\user-config.jam was modified like this
> >
> > # Configure, specifying locatioh of both headers and libraries
> > using stlport : : C:\download\STLport-5.1.3\stlportC:\download\STLport-
> > 5.1.3\lib ;
> >
> > from command line I'm building like this:
> >
> > bjam --build-dir=c:\boost-build --stagedir=c:\boost-build --with-thread
> > --toolset=msvc-8.0 stage
> >
> > The generated lib files misses 'p' in their filename, suggesting that
> they
> > infact do not build with stlport.
>
> Yes, you need stdlib=stlport
>
> > I tried adding stdlib=stlport to the bjam command line, which changes
> the
> > name of the boostlib files to include 'p', but this only leads to link
> > error when trying to build my applications.
>
> What link error?
>
> - Volodya
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk