Guys,
I've created an MSDev .dsp project for WinEmbed. When I build I get the
linker errors shown below.
It looks as though I've simply missed out a library or two. Any pointers as
to my oversight would
be appreciated. My mozilla build using standard makefiles works fine.
Cheers,
Steve.
xpcom.lib(xpcom.dll) : error LNK2005: "public: __thiscall
nsQueryInterface::nsQueryInterface(class nsQueryInterface const &)"
(??0nsQueryInterface@@QAE@ABV0@@Z) already defined in DT_winEmbed.obj
xpcom.lib(xpcom.dll) : error LNK2005: "public: __thiscall
nsQueryInterface::nsQueryInterface(class nsISupports *,unsigned int *)"
(??0nsQueryInterface@@QAE@PAVnsISupports@@PAI@Z) already defined in
DT_winEmbed.obj
xpcom.lib(xpcom.dll) : warning LNK4006: "public: __thiscall
nsQueryInterface::nsQueryInterface(class nsQueryInterface const &)"
(??0nsQueryInterface@@QAE@ABV0@@Z) already defined in DT_winEmbed.obj;
second definition ignored
xpcom.lib(xpcom.dll) : warning LNK4006: "public: __thiscall
nsQueryInterface::nsQueryInterface(class nsISupports *,unsigned int *)"
(??0nsQueryInterface@@QAE@PAVnsISupports@@PAI@Z) already defined in
DT_winEmbed.obj; second definition ignored
Creating library Debug/DTSurf.lib and object Debug/DTSurf.exp
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other
libs; use /NODEFAULTLIB:library
DT_winEmbed.obj : error LNK2001: unresolved external symbol "public:
__thiscall nsCOMPtr_base::~nsCOMPtr_base(void)" (??1nsCOMPtr_base@@QAE@XZ)
WebBrowserChrome.obj : error LNK2001: unresolved external symbol "public:
__thiscall nsCOMPtr_base::~nsCOMPtr_base(void)" (??1nsCOMPtr_base@@QAE@XZ)
DT_winEmbed.obj : error LNK2001: unresolved external symbol _PL_strncpy
WebBrowserChrome.obj : error LNK2001: unresolved external symbol "public:
virtual unsigned int __thiscall
nsSupportsWeakReference::GetWeakReference(class nsIWeakReference * *)"
(?GetWeakReference@nsSupportsWeakReference@@UAEIPAPAVnsIWeakReference@@@
Z)
WebBrowserChrome.obj : error LNK2001: unresolved external symbol _PL_strcmp