There's no nspr4.lib in the gecko sdk, only a nspr4_s.lib (in the bin directory). I've linked with that, but that didn't help (and nspr4_s.lib doesn't match when grepping for __imp__PR_ReadDir). Is there a way to create the lib from the dll?

I've used pexports to create a .def from nspr4.dll and msvc's lib to create a .lib from the .def (why is the lib not simply included with the sdk??) - linking with it removed some linking errors, but I'm still getting:


xpcomglue.lib(nsGREDirServiceProvider.obj) : error LNK2001: unresolved Symbol _PL_strrchr
xpcomglue.lib(nsGREDirServiceProvider.obj) : error LNK2001: unresolved Symbol _PL_strrstr
embed_base_s.lib(nsEmbedAPI.obj) : error LNK2001: unresolved Symbol "__declspec(dllimport) public: __thiscall nsGetServiceByContractID::nsGetServiceByContractID(char const *,class nsISupports *,unsigned int *)" (__imp_??0nsGetService
ByContractID@@[EMAIL PROTECTED]@@[EMAIL PROTECTED])
embed_base_s.lib(nsEmbedAPI.obj) : error LNK2001: unresolved Symbol "__declspec(dllimport) public: __thiscall nsCreateInstanceByContractID::nsCreateInstanceByContractID(char const *,class nsISupports *,unsigned int *)" (__imp_??0nsCr
eateInstanceByContractID@@[EMAIL PROTECTED]@@[EMAIL PROTECTED])


Ideas?
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to