error LNK2001: unresolved external symbol "public: __thiscall boost::thread::thread(class boost::function0<void,class stlp_std::allocator<class boost::function_base> > const &)" (??0thread@boost@@
QAE@ABV?$function0@XV?$allocator@Vfunction_base@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
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\stlport C:\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