Hello,

I am currently using webkit-1.8.0, here I have faced a compilation error. The 
steps I followed are:
1. ./configure --with-accelerated-compositing=cairo
2. make

Source/WebCore/platform/graphics/cairo/TextureMapperCairo.h: In static member 
function ‘static WTF::PassOwnPtr<WebCore::TextureMapper> 
WebCore::TextureMapperCairo::create()’:
Source/WebCore/platform/graphics/cairo/TextureMapperCairo.h:75: error: cannot 
allocate an object of abstract type ‘WebCore::TextureMapperCairo’
Source/WebCore/platform/graphics/cairo/TextureMapperCairo.h:59: note:   because 
the following virtual functions are pure within ‘WebCore::TextureMapperCairo’:
./Source/WebCore/platform/graphics/texmap/TextureMapper.h:121: note:     
virtual WebCore::TextureMapper::AccelerationMode 
WebCore::TextureMapper::accelerationMode() const
Source/WebCore/platform/graphics/cairo/TextureMapperCairo.cpp: In member 
function ‘virtual WebCore::IntSize WebCore::TextureMapperCairo::viewportSize() 
const’:
Source/WebCore/platform/graphics/cairo/TextureMapperCairo.cpp:89: warning: no 
return statement in function returning non-void
Source/WebCore/platform/graphics/cairo/TextureMapperCairo.cpp: In member 
function ‘virtual WTF::PassRefPtr<WebCore::BitmapTexture> 
WebCore::TextureMapperCairo::createTexture()’:
Source/WebCore/platform/graphics/cairo/TextureMapperCairo.cpp:120: error: 
cannot allocate an object of abstract type ‘WebCore::BitmapTextureCairo’
Source/WebCore/platform/graphics/cairo/TextureMapperCairo.h:31: note:   because 
the following virtual functions are pure within ‘WebCore::BitmapTextureCairo’:
./Source/WebCore/platform/graphics/texmap/TextureMapper.h:66: note:     virtual 
void WebCore::BitmapTexture::updateContents(WebCore::Image*, const 
WebCore::IntRect&, const WebCore::IntRect&, WebCore::BitmapTexture::PixelFormat)
./Source/WebCore/platform/graphics/texmap/TextureMapper.h:67: note:     virtual 
void WebCore::BitmapTexture::updateContents(const void*, const 
WebCore::IntRect&)

After that I check the header files of the class TextureMapper and class 
TextureMapperCairo. TextureMapperCairo is a derived class of the abstract class 
TextureMapper, but don't implement some of the pure virtual functions.
This error seems to be very strange to me, as lot of people are using this, it 
should not be present or is it a known problem??

Regards,
Deb

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com
_______________________________________________
webkit-gtk mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk

Reply via email to