Boost logo

Boost Users :

Subject: Re: [Boost-users] [gil] Unexplainable compiler error
From: Christian Henning (chhenning_at_[hidden])
Date: 2009-03-26 10:34:03

Hi there,

what type is m_imageData? The following works:

    unsigned int w, h, p;
    unsigned char* buffer;

    rgba8c_view_t v1 = interleaved_view( w, h,
reinterpret_cast<rgba8_pixel_t const*>( buffer ), p );
    rgba8_view_t v2 = interleaved_view( w, h,
reinterpret_cast<rgba8_pixel_t*>( buffer ), p );

BTW, please make sure to read the tutorial.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at