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

yj yunjnz at yahoo.com
Tue May 16 17:37:41 PDT 2006


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 


More information about the live-devel mailing list