|
Boost Users : |
Subject: Re: [Boost-users] Problem with thread
From: Jothybasu Selvaraj (jothybasu_at_[hidden])
Date: 2012-03-05 09:40:19
Now with these flags in the .pro file
INCLUDEPATH +=C:\boost_1_49_0\boost_1_49_0
LIBS +=-LC:\boost_1_49_0\boost_1_49_0\stage\lib -lboost_thread-mgw44-mt-1_49
I get a linker error
collect2:ld returned 1 exit status
I have built boost thread with
bjam --toolset=gccstage --with-thread
and it has build a .a file in release and debug folders.
What is preventing the linker?
Thanks
Jothy
On Mon, Mar 5, 2012 at 2:14 PM, Igor R <boost.lists_at_[hidden]> wrote:
> > I am using QtCreator. While building Ithe compiler always throw an
> > "Instantiated from here" error. The error is from shared_mutex.hpp on
> line
> >
> > state_data const
> > current_state=interlocked_compare_exchange(&state,new_state,old_state);
> >
> > What could be the problem?
>
>
> "Instantiated from here" is not error, but just some point in the
> stack of template instantiations. What compliler error do you get?
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
-- Jothy
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net