Hello I have a problem with winembeded Mozilla 3.0 test program compiling. First of all I build a Mozilla 3.0 source from 3.0b5/source/ firefox-3.0b5-source.tar.bz2 through this mozconfig file:
# sh # Build configuration script # # See http://www.mozilla.org/build/unix.html for build instructions. # # Options for 'configure' (same as command-line options). . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=../build ac_add_options --enable-optimize ac_add_options --disable-debug ac_add_options --disable-tests ac_add_options --enable-svg ac_add_options --disable-installer The mozilla 3.0 sources build working well. After, I use $(MOZSRC)/build/dist/include and $(MOZSRC)/build/dist/ lib/ LIBs for my test project. I use a Compiler flag: XPCOM_GLUE and xpcomglue.lib to link. Systematically I have this link error. Do you have any ideas? Thank you for you helps ! Linking... WebBrowserChrome.obj : error LNK2001: unresolved external symbol "public: void __thiscall nsCOMPtr_base::assign_from_qi(class nsQueryInterface,struct nsID const &)" (? [EMAIL PROTECTED]@@QAEXVnsQueryInterface@@ABUnsID@@@Z) winembed.obj : error LNK2001: unresolved external symbol "public: void __thiscall nsCOMPtr_base::assign_from_qi(class nsQueryInterface,struct nsID const &)" (? [EMAIL PROTECTED]@@QAEXVnsQueryInterface@@ABUnsID@@@Z) WebBrowserChrome.obj : error LNK2001: unresolved external symbol "public: void __thiscall nsCOMPtr_base::assign_from_helper(class nsCOMPtr_helper const &,struct nsID const &)" (? [EMAIL PROTECTED]@@QAEXABVnsCOMPtr_helper@@ABUnsID@@@Z) winembed.obj : error LNK2001: unresolved external symbol "public: void __thiscall nsCOMPtr_base::assign_from_helper(class nsCOMPtr_helper const &,struct nsID const &)" (? [EMAIL PROTECTED]@@QAEXABVnsCOMPtr_helper@@ABUnsID@@@Z) WebBrowserChrome.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall nsCreateInstanceByContractID::operator()(struct nsID const &,void * *)const " (??RnsCreateInstanceByContractID@@UBEIABUnsID@@[EMAIL PROTECTED]) WebBrowserChrome.obj : error LNK2001: unresolved external symbol "public: void __thiscall nsCOMPtr_base::assign_with_AddRef(class nsISupports *)" (? [EMAIL PROTECTED]@@QAEXPAVnsISupports@@@Z) winembed.obj : error LNK2001: unresolved external symbol "public: void __thiscall nsCOMPtr_base::assign_with_AddRef(class nsISupports *)" (? [EMAIL PROTECTED]@@QAEXPAVnsISupports@@@Z) WindowCreator.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl NS_TableDrivenQI(void *,struct QITableEntry const *,struct nsID const &,void * *)" (? NS_TableDrivenQI@@YAIPAXPBUQITableEntry@@ABUnsID@@[EMAIL PROTECTED]) winembed.obj : error LNK2001: unresolved external symbol "public: void __thiscall nsCOMPtr_base::assign_from_gs_contractid(class nsGetServiceByContractID,struct nsID const &)" (? [EMAIL PROTECTED]@@QAEXVnsGetServiceByContractID@ @ABUnsID@@@Z) winembed.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall nsGetInterface::operator()(struct nsID const &,void * *)const " (??RnsGetInterface@@UBEIABUnsID@@[EMAIL PROTECTED]) winembed.obj : error LNK2001: unresolved external symbol "public: void __thiscall nsCOMPtr_base::assign_from_gs_contractid_with_error(class nsGetServiceByContractIDWithError const &,struct nsID const &)" (? [EMAIL PROTECTED] tr_base@@QAEXABVnsGetServiceByContractIDWithError@@ABUnsID@@@Z) xpcomglue.lib(nsXPCOMGlue.obj) : error LNK2001: unresolved external symbol ___security_cookie xpcomglue.lib(nsStringAPI.obj) : error LNK2001: unresolved external symbol ___security_cookie xpcomglue.lib(nsGREGlue.obj) : error LNK2001: unresolved external symbol ___security_cookie xpcomglue.lib(nsGlueLinkingWin.obj) : error LNK2001: unresolved external symbol ___security_cookie xpcomglue.lib(nsXPCOMGlue.obj) : error LNK2001: unresolved external symbol @[EMAIL PROTECTED] xpcomglue.lib(nsStringAPI.obj) : error LNK2001: unresolved external symbol @[EMAIL PROTECTED] xpcomglue.lib(nsGREGlue.obj) : error LNK2001: unresolved external symbol @[EMAIL PROTECTED] xpcomglue.lib(nsGlueLinkingWin.obj) : error LNK2001: unresolved external symbol @[EMAIL PROTECTED] xpcomglue.lib(nsGREGlue.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new[](unsigned int)" ([EMAIL PROTECTED]@Z) Release/winembed.exe : fatal error LNK1120: 11 unresolved externals Error executing link.exe. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
