Hi,

I am linking my embedding app against the FIREFOX_3_0_1_RELEASE and 
MOZ_CO_PROJECT=xulrunner code base
and following libs.

nspr4.lib
plc4.lib
plds4.lib
xul.lib
xpcomglue.lib
profdirserviceprovidersa_s.lib
jpeg3250.lib

And with XPCOM_GLUE=1 defined, I am getting these link errors:

error LNK2019: unresolved external symbol "public: int __thiscall 
nsRect::IntersectRect(struct nsRect const &,struct nsRect const &)" 
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) referenced in function "public: 
virtual void __thiscall BrowserFrame::threadUpdate(void)" 
([EMAIL PROTECTED]@@UAEXXZ)

error LNK2001: unresolved external symbol "public: int __thiscall 
nsRect::IntersectRect(struct nsRect const &,struct nsRect const &)" 
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z)

error LNK2019: unresolved external symbol "public: int __thiscall 
nsRect::Intersects(struct nsRect const &)const " 
([EMAIL PROTECTED]@@QBEHABU1@@Z) referenced in function "public: void 
__thiscall DirtyRectList::MergeRemainingRects(class DirtyRect *)" 
([EMAIL PROTECTED]@@QAEXPAVDirtyRect@@@Z)

error LNK2019: unresolved external symbol "public: int __thiscall 
nsRect::UnionRect(struct nsRect const &,struct nsRect const &)" 
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) referenced in function "public: void 
__thiscall DirtyRectList::InsertRect(struct nsRect,int)" 
([EMAIL PROTECTED]@@QAEXUnsRect@@[EMAIL PROTECTED])

If I link to gkgfx.lib and string_s.lib these errors went away... but 
then I get

error LNK2005: "public: __thiscall gfxIntSize::gfxIntSize(int,int)" 
(??0gfxIntSize@@[EMAIL PROTECTED]@Z) already defined in xul.lib(xul.dll)

I need to use both nsRect and gfxIntSize struct.. can they co-exist or 
is there a link strategy to solve these errors?

your help is very much appreciated.

Steve



_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to