Boost logo

Boost-Build :

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


Ok, now I'm embarrassed, but at least I found the problem.

I had in my userconfig
using stlport : : C:\download\STLport-5.1.3\stlport C:\download\STLport-
5.1.3\lib ;
This doesn't work with '\', if I change to use path separator with '/'
everything works fine.
(I copy'n'paste paths from the explorer address-bar, which seemed as a good
idea at the time..)

Apologize for having taken your time,

Christian

On 04/06/07, Christian Holmquist <c.holmquist_at_[hidden]> wrote:
>
> > error LNK2001: unresolved external symbol "public: __thiscall
> > boost::thread::thread(class boost::function0<void,class
> > stlp_std::allocator<class boost::function_base> > const &)"
> >--^^^^^^^^--
> >That says it is being compiled with STlport. Since this is a link
> >problem, could you show us some of the link commands?
>
> This error is from my test-application, not the boost build itself. The
> linker searches for a function with stlp_std::allocator but it doesn't
> exists in the libboost_thread- xxx.lib file, since it didn't get built
> with stlport in the first place.
> I forget to say that I'm using boost with static linking.
>
> I'll run bjam with the switches as you suggested.
>
> Thanks,
> Christian
>
>
> On 04/06/07, Rene Rivera <grafikrobot_at_[hidden]> wrote:
> >
> > Christian Holmquist wrote:
> > > error LNK2001: unresolved external symbol "public: __thiscall
> > > boost::thread::thread(class boost::function0<void,class
> > > stlp_std::allocator<class boost::function_base> > const &)"
> > --^^^^^^^^--
> > That says it is being compiled with STlport. Since this is a link
> > problem, could you show us some of the link commands?
> >
> > > Is there some bjam switch I can use to give me more information about
> > which
> > > files get included in the build process?
> >
> > All the following are possibilities:
> >
> > --debug-configuration (Tells you how it's finding & setting compilers)
> > -n (Prints out all the commands it would execute, but doesn't exec them)
> >
> > -d+2 (Prints out the commands as it executes them, without response file
> > output)
> >
> >
> > --
> > -- Grafik - Don't Assume Anything
> > -- Redshift Software, Inc. - http://redshift-software.com
> > -- rrivera/acm.org - grafik/redshift-software.com
> > -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
> > _______________________________________________
> > 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