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 )
Thanks & Regards,
Raghavan
Benjamin Smedberg wrote:
Srinivasa Raghavan wrote:
Hi All,
I compiled my component for firefox 1.5. I successfully compiled the
component by defining MOZILLA_INTERNAL_API.
While linking i am getting the below error (in red). I am linking it
against the following gecko libraries obtained from Gecko-SDK
*msvc-1.8b1
*xpcom.lib
xpcomglue_s.lib
embed_base_s.lib
plc4.lib
plds4.lib
nspr4.lib
nsRecorderImpl.obj : error LNK2001: unresolved external symbol
"public: void __thiscall nsAString_internal::Assign(unsigned short
const *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
nsValidator.obj : error LNK2001: unresolved external symbol "public:
void __thiscall nsString::Trim(char const *,int,int,int)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED])
nsPlayBackUtils.obj : error LNK2001: unresolved external symbol
"public: void __
thiscall nsSubstring::Replace(unsigned int,unsigned int,class
nsAString_internal const &)"
([EMAIL PROTECTED]@@QAEXIIABVnsAString_internal@@@Z)
Please read http://developer.mozilla.org/en/docs/XPCOM_Glue carefully.
In this case you are trying to use "internal" linkage, but you aren't
linking against xpcom_core.
--BDS
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom