Re: gfxASurface and Win32 friends
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Organization | NovaDSP |
| Message-ID | <[email protected]> |
More on this ... On 08/11/2010 18:15, Benjamin Smedberg wrote: > Nowhere do I see you linking against *any* mozilla import libraries. > Since you're using -DXPCOM_GLUE, I'd expect to see libxpcomglue.lib in > your link line. Without -DXPCOM_GLUE, you'd need to link against > xpcomglue_s.lib, xpcom.lib. For more details, see the linker > information at https://developer.mozilla.org/en/XPCOM_Glue > > The gfx*Surface symbols are export from libxul, if anywhere, and so > you'd also need to link against xul.lib. > With XPCOM_GLUE defined and adding xpcomglue.lib and xul.lib to the linker command line still leaves one unresolved external ... BrowserImpl.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall gfxWindowsSurface::BeginPrinting(class nsAString const &,class nsAString const &)" (?BeginPrinting@gfxWindowsSurface@@UAEIABVnsAString@@0@Z) I can hack this with a local implementation but would be keen to know why it is present.