Boost logo

Boost Users :

From: Misha (misha_at_[hidden])
Date: 2007-02-08 04:25:29


Maximilian Wilson ' s post I found in archives :

>Perhaps this is obvious, but it wasn't to me from Boost's
>documentation: you have to explicitly link in the serialization
>library. On gcc this would be

>g++ myProgram.cpp -o myProgram -lboost_serialization-gcc

>(where libboost_serialization-gcc.a is a file in your library
>directory $LIBRARY_PATH).

As I can see now it was a linker problem.

Line:

> g++ demo.cpp -o main -lboost_serialization

solved it for me.

Dont really get it, cause the library file name is
/usr/lib/libboost_serialization.a , but I'm just happy with the result.

Consider topic closed.

Thanks again for your help.

Regards
Misha


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