|
Boost Users : |
Subject: Re: [Boost-users] Build error
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-06-21 12:48:17
David Doria wrote:
> I have been unable to build boost-trunk for a while now because of this
> error:
>
> [ 58%] Building CXX object
> libs/accumulators/example/CMakeFiles/accumulators-accumulators_example.dir/main.cpp.o
> /home/doriad/src/boost-trunk/boost/accumulators/statistics_fwd.hpp: In
> function âvoid example1()â:
> /home/doriad/src/boost-trunk/boost/accumulators/statistics_fwd.hpp:87:
> error: âtemplate<int N> struct boost::accumulators::tag::momentâ is not a
> function,
> /home/doriad/src/boost-trunk/boost/accumulators/statistics/moment.hpp:104:
> error: conflict with âtemplate<int T2, class Arg1, class A0, class A1,
> class A2, class A3, class A4, class A5, class A6, class A7, class A8, class
> A9, class A10, class A11, class A12, class A13, class A14> typename
> boost::accumulators::detail::extractor_result<Arg1,
> boost::accumulators::tag::moment<T2> >::type
> boost::accumulators::extract::moment(const Arg1&, const A0&, const A1&,
> const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&,
> const A9&, const A10&, const A11&, const A12&, const A13&, const A14&)â
> /home/doriad/src/boost-trunk/libs/accumulators/example/main.cpp:63: error:
> in call to âmomentâ
Is the problem that an example does not compile? If so, please report that via
http://svn.boost.org -- however, unless you specifically need that example
it does not seem to be showstopper.
Unrelated to that, you don't seem to be using the official build procedure
documented at:
http://boost.org/more/getting_started.html
That procedure does not builds examples for every library by default.
- 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