Michael Shapiro wrote:
I am having problems linking a program using the serialization library.
I have made a small program, considerably simpler than the demo.cpp listed at http://www.boost.org/libs/serialization/doc/tutorial.html and I have also tried linking demo.cpp itself.
My hpp files are in /home/mshapiro.local/boost/include/boost-1_32/boost/
My libraries are in /home/mshapiro.local/boost/lib/
I have tried linking this code with gcc 3.4.5 on a linux machine using
gcc -I/home/mshapiro.local/boost/include/boost-1_32/ \ -L/home/mshapiro.local/boost/lib/ \ -lboost_serialization-gcc \ demo.cpp
I see no reference to a specific library here - could a gcc expert comment here? On my system - windows XP professional the library name is libboost_serialization-gcc-d-1_33_1 So I would expect to use that as the argumetn for the -l switch above. It might be different in your case. Robert Ramey