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

yj yunjnz at yahoo.com
Wed May 17 17:33:13 PDT 2006


Oh,it seems that you've linked too more libs in your
project,
remove the redundant libs and them make clean and
re-build the project.
In addition, I've used the live library on VC6.0 with
SP5, it works fine for me.


--- Fabien LAI-HONG-TING <elios.flht at thales-bm.com>
wrote:

> 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
> >
> >  
> >
> 
> 
> _______________________________________________
> 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