[Live-devel] BasicUsageEnvironment in WinCE

Geoffroy Gawin geoffroy.gawin at tiveo.fr
Wed Apr 13 11:18:26 PDT 2005


I am trying to compile LiveMedia with EVC 4 and I have similar linking 
problems.
Hope this link can help you :
http://groups.google.fr/groups?hl=fr&lr=&threadm=N7n0ZEA9T6c3EwHC%40prestwich-smile-gemach.freeserve.co.uk&rnum=2&prev=/groups%3Fq%3Dclass%2520already%2520defined%2520%2520group%253A*.vc.*%26hl%3Dfr%26lr%3D%26sa%3DN%26tab%3Dwg


----- Original Message ----- 
From: "di ming" <diming001 at gmail.com>
To: <live-devel at ns.live.com>
Sent: Wednesday, April 13, 2005 10:03 AM
Subject: [Live-devel] BasicUsageEnvironment in WinCE


> 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
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
> 




More information about the live-devel mailing list