Boost logo

Boost Users :

From: François Duranleau (duranlef_at_[hidden])
Date: 2006-01-06 13:09:18


On Fri, 6 Jan 2006, Simen Kvaal wrote:

> Stated simply: My programs (even the example programs included with boost
> 1.33.1) using program_options do not link!
[snip]
> (As far as I can see, all header files in boost/program_options/ are
> included in boost/program_options.hpp.)
>
> I would appreciate any help with this.

You also need to link with -lboost_program_options (or
-lboost_program_options-gcc or any other variant, depending on your
installation).

-- 
François Duranleau
LIGUM, Université de Montréal
"Nothing will ever be attempted, if all possible objections must be first
  overcome."
                                                    - Samuel Johnson, 1759.

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