
8 Feb
2007
8 Feb
'07
9:25 a.m.
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