Boost logo

Boost Users :

Subject: Re: [Boost-users] linking problems
From: Tarcisio Fedrizzi (tarcisio.fedrizzi_at_[hidden])
Date: 2010-02-24 09:18:34


Hi,
> yamas.cpp:(.text+0x362): undefined reference to
> `boost::program_options::options_description::m_default_line_length'
>
> and goes on with many more compiler messages. My question now is, how
> can I make g++ aware of boost during the linking process. I tinkered
> with -L/usr/local/lib (where my boost libraries are), but without
> success. Specifically stating -llibboost_program_options lets g++ tell
>
actually you have to pass the option -lboost_program_options to the
compiler without
the leading "lib".
> me that I cannot find this library. However, /usr/local/lib is in
> LD_LIBRARY_PATH and libboost_program_options.so in there - installed
> today.
>
> Any hints for me?
>
> TIA
> Christian
>
Hope this helps.

Bye,
Tarcisio.


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