pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling - CL_PixelBuffer::get_pixel and Pingus::Blitter


From: John August
Subject: Compiling - CL_PixelBuffer::get_pixel and Pingus::Blitter
Date: Mon, 18 Oct 2004 07:27:21 +1000
User-agent: Mutt/1.0.1i

Some compiling is happening, but I have a problem compiling this
component.

See below. Any suggestions on origin appreciated.

-- 
The learning exceeds the task

John August.

--

...

make[3]: Leaving directory `/hda3/work/svn/trunk/src/worldmap'
make[3]: Entering directory `/hda3/work/svn/trunk/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include/ClanLib-0.7   
-I/usr/include/libxml2/libxml -I/usr/include/libxml2  -g -O2 -MT 
pingus-blitter.o -MD -MP -MF ".deps/pingus-blitter.Tpo" -c -o pingus-blitter.o 
`test -f 'blitter.cxx' || echo './'`blitter.cxx; \
then mv -f ".deps/pingus-blitter.Tpo" ".deps/pingus-blitter.Po"; else rm -f 
".deps/pingus-blitter.Tpo"; exit 1; fi
blitter.cxx: In static member function `static void 
   Pingus::Blitter::put_surface(CL_PixelBuffer, const CL_Surface&, int, int)':
blitter.cxx:48: passing `const CL_Surface' as `this' argument of 
   `CL_PixelBuffer CL_Surface::get_pixeldata()' discards qualifiers
blitter.cxx: In static member function `static CL_PixelBuffer 
   Pingus::Blitter::create_canvas(const CL_Surface&)':
blitter.cxx:417: passing `const CL_Surface' as `this' argument of 
   `CL_PixelBuffer CL_Surface::get_pixeldata()' discards qualifiers
blitter.cxx: In static member function `static CL_PixelBuffer 
   Pingus::Blitter::scale_surface_to_canvas(CL_PixelBuffer, int, int)':
blitter.cxx:512: no matching function for call to 
   `CL_PixelBuffer::draw_pixel(int&, int&, CL_Color)'

...

   `CL_PixelBuffer::draw_pixel(int, int&, CL_Color&)'
blitter_impl.hxx: In function `CL_PixelBuffer 
   Pingus::BlitterImpl::modify(CL_PixelBuffer, const TransF&) [with TransF = 
   Pingus::BlitterImpl::transform_flip]':
blitter.cxx:659:   instantiated from here
blitter_impl.hxx:229: no matching function for call to 
   `CL_PixelBuffer::get_pixel(int&, int&)'
blitter_impl.hxx:230: no matching function for call to 
   `CL_PixelBuffer::draw_pixel(int, int, CL_Color&)'
blitter_impl.hxx: In function `CL_PixelBuffer 
   Pingus::BlitterImpl::modify(CL_PixelBuffer, const TransF&) [with TransF = 
   Pingus::BlitterImpl::transform_rot180_flip]':
blitter.cxx:666:   instantiated from here

...






reply via email to

[Prev in Thread] Current Thread [Next in Thread]