Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-01-23 17:15:35

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
> 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

On my system - windows XP professional the library name is


So I would expect to use that as the argumetn for the -l switch above. It
be different in your case.

Robert Ramey

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at