I have to correct myself here. After all, I forgot to switch to that GIL branch you mentioned. After doing so, the jpeg import and export won't compile anymore and I couldn't figure out yet how the constructor of the image types works so I can create an empty image rather than retrieving it from the jpeg functions. GIL's interface really isn't for the faint hearted, is it? Anyway, I just wanted to let you know that my previous mail was faulty and I'm still working on it. Cheers, Stephan On Sun, Jan 4, 2015 at 5:05 PM, Stephan Menzel <stephan.menzel@gmail.com> wrote:
On Sat, Jan 3, 2015 at 11:44 PM, Christian Henning <chhenning@gmail.com> wrote:
Could you try out the develop branch for gil/extension folder?
that took me a while. Had to clone the repo first and circumvent a build system error that prevented my from building master.
Anyway, I did as you asked and the problem still persists. Same behavior, same message:
test1: /home/sm/devel/modular-boost/boost/gil/color_base.hpp:343: typename boost::gil::element_reference_type<boost::gil::detail::homogeneous_color_base<Element, Layout, K> >::type boost::gil::detail::dynamic_at_c(boost::gil::detail::homogeneous_color_base<Element, Layout, K>&, std::size_t) [with Element = signed char; Layout = boost::gil::layout<boost::mpl::vector1<boost::gil::gray_color_t> >; int K = 1; typename boost::gil::element_reference_type<boost::gil::detail::homogeneous_color_base<Element, Layout, K> >::type = signed char&; std::size_t = long unsigned int]: Assertion `i<K' failed.
Cheers, Stephan