Hi BDS,

Yes by linking against xpcom_core.lib some of the undefined reference errors went away.

But while linking it yet gives the below errors,

nsPlayBackUtils.obj : error LNK2001: unresolved external symbol "public: static char const * const nsCharTraits<char>::sEmptyBuffer" ([EMAIL PROTECTED]@D@@2PBDB) nsQEngineImpl.obj : error LNK2001: unresolved external symbol "public: static void const * const nsObsoleteACString::sCanonicalVTable" ([EMAIL PROTECTED]@@2PBXB) nsPlayBackUtils.obj : error LNK2001: unresolved external symbol "public: static void const * const nsObsoleteAString::sCanonicalVTable" ([EMAIL PROTECTED]@@2PBXB) nsPlayBackUtils.obj : error LNK2001: unresolved external symbol "public: static unsigned short const * const nsCharTraits<unsigned short>::sEmptyBuffer" ([EMAIL PROTECTED]@G@@2PBGB)
libxpcom_FIREFOX1_5.dll : fatal error LNK1120: 4 unresolved externals

I now link against xpcom.lib and xpcom_core.lib.

Is there i am missing anything ?

Thanks & Regards,
Raghavan

Benjamin Smedberg wrote:

Srinivasa Raghavan wrote:

Hi BDS,

Thanks for the response. I am compiling and linking against Gecko-SDK with the needed unfrozen header files from mozilla source.

To link against xpcom_core , whether i need to build the source ?? (because i just generated header files with the mozilla source )


On windows you will have to build from source (in order to get the xpcom_core.lib import library). On unix, which doesn't have import libraries, you can just link against xpcom_core from your firefox distro.

--BDS

_______________________________________________
Mozilla-xpcom mailing list
Mozilla-xpcom@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-xpcom


_______________________________________________
Mozilla-xpcom mailing list
Mozilla-xpcom@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to