
24 Feb
2010
24 Feb
'10
2:18 p.m.
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.