[Live-devel] BasicUsageEnvironment in WinCE

di ming diming001 at gmail.com
Wed Apr 13 17:03:25 PDT 2005


hi,
I have compiled the livemedia lib in WinCE, but when I include
"BasicUsageEnvironment.hh" in a program in evc4 (I want to run
testMPEG1or2VideoReceiver at PDA), there wil be some link errors as
below. (It will be OK if uncomment ' #include
"BasicUsageEnvironment.hh" '):

Generating Code...
Linking...
uafxwce.lib(thrdcore.obj) : error LNK2005: "public: virtual void
__cdecl CWinThread::Delete(void)" (?Delete at CWinThread@@UAAXXZ) already
defined in MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(thrdcore.obj) : error LNK2005: "public: virtual int
__cdecl CWinThread::IsIdleMessage(struct tagMSG *)"
(?IsIdleMessage at CWinThread@@UAAHPAUtagMSG@@@Z) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(thrdcore.obj) : error LNK2005: "public: virtual int
__cdecl CWinThread::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage at CWinThread@@UAAHPAUtagMSG@@@Z) already defined
in MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(thrdcore.obj) : error LNK2005: "public: virtual class CWnd
* __cdecl CWinThread::GetMainWnd(void)"
(?GetMainWnd at CWinThread@@UAAPAVCWnd@@XZ) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(thrdcore.obj) : error LNK2005: "public: virtual int
__cdecl CWinThread::PumpMessage(void)"
(?PumpMessage at CWinThread@@UAAHXZ) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(thrdcore.obj) : error LNK2005: "public: virtual void
__cdecl CObject::Serialize(class CArchive &)"
(?Serialize at CObject@@UAAXAAVCArchive@@@Z) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(map_pp.obj) : error LNK2005: "public: virtual void __cdecl
CObject::Serialize(class CArchive &)"
(?Serialize at CObject@@UAAXAAVCArchive@@@Z) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new(unsigned int)" (??2 at YAPAXI@Z) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(afxmem.obj) : error LNK2005: "void __cdecl operator
delete(void *)" (??3 at YAXPAX@Z) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(list_p.obj) : error LNK2005: "public: virtual void __cdecl
CObject::Serialize(class CArchive &)"
(?Serialize at CObject@@UAAXAAVCArchive@@@Z) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(except.obj) : error LNK2005: "public: virtual void __cdecl
CObject::Serialize(class CArchive &)"
(?Serialize at CObject@@UAAXAAVCArchive@@@Z) already defined in
MFCCE300d.lib(mfcce300d.dll)
uafxwce.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __cdecl
CCmdTarget::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO
*)" (?OnCmdMsg at CCmdTarget@@UAAHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already
defined in MFCCE300d.lib(mfcce300d.d
ll)
....................................

How can tell me what's the problem?

di ming



More information about the live-devel mailing list