Boost logo

Boost Users :

Subject: Re: [Boost-users] [program_options] VM object unable to store the values of options
From: Wenjing Jia (wejia_at_[hidden])
Date: 2009-02-08 19:40:58


Thanks very much for Volodya's advice! I've reinstalled a 1.37 boost and
all the problems have disappeared immediately!
Thanks!
Wenjing

Vladimir Prus wrote:
> Wenjing Jia wrote:
>
>> I also tried on the other examples mentioned on that web page, such as
>> "example/options_description.cpp". When I type:
>> "options_description --optimization 4 -I foo a.cpp",
>> the output is:
>> "Include paths are:
>> Input files are:
>> Optimization level is -858993460".
>> That is the input values are not taken and stored by the vm object.
>>
>> Why such a simple example won't work on my machine!?
>
> I imagine that the only reason for such behaviour could be some mismatch in compilation
> options between the library and the program. Does the problem persist if you try
> a later release? Do you have RTTI enabled in your project? Do you have any options
> affecting ABI set to values different from default (e.g. alignment)
>
> Also, are you sure you don't have *two* boost installations, of different version,
> and use headers from one installation and libraries from another?
>
> - Volodya
>


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