[Live-devel] using live 555 with visual c++ 6

Fabien LAI-HONG-TING elios.flht at thales-bm.com
Tue May 16 07:14:02 PDT 2006


Fabien LAI-HONG-TING a écrit :

>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
>
>  
>
the library:         libUsageEnvironment.lib   was missing in my 
settings :S sorry!
now there is still these errors:

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
Debug/live_rtsp.exe : fatal error LNK1120: 2 unresolved externals





More information about the live-devel mailing list