
---------- Forwarded message ----------
From: Jothybasu Selvaraj

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?

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
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Jothy

Le 05/03/12 15:40, Jothybasu Selvaraj a écrit :
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
Hi, you need to be more explicit if you want help from us. Please show the command line and the output. Best, Vicente
participants (3)
-
Igor R
-
Jothybasu Selvaraj
-
Vicente J. Botet Escriba