• 4790阅读
  • 0回复

[提问]在windows下编译webkit源码 [复制链接]

上一主题 下一主题
离线pengderun
 

只看楼主 倒序阅读 楼主  发表于: 2013-08-15
用cygwin+VS2010用了很长时间差一点就编译webkit.dll来了,到下面这里就出错了,错误信息如下:
......前面太多了省略
PreLinkEvent:
   已复制         1 个文件
   已复制         1 个文件。
   已复制         1 个文件。
   已复制         1 个文件。
Link:
   WebKitSystemInterface.lib(WebKitSystemInterface.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
      Creating library C:\qtwebkit\WebKitBuild\Release\lib\WebKit.lib and object C:\qtwebkit\WebKitBuild\Release\lib\WebKit.exp
WebCore.lib(BitmapImageCG.obj) : error LNK2001: unresolved external symbol "public: __thiscall WebCore::ImageSource::ImageSource(enum WebCore::ImageSource::AlphaOption,enum WebCore::ImageSource::GammaAndColorProfileOption)" (??0ImageSource@WebCore@@QAE@W4AlphaOption@01@W4GammaAndColorProfileOption@01@@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: __thiscall WebCore::ImageSource::ImageSource(enum WebCore::ImageSource::AlphaOption,enum WebCore::ImageSource::GammaAndColorProfileOption)" (??0ImageSource@WebCore@@QAE@W4AlphaOption@01@W4GammaAndColorProfileOption@01@@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: unsigned int __thiscall WebCore::ImageSource::bytesDecodedToDetermineProperties(void)const " (?bytesDecodedToDetermineProperties@ImageSource@WebCore@@QBEIXZ)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: class WebCore::IntSize __thiscall WebCore::ImageSource::size(enum WebCore::RespectImageOrientationEnum)const " (?size@ImageSource@WebCore@@QBE?AVIntSize@2@W4RespectImageOrientationEnum@2@@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: class WebCore::IntSize __thiscall WebCore::ImageSource::frameSizeAtIndex(unsigned int,enum WebCore::RespectImageOrientationEnum)const " (?frameSizeAtIndex@ImageSource@WebCore@@QBE?AVIntSize@2@IW4RespectImageOrientationEnum@2@@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall WebCore::ImageSource::getHotSpot(class WebCore::IntPoint &)const " (?getHotSpot@ImageSource@WebCore@@QBE_NAAVIntPoint@2@@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: unsigned int __thiscall WebCore::ImageSource::frameCount(void)const " (?frameCount@ImageSource@WebCore@@QBEIXZ)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall WebCore::ImageSource::isSizeAvailable(void)" (?isSizeAvailable@ImageSource@WebCore@@QAE_NXZ)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: int __thiscall WebCore::ImageSource::repetitionCount(void)" (?repetitionCount@ImageSource@WebCore@@QAEHXZ)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: void __thiscall WebCore::ImageSource::reportMemoryUsage(class WTF::MemoryObjectInfo *)const " (?reportMemoryUsage@ImageSource@WebCore@@QBEXPAVMemoryObjectInfo@WTF@@@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: void __thiscall WebCore::ImageSource::clear(bool,unsigned int,class WebCore::SharedBuffer *,bool)" (?clear@ImageSource@WebCore@@QAEX_NIPAVSharedBuffer@2@0@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: void __thiscall WebCore::ImageSource::setData(class WebCore::SharedBuffer *,bool)" (?setData@ImageSource@WebCore@@QAEXPAVSharedBuffer@2@_N@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: class WTF::String __thiscall WebCore::ImageSource::filenameExtension(void)const " (?filenameExtension@ImageSource@WebCore@@QBE?AVString@WTF@@XZ)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall WebCore::ImageSource::frameHasAlphaAtIndex(unsigned int)" (?frameHasAlphaAtIndex@ImageSource@WebCore@@QAE_NI@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: class WebCore::ImageOrientation __thiscall WebCore::ImageSource::orientationAtIndex(unsigned int)const " (?orientationAtIndex@ImageSource@WebCore@@QBE?AVImageOrientation@2@I@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: __thiscall WebCore::ImageSource::~ImageSource(void)" (??1ImageSource@WebCore@@QAE@XZ)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: unsigned int __thiscall WebCore::ImageSource::frameBytesAtIndex(unsigned int)const " (?frameBytesAtIndex@ImageSource@WebCore@@QBEII@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: float __thiscall WebCore::ImageSource::frameDurationAtIndex(unsigned int)" (?frameDurationAtIndex@ImageSource@WebCore@@QAEMI@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall WebCore::ImageSource::frameIsCompleteAtIndex(unsigned int)" (?frameIsCompleteAtIndex@ImageSource@WebCore@@QAE_NI@Z)
WebCore.lib(BitmapImage.obj) : error LNK2001: unresolved external symbol "public: struct CGImage * __thiscall WebCore::ImageSource::createFrameAtIndex(unsigned int)" (?createFrameAtIndex@ImageSource@WebCore@@QAEPAUCGImage@@I@Z)
WebCore.lib(PDFDocumentImage.obj) : error LNK2001: unresolved external symbol "unsigned int __cdecl WebCore::sharedBufferGetBytesAtPosition(void *,void *,long,unsigned int)" (?sharedBufferGetBytesAtPosition@WebCore@@YAIPAX0JI@Z)
C:\qtwebkit\WebKitBuild\Release\bin\WebKit.dll : fatal error LNK1120: 20 unresolved externals

Build FAILED.

ImageSource类的源码也看过,由于本人的C++也不算很熟,还没找到是什么原因,有没有人指点一下,谢谢!
快速回复
限100 字节
 
上一个 下一个