[Live-devel] using live 555 with visual c++ 6
Fabien LAI-HONG-TING
elios.flht at thales-bm.com
Wed May 17 00:02:14 PDT 2006
Hi,
yes I have noticed it, but i have these errors ,now:
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in
libcmtd.lib(sprintf.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncmp already defined in
libcmtd.lib(strncmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _ctime already defined in
libcmtd.lib(ctime.obj)
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other
libs; use /NODEFAULTLIB:library
Debug/live_rtsp.exe : fatal error LNK1169: one or more multiply defined
symbols found
Error executing link.exe.
i tried to the "no default lib" option in my setting and it is worst:
all mfc classes are unresolved.
What should i do?
yj a écrit :
>Hi,
>It seems you didn't link the UsageEnvironment lib to
>your project,
>try to link it and maybe it works.
>hope this help you.
>
>
>--- Fabien LAI-HONG-TING <elios.flht at thales-bm.com>
>wrote:
>
>
>
>>Hi every body,
>>
>>I'm a beginner and it is the first time i try to use
>>these libraries.
>>I'm trying to make a basic project on visual C++ 6
>>to use LIVE. It's a
>>dialog based application.
>>I just tried to link all the libraries but it fails.
>>I added these lines in my app header file:
>>
>>#include "liveMedia.hh"
>>#include "GroupsockHelper.hh"
>>#include "BasicUsageEnvironment.hh"
>>
>>I just try to instanciate a taskscheduler:
>>TaskScheduler * m_pTaskSheduler =
>>BasicTaskScheduler::createNew();
>>
>>in my project settings I added these
>>library modules: libliveMedia.lib
>>libBasicUsageEnvironment.lib
>>libgroupsock.lib ws2_32.lib
>>additionnal include dir:
>>
>>
>>
>..\live\UsageEnvironment\include,..\live\groupsock\include,..\live\liveMedia\include,..\live\BasicUsageEnvironment\include
>
>
>>
>>but i have these link errors:
>>Linking...
>>LINK : warning LNK4049: locally defined symbol
>>"_sprintf" imported
>>LINK : warning LNK4049: locally defined symbol
>>"_strncmp" imported
>>LINK : warning LNK4049: locally defined symbol
>>"_ctime" imported
>>libgroupsock.lib(GroupsockHelper.obj) : error
>>LNK2001: unresolved
>>external symbol __imp__ftime
>>OLDNAMES.lib(ftime.obi) : error LNK2001: unresolved
>>external symbol
>>__imp__ftime
>>OLDNAMES.lib(ftime.obi) : error LNK2001: unresolved
>>external symbol
>>__imp___ftime
>>libBasicUsageEnvironment.lib(BasicHashTable.obj) :
>>error LNK2001:
>>unresolved external symbol "protected: __thiscall
>>HashTable::HashTable(void)" (??0HashTable@@IAE at XZ)
>>libBasicUsageEnvironment.lib(BasicHashTable.obj) :
>>error LNK2001:
>>unresolved external symbol "public: virtual
>>__thiscall
>>HashTable::~HashTable(void)" (??1HashTable@@UAE at XZ)
>>libBasicUsageEnvironment.lib(BasicHashTable.obj) :
>>error LNK2001:
>>unresolved external symbol "protected: __thiscall
>>HashTable::Iterator::Iterator(void)"
>>(??0Iterator at HashTable@@IAE at XZ)
>>libBasicUsageEnvironment.lib(BasicHashTable.obj) :
>>error LNK2001:
>>unresolved external symbol "public: virtual
>>__thiscall
>>HashTable::Iterator::~Iterator(void)"
>>(??1Iterator at HashTable@@UAE at XZ)
>>libBasicUsageEnvironment.lib(BasicHashTable.obj) :
>>error LNK2001:
>>unresolved external symbol "char * __cdecl
>>strDup(char const *)"
>>(?strDup@@YAPADPBD at Z)
>>
>>Can somebody help me please?
>>
>>best regards,
>>Fabien
>>
>>
>>_______________________________________________
>>live-devel mailing list
>>live-devel at lists.live555.com
>>http://lists.live555.com/mailman/listinfo/live-devel
>>
>>
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>_______________________________________________
>live-devel mailing list
>live-devel at lists.live555.com
>http://lists.live555.com/mailman/listinfo/live-devel
>
>
>
More information about the live-devel
mailing list