|
Boost Users : |
Subject: Re: [Boost-users] Compiler errors using boost/program_options with Boost v 1.47
From: Jakob Schluttig (jakob.schluttig_at_[hidden])
Date: 2011-09-07 16:01:15
2011/9/7 Gordon Woodhull <gordon_at_[hidden]>:
>
> Your message seems to have lost its code/error content. Please try sending as plain text, if your mail client allows it.
>
> Cheers
> Gordon
>
Oh my gosh...
Thanks for the hint!
Here is my message again in plain text:
Dear all,
I use boost/program_options in one of my programs (I compile under
Linux with gcc 4.4.3). With Boost 1.46 everything worked fine, but now
I installed Boost 1.47 and I get a bunch of error messages:
In file included from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:34,
from /usr/include/boost/mpl/times.hpp:19,
from /usr/include/boost/mpl/multiplies.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/is_subranged.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
from
/usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
from /usr/include/boost/numeric/conversion/converter.hpp:13,
from /usr/include/boost/numeric/conversion/cast.hpp:32,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from
/usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from include/Config.hh:28,
from main.cc:24:
/usr/include/boost/mpl/aux_/include_preprocessed.hpp:37:90: error:
boost/mpl/aux_/preprocessed/gcc/ostimes.hpp: Datei oder Verzeichnis
nicht gefunden
Compiling geantphantom.cc ...
In file included from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:34,
from /usr/include/boost/mpl/times.hpp:19,
from /usr/include/boost/mpl/multiplies.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/is_subranged.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
from
/usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
from /usr/include/boost/numeric/conversion/converter.hpp:13,
from /usr/include/boost/numeric/conversion/cast.hpp:32,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from
/usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from include/Config.hh:28,
from main.cc:24:
/usr/include/boost/mpl/aux_/include_preprocessed.hpp:37:90: error:
boost/mpl/aux_/preprocessed/gcc/ostimes.hpp: Datei oder Verzeichnis
nicht gefunden
In file included from
/usr/include/boost/numeric/conversion/detail/is_subranged.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
from
/usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
from /usr/include/boost/numeric/conversion/converter.hpp:13,
from /usr/include/boost/numeric/conversion/cast.hpp:32,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from
/usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from include/Config.hh:28,
from main.cc:24:
/usr/include/boost/mpl/multiplies.hpp:38: error: expected
template-name before < token
/usr/include/boost/mpl/multiplies.hpp:38: error: expected { before < token
/usr/include/boost/mpl/multiplies.hpp:38: error: expected
unqualified-id before < token
btw, include/Config.hh:28 is simply:
#include <boost/program_options.hpp>
Sorry for the plain question, but: Could you help me to fix this? Am I
missing something in my installation? Has boost/program_options not be
correctly updated to 1.47?
Many thanks for your help...
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