$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Olaf van der Spek (olafvdspek_at_[hidden])
Date: 2006-04-25 11:22:16
On 4/25/06, Adam Teasdale Hartshorne <adam_at_[hidden]> wrote:
> Hi All,
>
> I am having some trouble compiling the examples for the program_options
> library on a linux box.
>
> I following is the output of my attempt to try and compile the first.cpp
> example. I obviously understand that error message is due to the
> compiler been unable to see the appropriate function in the given
> libraries. I therefore assume I should be including so other libraries,
> but I don't know which ones are needed. Interestingly I can get the
> simple_ls.cpp example to compile and function ok.
Did you include -lboost_program_options on the g++ command line?