Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost-announce] [1.37.0 beta] Beta release available on SourceForge
From: Arthur Carlsson (arthur_at_[hidden])
Date: 2008-10-27 07:50:28


Hi!

I get this error on 1.35.0 aswell and I think I read somewhere that the bug
still exist in 1.36.0.
I solved it by defining m_default_line_length in my application. Not the
prettiest solution though...

Regards,
Arthur

On Sun, Oct 26, 2008 at 20:39, Olaf Peter <ope-devel_at_[hidden]> wrote:

> Hi,
>
> I've tested boost.program_options, where I get linker error:
>
> $ LANG=en g++ -DBOOST_ALL_NO_LIB -DDRIVER -O -I
> /usr/local/boost_1_37_0_beta1/include/boost-1_37/ cmdlineopts.cpp -o
> cmdlineopts -L /usr/local/boost_1_37_0_beta1/lib/ -l boost_program_options
> ...
> cmdlineopts.cpp:(.text+0x99): undefined reference to
> `boost::program_options::options_description::m_default_line_length'
> ...
> cmdlineopts.cpp:(.text+0x1ff): undefined reference to
> `boost::program_options::options_description::m_default_line_length'
> ...
> cmdlineopts.cpp:(.text+0x381): undefined reference to
> `boost::program_options::options_description::m_default_line_length'
> collect2: ld returned 1 exit status
>
> nevertheless compiled with
> -DBOOST_ALL_NO_LIB or -DBOOST_ALL_DYN_LINK
>
> Did I miss something?
>
> Regards,
> Olaf
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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