Boost logo

Boost Users :

From: Christian Heinemann (christian.magdeburg_at_[hidden])
Date: 2005-03-31 16:27:41


boost-users_at_[hidden] schrieb am 31.03.05 04:11:12:
>
> On Wed, 30 Mar 2005 13:06:32 +0100, Christian Heinemann wrote
> > Hi,
> > i want to use serialization library from boost. I'm enthused about
> > the functionality. But when i try to compile and link the first
> > example (which can be find on
> > http://www.boost.org/libs/serialization/doc/index.html), i get the
> > following error messages:
> > (with g++ -o serialize serialize.cpp -lboost_serialization-gcc
> > -I/usr/local/include/boost-1_32)
>
> It doesn't look like you've told the compiler where to find the serialization
> library. You probably need the option:
>
> -L /usr/local/lib
>
> assuming that's where the serialization library is installed.
I found out that "gcc -o serialize serialize.cpp -lboost_serialization-gcc-d -I/usr/local/include/boost-1_32 -lboost_thread-gcc-mt" works. Exist there a special reason why i should use "boost_serialization-gcc-d" instead of "lboost_serialization-gcc" ?

Christian
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


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