Boost logo

Boost :

Subject: [boost] [gil][io_new] Problems with templates
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-10-24 15:06:20

Hi there, I don't see the woods because of all the trees. Could
someone get the latest code from here:

and try to compile the following code:

#include <boost/gil/extension/io_new/tiff_all.hpp>

using namespace std;
using namespace boost;
using namespace gil;

int main()
    typedef mpl::vector< gray8_image_t
                       , gray16_image_t
                       , rgb8_image_t
                       , gil::detail::gray1_image_t
> my_img_types;

    any_image< my_img_types > runtime_image;

    read_image( "C:/gil_contributions/test_images/tiff/test.tif"
              , runtime_image
              , tiff_tag()

    return 0;

Why do I have this static assertion in read.hpp[662]? I don't
understand why the two buffer types are different.

Any help is very welcome,

Boost list run by bdawes at, gregod at, cpdaniel at, john at