Hello to all,

I try to incorporate LiveMedia in a project in VS2005,
which only display a dialog box empty

I compiled all the libraries successfully.

But with only the following code:

#include "liveMedia.hh"
#include "BasicUsageEnvironment.hh"
#include "GroupsockHelper.hh"
#pragma comment(lib, "libliveMedia.lib")
#pragma comment(lib, "libgroupsock.lib")
#pragma comment(lib, "libBasicUsageEnvironment.lib")
#pragma comment(lib, "libUsageEnvironment.lib")

TaskScheduler *scheduler = BasicTaskScheduler::createNew();
UsageEnvironment *env = BasicUsageEnvironment::createNew(*scheduler);


I have the following link error:

1>libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : warning LNK4217: 
locally defined symbol _exit imported in function "protected: virtual void 
__thiscall BasicTaskScheduler::SingleStep(unsigned int)" 
(?singles...@basictaskscheduler@@ma...@z)
1>libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : warning LNK4049: 
locally defined symbol _exit imported
1>libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : warning LNK4217: 
locally defined symbol __errno imported in function "public: virtual int 
__thiscall BasicUsageEnvironment::getErrno(void)const " 
(?geter...@basicusageenvironment@@UBEHXZ)
1>libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : warning LNK4217: 
locally defined symbol ___iob_func imported in function "public: virtual class 
UsageEnvironment & __thiscall 
BasicUsageEnvironment::operator<libBasicUsageEnvironment.lib(BasicUsageEnvironment0.obj)
 : warning LNK4217: locally defined symbol ___iob_func imported in function 
"void __cdecl `dynamic initializer for 'DELAY_DAY''(void)" 
(??__EDELAY_DAY@@YAXXZ)
1>libBasicUsageEnvironment.lib(BasicUsageEnvironment0.obj) : warning LNK4217: 
locally defined symbol _memmove imported in function "public: virtual void 
__thiscall BasicUsageEnvironment0::appendToResultMsg(char const *)" 
(?appendtoresult...@basicusageenvironment0@@uaex...@z)
1>libgroupsock.lib(GroupsockHelper.obj) : warning LNK4217: locally defined 
symbol __ctime64 imported in function _ctime
1>libgroupsock.lib(GroupsockHelper.obj) : warning LNK4217: locally defined 
symbol _sprintf imported in function "int __cdecl setupDatagramSocket(class 
UsageEnvironment &,class Port,unsigned int)" 
(?setupDatagramSocket@@YAHAAVUsageEnvironment@@VPort@@i...@z)
1>libgroupsock.lib(GroupsockHelper.obj) : warning LNK4217: locally defined 
symbol _strncmp imported in function "unsigned int __cdecl ourIPAddress(class 
UsageEnvironment &)" (?ourIPAddress@@YAIAAVUsageEnvironment@@@Z)
1>libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2019: 
unresolved external symbol __imp__perror referenced in function "protected: 
virtual void __thiscall BasicTaskScheduler::SingleStep(unsigned int)" 
(?singles...@basictaskscheduler@@ma...@z)
1>libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : error LNK2019: 
unresolved external symbol __imp__fprintf referenced in function "public: 
virtual class UsageEnvironment & __thiscall 
BasicUsageEnvironment::operator<libBasicUsageEnvironment.lib(BasicUsageEnvironment0.obj)
 : error LNK2019: unresolved external symbol __imp__strerror referenced in 
function "public: virtual void __thiscall 
BasicUsageEnvironment0::setResultErrMsg(char const *)" 
(?setresulterr...@basicusageenvironment0@@uaex...@z)
1>libBasicUsageEnvironment.lib(BasicUsageEnvironment0.obj) : error LNK2019: 
unresolved external symbol __imp__fputs referenced in function "public: virtual 
void __thiscall BasicUsageEnvironment0::reportBackgroundError(void)" 
(?reportbackgrounder...@basicusageenvironment0@@UAEXXZ)
1>libgroupsock.lib(GroupsockHelper.obj) : error LNK2019: unresolved external 
symbol __imp___ftime64 referenced in function _ftime
1>libgroupsock.lib(inet.obj) : error LNK2019: unresolved external symbol 
__imp__rand referenced in function _our_random
1>libgroupsock.lib(inet.obj) : error LNK2019: unresolved external symbol 
__imp__srand referenced in function _our_srandom

For a long time I try the solution, but I have not found.

Does someone could tell me how to fix this problem?

Thank you in advance.

Patrice
_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  
Téléchargez-le maintenant ! 
http://www.windowslive.fr/messenger/1.asp
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to