Boost logo

Boost Users :

From: Forever Kid (foreverkid3_at_[hidden])
Date: 2006-12-11 10:04:31


Thanks for the reply,

I changed the compiler/linker arguments to this:

g++ -DBOOST_THREAD_USE_LIB
-I/home/quirk/dev/libraries/boost_1_33_1/ -O0 -g3
-Wall -c -fmessage-length=0 -pthread -MMD -MP
-MF"main.d" -MT"main.d" -o"main.o" "../main.cpp"
Finished building: ../main.cpp
 
g++ -L/home/quirk/dev/libraries/boost_1_33_1/stage/lib
-o"ManagedMakeProject" ./main.o
-lboost_thread-gcc-mt-d-1_33_1
Finished building target: ManagedMakeProject

...and still got the same error message:

"error while loading shared libraries:
libboost_thread-gcc-mt-d-1_33_1.so.1.33.1: cannot open
shared object file: No such file or directory"

There must be some compiler/linker arguments that I am
missing to get this to statically link.

Thanks,
Graham

--- Nat Goodspeed <ngoodspeed_at_[hidden]> wrote:

> > -----Original Message-----
> > From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-
> > bounces_at_[hidden]] On Behalf Of Forever Kid
> > Sent: Monday, December 11, 2006 12:54 AM
> > To: boost-users_at_[hidden]
> > Subject: [Boost-users] Issue linking to static
> boost thread library
> > (Newbie)
> >
> > I am having a little trouble getting boost to load
> the
> > static thread library.
> >
> > For some reason it wants to load the dynamic
> library
> > instead of the static boost_thread library.
>
> [Nat] I don't know if this is still applicable, but
> have you tried
> BOOST_THREAD_USE_LIB? This is the most pertinent
> message I've turned up:
>
>
http://archives.free.net.ph/message/20040629.155158.2084b216.en.html
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


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