Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created May 22, 2012 16:15
Show Gist options
  • Save springmeyer/2770035 to your computer and use it in GitHub Desktop.
Save springmeyer/2770035 to your computer and use it in GitHub Desktop.
src/image_compositing.cpp:105:27: error: no matching constructor for initialization of
'agg::rendering_buffer' (aka 'row_ptr_cache<int8u>')
agg::rendering_buffer mask(im2.getBytes(),im2.width(),im2.height(),im2.width() * 4);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/image_compositing.cpp:112:15: note: in instantiation of function template specialization
'mapnik::composite<mapnik::ImageData<unsigned int>, mapnik::ImageData<unsigned int> >' requested here
template void composite<mapnik::image_data_32,mapnik::image_data_32>(mapnik::image_data_32&,...
^
deps/agg/include/agg_rendering_buffer.h:158:9: note: candidate constructor not viable: 1st argument
('const unsigned char *') would lose const qualifier
row_ptr_cache(T* buf, unsigned width, unsigned height, int stride) :
^
deps/agg/include/agg_rendering_buffer.h:148:9: note: candidate constructor not viable: requires 0 arguments,
but 4 were provided
row_ptr_cache() :
^
deps/agg/include/agg_rendering_buffer.h:142:29: note: candidate constructor (the implicit copy constructor)
not viable: requires 1 argument, but 4 were provided
template<class T> class row_ptr_cache
^
1 error generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment