Looks like you're not defining XP_WIN in your project. 
see: news:[EMAIL PROTECTED]

Also be sure that the defines for DEBUG or NDEBUG match across
the entire project.

John.

rsnavale wrote:
> 
> Working with mozilla is an adventure... Thanks to mozilla comunity.
> 
> I am a new member, I am trying to embed Gecko in my VC++ application
> similar to
> the mfcembed sample. While building I am geeting the following error :
> 
> nsWebGuard.obj : error LNK2001: unresolved external symbol "public:
> static void __cdecl nsTraceRefcnt::LogAddRef(void *,unsigned int,char
> const *,unsigned int)" (?LogAddRef@nsTraceRefcnt@@SAXPAXIPBDI@Z)
> nsWebGuardFactory.obj : error LNK2001: unresolved external symbol
> "public: static void __cdecl nsTraceRefcnt::LogAddRef(void *,unsigned
> int,char const *,unsigned int)"
> (?LogAddRef@nsTraceRefcnt@@SAXPAXIPBDI@Z)
> nsWebGuard.obj : error LNK2001: unresolved external symbol "public:
> static void __cdecl nsTraceRefcnt::LogRelease(void *,unsigned int,char
> const *)" (?LogRelease@nsTraceRefcnt@@SAXPAXIPBD@Z)
> nsWebGuardFactory.obj : error LNK2001: unresolved external symbol
> "public: static void __cdecl nsTraceRefcnt::LogRelease(void *,unsigned
> int,char const *)" (?LogRelease@nsTraceRefcnt@@SAXPAXIPBD@Z)
> D:\MozillaM18\mozilla\dist\WIN32_D.OBJ\bin\plugins\npWebGuard.dll :
> fatal error LNK1120: 2 unresolved externals
> Error executing link.exe.
> 
> Any inputs will be a great help.
> 
> TIA
> ram

Reply via email to