boost

i'm trying to compile a c++ source code, using boost...
i included boost/signal.hpp , but i couldn't compile it

i'm using g++ compiler and i wrote in terminal
g++ signal1.cpp -lboost_signals , but it doesn't compile

..what option should i use to compile my code ? .....thanks :)
Topic archived. No new replies allowed.