boost GIL



  • hallo

    ich versuche mich grade in der boost Generic Image Library (GIL), um damit einfache bildalgorithmen mal zu testen, allerdings funktioniert die irgendwie nicht. Wäre cool zu wissen, ob jemand anderes damit schon bessere erfahrung sammeln konnte.

    boost version 1.40.0.1
    Ubuntu 10.04 LTS 64 bit

    #include <boost/gil/extension/io/jpeg_dynamic_io.hpp>
    
    using namespace boost::gil;
    
    int main(int argc, char** argv)
    {
    	rgb8_image_t img;
        jpeg_read_image("test.jpg",img);
    
    	return 0;
    }
    
    $ g++ main.cpp 
    In file included from /usr/include/boost/gil/extension/io/../dynamic_image/../../algorithm.hpp:26,
                     from /usr/include/boost/gil/extension/io/../dynamic_image/../../gil_all.hpp:27,
                     from /usr/include/boost/gil/extension/io/../dynamic_image/dynamic_image_all.hpp:25,
                     from /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:28,
                     from main.cpp:1:
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_const_reference_type<ColorBase, boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::get(const ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 2]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:128:   instantiated from ‘typename boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::type boost::gil::semantic_at_c(const ColorBase&) [with int K = 2, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:120:   instantiated from ‘void boost::gil::detail::jpeg_reader::read_image(Image&) [with Image = boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >]’
    /usr/include/boost/gil/extension/io/jpeg_io.hpp:94:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, Image&) [with Image = boost::gil::rgb8_image_t]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:112: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_reference_type<ColorBase, boost::gil::kth_semantic_element_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_reference_type<ColorBase, K>::get(ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 2]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:120:   instantiated from ‘typename boost::disable_if<boost::is_const<Reference>, typename boost::gil::kth_semantic_element_reference_type<ColorBase, K>::type>::type boost::gil::semantic_at_c(ColorBase&) [with int K = 2, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:120:   instantiated from ‘void boost::gil::detail::jpeg_reader::read_image(Image&) [with Image = boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >]’
    /usr/include/boost/gil/extension/io/jpeg_io.hpp:94:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, Image&) [with Image = boost::gil::rgb8_image_t]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:104: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_const_reference_type<ColorBase, boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::get(const ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 1]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:128:   instantiated from ‘typename boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::type boost::gil::semantic_at_c(const ColorBase&) [with int K = 1, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 2]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:120:   instantiated from ‘void boost::gil::detail::jpeg_reader::read_image(Image&) [with Image = boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >]’
    /usr/include/boost/gil/extension/io/jpeg_io.hpp:94:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, Image&) [with Image = boost::gil::rgb8_image_t]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:112: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_reference_type<ColorBase, boost::gil::kth_semantic_element_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_reference_type<ColorBase, K>::get(ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 1]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:120:   instantiated from ‘typename boost::disable_if<boost::is_const<Reference>, typename boost::gil::kth_semantic_element_reference_type<ColorBase, K>::type>::type boost::gil::semantic_at_c(ColorBase&) [with int K = 1, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 2]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:120:   instantiated from ‘void boost::gil::detail::jpeg_reader::read_image(Image&) [with Image = boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >]’
    /usr/include/boost/gil/extension/io/jpeg_io.hpp:94:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, Image&) [with Image = boost::gil::rgb8_image_t]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:104: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_const_reference_type<ColorBase, boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::get(const ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 0]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:128:   instantiated from ‘typename boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::type boost::gil::semantic_at_c(const ColorBase&) [with int K = 0, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 1]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 2]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:120:   instantiated from ‘void boost::gil::detail::jpeg_reader::read_image(Image&) [with Image = boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >]’
    /usr/include/boost/gil/extension/io/jpeg_io.hpp:94:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, Image&) [with Image = boost::gil::rgb8_image_t]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:112: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_reference_type<ColorBase, boost::gil::kth_semantic_element_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_reference_type<ColorBase, K>::get(ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 0]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:120:   instantiated from ‘typename boost::disable_if<boost::is_const<Reference>, typename boost::gil::kth_semantic_element_reference_type<ColorBase, K>::type>::type boost::gil::semantic_at_c(ColorBase&) [with int K = 0, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 1]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 2]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:120:   instantiated from ‘void boost::gil::detail::jpeg_reader::read_image(Image&) [with Image = boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >]’
    /usr/include/boost/gil/extension/io/jpeg_io.hpp:94:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, Image&) [with Image = boost::gil::rgb8_image_t]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:104: error:   in call to ‘at_c’
    


  • any_image<boost::mpl::vector<rgb8_image_t> > img;
    


  • #include <boost/gil/extension/io/jpeg_dynamic_io.hpp>
    
    using namespace boost::gil;
    
    int main(int argc, char** argv)
    {
    	any_image<boost::mpl::vector<rgb8_image_t> > img;
        jpeg_read_image("test.jpg",img);
    
    	return 0;
    }
    
    $ g++ main.cpp 
    In file included from /usr/include/boost/gil/extension/io/../dynamic_image/../../algorithm.hpp:26,
                     from /usr/include/boost/gil/extension/io/../dynamic_image/../../gil_all.hpp:27,
                     from /usr/include/boost/gil/extension/io/../dynamic_image/dynamic_image_all.hpp:25,
                     from /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:28,
                     from main.cpp:1:
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_const_reference_type<ColorBase, boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::get(const ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 2]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:128:   instantiated from ‘typename boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::type boost::gil::semantic_at_c(const ColorBase&) [with int K = 2, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/dynamic_io.hpp:56:   instantiated from ‘void boost::gil::detail::dynamic_io_fnobj<IsSupported, OpClass>::apply(const View&, mpl_::true_) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, IsSupported = boost::gil::detail::jpeg_read_is_supported, OpClass = boost::gil::detail::jpeg_reader]’
    /usr/include/boost/gil/extension/io/dynamic_io.hpp:65:   instantiated from ‘void boost::gil::detail::dynamic_io_fnobj<IsSupported, OpClass>::operator()(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, IsSupported = boost::gil::detail::jpeg_read_is_supported, OpClass = boost::gil::detail::jpeg_reader]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation_base.hpp:102:   instantiated from ‘typename UnaryOp::result_type boost::gil::detail::apply_operation_fwd_fn<1ul>::applyc(const Bits&, size_t, UnaryOp) const [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, Bits = boost::gil::variant<boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0> >::base_t, UnaryOp = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation_base.hpp:108:   instantiated from ‘typename Op::result_type boost::gil::apply_operation_basec(const Bits&, size_t, Op) [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, Bits = boost::gil::variant<boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0> >::base_t, Op = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation.hpp:43:   instantiated from ‘typename UnaryOp::result_type boost::gil::apply_operation(const boost::gil::variant<Types>&, UnaryOp) [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, UnaryOp = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:85:   instantiated from ‘void boost::gil::detail::jpeg_reader_dynamic::read_image(boost::gil::any_image<Types>&) [with Images = boost::mpl::vector<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]’
    /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:101:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, boost::gil::any_image<Types>&) [with Images = boost::mpl::vector<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:112: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_reference_type<ColorBase, boost::gil::kth_semantic_element_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_reference_type<ColorBase, K>::get(ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 2]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:120:   instantiated from ‘typename boost::disable_if<boost::is_const<Reference>, typename boost::gil::kth_semantic_element_reference_type<ColorBase, K>::type>::type boost::gil::semantic_at_c(ColorBase&) [with int K = 2, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/dynamic_io.hpp:56:   instantiated from ‘void boost::gil::detail::dynamic_io_fnobj<IsSupported, OpClass>::apply(const View&, mpl_::true_) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, IsSupported = boost::gil::detail::jpeg_read_is_supported, OpClass = boost::gil::detail::jpeg_reader]’
    /usr/include/boost/gil/extension/io/dynamic_io.hpp:65:   instantiated from ‘void boost::gil::detail::dynamic_io_fnobj<IsSupported, OpClass>::operator()(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, IsSupported = boost::gil::detail::jpeg_read_is_supported, OpClass = boost::gil::detail::jpeg_reader]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation_base.hpp:102:   instantiated from ‘typename UnaryOp::result_type boost::gil::detail::apply_operation_fwd_fn<1ul>::applyc(const Bits&, size_t, UnaryOp) const [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, Bits = boost::gil::variant<boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0> >::base_t, UnaryOp = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation_base.hpp:108:   instantiated from ‘typename Op::result_type boost::gil::apply_operation_basec(const Bits&, size_t, Op) [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, Bits = boost::gil::variant<boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0> >::base_t, Op = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation.hpp:43:   instantiated from ‘typename UnaryOp::result_type boost::gil::apply_operation(const boost::gil::variant<Types>&, UnaryOp) [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, UnaryOp = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:85:   instantiated from ‘void boost::gil::detail::jpeg_reader_dynamic::read_image(boost::gil::any_image<Types>&) [with Images = boost::mpl::vector<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]’
    /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:101:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, boost::gil::any_image<Types>&) [with Images = boost::mpl::vector<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:104: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_const_reference_type<ColorBase, boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::get(const ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 1]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:128:   instantiated from ‘typename boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::type boost::gil::semantic_at_c(const ColorBase&) [with int K = 1, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 2]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/dynamic_io.hpp:56:   instantiated from ‘void boost::gil::detail::dynamic_io_fnobj<IsSupported, OpClass>::apply(const View&, mpl_::true_) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, IsSupported = boost::gil::detail::jpeg_read_is_supported, OpClass = boost::gil::detail::jpeg_reader]’
    /usr/include/boost/gil/extension/io/dynamic_io.hpp:65:   instantiated from ‘void boost::gil::detail::dynamic_io_fnobj<IsSupported, OpClass>::operator()(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, IsSupported = boost::gil::detail::jpeg_read_is_supported, OpClass = boost::gil::detail::jpeg_reader]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation_base.hpp:102:   instantiated from ‘typename UnaryOp::result_type boost::gil::detail::apply_operation_fwd_fn<1ul>::applyc(const Bits&, size_t, UnaryOp) const [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, Bits = boost::gil::variant<boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0> >::base_t, UnaryOp = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation_base.hpp:108:   instantiated from ‘typename Op::result_type boost::gil::apply_operation_basec(const Bits&, size_t, Op) [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, Bits = boost::gil::variant<boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0> >::base_t, Op = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation.hpp:43:   instantiated from ‘typename UnaryOp::result_type boost::gil::apply_operation(const boost::gil::variant<Types>&, UnaryOp) [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, UnaryOp = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:85:   instantiated from ‘void boost::gil::detail::jpeg_reader_dynamic::read_image(boost::gil::any_image<Types>&) [with Images = boost::mpl::vector<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]’
    /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:101:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, boost::gil::any_image<Types>&) [with Images = boost::mpl::vector<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:112: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_reference_type<ColorBase, boost::gil::kth_semantic_element_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_reference_type<ColorBase, K>::get(ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 1]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:120:   instantiated from ‘typename boost::disable_if<boost::is_const<Reference>, typename boost::gil::kth_semantic_element_reference_type<ColorBase, K>::type>::type boost::gil::semantic_at_c(ColorBase&) [with int K = 1, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 2]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 3]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:522:   instantiated from ‘void boost::gil::static_copy(const Src&, Dst&) [with Src = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, Dst = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../pixel.hpp:121:   instantiated from ‘boost::gil::pixel<T, L>& boost::gil::pixel<T, L>::operator=(const boost::gil::pixel<T, L>&) [with ChannelValue = unsigned char, Layout = boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> >]’
    /usr/include/c++/4.4/bits/stl_algobase.h:343:   instantiated from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:397:   instantiated from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:436:   instantiated from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/c++/4.4/bits/stl_algobase.h:468:   instantiated from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >*, std::vector<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, std::allocator<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > > > > >, _OI = boost::gil::rgb8_pixel_t*]’
    /usr/include/boost/gil/extension/io/jpeg_io_private.hpp:112:   instantiated from ‘void boost::gil::detail::jpeg_reader::apply(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >]’
    /usr/include/boost/gil/extension/io/dynamic_io.hpp:56:   instantiated from ‘void boost::gil::detail::dynamic_io_fnobj<IsSupported, OpClass>::apply(const View&, mpl_::true_) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, IsSupported = boost::gil::detail::jpeg_read_is_supported, OpClass = boost::gil::detail::jpeg_reader]’
    /usr/include/boost/gil/extension/io/dynamic_io.hpp:65:   instantiated from ‘void boost::gil::detail::dynamic_io_fnobj<IsSupported, OpClass>::operator()(const View&) [with View = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, IsSupported = boost::gil::detail::jpeg_read_is_supported, OpClass = boost::gil::detail::jpeg_reader]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation_base.hpp:102:   instantiated from ‘typename UnaryOp::result_type boost::gil::detail::apply_operation_fwd_fn<1ul>::applyc(const Bits&, size_t, UnaryOp) const [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, Bits = boost::gil::variant<boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0> >::base_t, UnaryOp = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation_base.hpp:108:   instantiated from ‘typename Op::result_type boost::gil::apply_operation_basec(const Bits&, size_t, Op) [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, Bits = boost::gil::variant<boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0> >::base_t, Op = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/../dynamic_image/apply_operation.hpp:43:   instantiated from ‘typename UnaryOp::result_type boost::gil::apply_operation(const boost::gil::variant<Types>&, UnaryOp) [with Types = boost::mpl::v_item<boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgb8_pixel_t*> > >, boost::mpl::vector0<mpl_::na>, 0>, UnaryOp = boost::gil::detail::dynamic_io_fnobj<boost::gil::detail::jpeg_read_is_supported, boost::gil::detail::jpeg_reader>]’
    /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:85:   instantiated from ‘void boost::gil::detail::jpeg_reader_dynamic::read_image(boost::gil::any_image<Types>&) [with Images = boost::mpl::vector<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]’
    /usr/include/boost/gil/extension/io/jpeg_dynamic_io.hpp:101:   instantiated from ‘void boost::gil::jpeg_read_image(const char*, boost::gil::any_image<Types>&) [with Images = boost::mpl::vector<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]’
    main.cpp:8:   instantiated from here
    /usr/include/boost/mpl/at.hpp:42: error: ‘template<class Sequence, long int N> struct boost::mpl::at_c’ is not a function,
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base.hpp:386: error:   conflict with ‘template<int K, class E, class L, int N> typename boost::add_reference<E>::type boost::gil::at_c(boost::gil::detail::homogeneous_color_base<E, L, N>&)’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:104: error:   in call to ‘at_c’
    /usr/include/boost/mpl/at.hpp: In static member function ‘static typename boost::gil::kth_element_const_reference_type<ColorBase, boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::semantic_index>::type boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::get(const ColorBase&) [with ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int K = 0]’:
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:128:   instantiated from ‘typename boost::gil::kth_semantic_element_const_reference_type<ColorBase, K>::type boost::gil::semantic_at_c(const ColorBase&) [with int K = 0, ColorBase = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:241:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, int N = 1]’
    /usr/include/boost/gil/extension/io/../dynamic_image/../../color_base_algorithm.hpp:240:   instantiated from ‘static void boost::gil::detail::element_recursion<N>::static_copy(const P1&, P2&) [with P1 = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, P2 = boost::gil::pixel<unsigned char
    

    Die ausgabe geht noch weiter ich hab sie hier abgeschnitten, weil sonst mein post abgeschnitten wird.


Log in to reply