hi,
<br />
<br />thanks for the link . i saw it. but i am using visual 2005 and vc 6.0 for compiling.
<br />
<br />in this platform i want to build the openrtsp for rtsp client. here i am not able to build the testprogs.mak file. the above said libraries have to be linked with this file before building
<br /> right ?
<br />
<br />kindly tell me how to link the libraries with this fiel in vc 6.0 and after building this file ?
<br />kindly help.
<br />
<br />thanks in advance
<br />
<br />
<br />On Mar 31, 2010 5:46pm, sindhumaheswari@gmail.com wrote:
<br />> hi all,
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> i am trying to replace the http client in my application with rtsp client. i found ur application worth,
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> but i am having trouble in building it and adding it to my application. i have successfully built the first 4 libraries namely : basicusageenvironment, usageenvironment ,groupsock and live media. now i am trying to build the testprogs.mak i am facing some problems.
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> also i face some probelm while building the openrtsp.cpp.please help me. i am working in vc 6.0 . also i am a new bie to tat. so kindlyhelp me build my rtsp client.
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> kindlyhelp me
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> build log for testprogs.mak:
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> "C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl" -c -I../UsageEnvironment/include -I../groupsock/include -I../liveMedia/include -I../BasicUsageEnvironment/include -Z7 -Od -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32 -D_WIN32 -D_MT -D_DLL -MD -I. -I"C:\Program Files\Microsoft Visual Studio 8\VC\include" testMP3Streamer.cpp
<br />>
<br />>
<br />> testMP3Streamer.cpp
<br />>
<br />>
<br />> link -out:testMP3Streamer.exe -debug:full -debugtype:cv msvcrt.lib /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO -subsystem:console,4.0 msvcrt.lib oldnames.lib kernel32.lib ws2_32.lib mswsock.lib advapi32.lib testMP3Streamer.obj ../liveMedia/libliveMedia.lib ../groupsock/libgroupsock.lib ../BasicUsageEnvironment/libBasicUsageEnvironment.lib ../UsageEnvironment/libUsageEnvironment.lib
<br />>
<br />>
<br />> testMP3Streamer.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> msvcrt.lib(cinitexe.obj) : warning LNK4078: multiple ".CRT" sections found with different attributes (C0300040)
<br />>
<br />>
<br />> libliveMedia.lib(RTCP.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(MPEG1or2AudioRTPSink.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(MediaSink.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(MP3FileSource.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(Media.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(RTPInterface.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(RTPSink.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(RTPSource.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(rtcp_from_spec.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(AudioRTPSink.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(MultiFramedRTPSink.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(FramedSource.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(MP3StreamState.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(FramedFileSource.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(MediaSource.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(InputFile.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(MP3Internals.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libliveMedia.lib(MP3InternalsHuffman.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(Groupsock.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(Groupsock.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(NetAddress.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(inet.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(GroupsockHelper.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(NetInterface.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(NetInterface.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(GroupEId.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libBasicUsageEnvironment.lib(DelayQueue.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libBasicUsageEnvironment.lib(BasicHashTable.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libBasicUsageEnvironment.lib(BasicUsageEnvironment0.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libBasicUsageEnvironment.lib(BasicTaskScheduler0.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libUsageEnvironment.lib(strDup.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libUsageEnvironment.lib(UsageEnvironment.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />>
<br />>
<br />> libgroupsock.lib(Groupsock.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libliveMedia.lib(MultiFramedRTPSink.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libliveMedia.lib(MP3Internals.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libliveMedia.lib(MP3InternalsHuffman.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> testMP3Streamer.obj : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libliveMedia.lib(MP3FileSource.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />>
<br />>
<br />> libgroupsock.lib(Groupsock.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libliveMedia.lib(MultiFramedRTPSink.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libliveMedia.lib(MP3Internals.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libliveMedia.lib(MP3InternalsHuffman.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> testMP3Streamer.obj : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libliveMedia.lib(MP3FileSource.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />>
<br />>
<br />> libBasicUsageEnvironment.lib(BasicUsageEnvironment0.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libliveMedia.lib(InputFile.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libliveMedia.lib(MP3Internals.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libliveMedia.lib(MP3InternalsHuffman.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libliveMedia.lib(MediaSink.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />>
<br />>
<br />> libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol __ftol2_sse
<br />>
<br />>
<br />> libliveMedia.lib(InputFile.obj) : error LNK2001: unresolved external symbol __imp___stat64i32
<br />>
<br />>
<br />> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp___ctime64
<br />>
<br />>
<br />> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp___ftime64
<br />>
<br />>
<br />> testMP3Streamer.exe : fatal error LNK1120: 7 unresolved externals
<br />>
<br />>
<br />> NMAKE : fatal error U1077: 'link' : return code '0x460'
<br />>
<br />>
<br />> Stop.
<br />>
<br />>
<br />> Error executing NMAKE.
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> error log for openrtsp:
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> Command Lines
<br />>
<br />>
<br />> Creating temporary file "C:\DOCUME~1\e480177\LOCALS~1\Temp\RSP166.tmp" with contents
<br />>
<br />>
<br />> [
<br />>
<br />>
<br />> kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/openRTSP.pdb" /debug /machine:I386 /out:"Debug/openRTSP.exe" /pdbtype:sept
<br />>
<br />>
<br />> ".\Debug\openRTSP.obj"
<br />>
<br />>
<br />> ]
<br />>
<br />>
<br />> Creating command line "link.exe @C:\DOCUME~1\e480177\LOCALS~1\Temp\RSP166.tmp"
<br />>
<br />>
<br />> Output Window
<br />>
<br />>
<br />> Linking...
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "public: static class RTSPClient * __cdecl RTSPClient::createNew(class UsageEnvironment &,int,char const *,unsigned short)" (?createNew@RTSPClient@@SAPAV1@AAVUsageEnvironment@@HPBDG@Z)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "unsigned short tunnelOverHTTPPortNum" (?tunnelOverHTTPPortNum@@3GA)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "public: char * __thiscall RTSPClient::sendOptionsCmd(char const *,char *,char *,class Authenticator *,int)" (?sendOptionsCmd@RTSPClient@@QAEPADPBDPAD1PAVAuthenticator@@H@Z)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "unsigned int statusCode" (?statusCode@@3IA)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "public: char * __thiscall RTSPClient::describeURL(char const *,class Authenticator *,unsigned int,int)" (?describeURL@RTSPClient@@QAEPADPBDPAVAuthenticator@@IH@Z)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "public: char * __thiscall RTSPClient::describeWithPassword(char const *,char const *,char const *,unsigned int,int)" (?describeWithPassword@RTSPClient@@QAEPADPBD00IH@Z)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall RTSPClient::setupMediaSubsession(class MediaSubsession &,unsigned int,unsigned int,unsigned int)" (?setupMediaSubsession@RTSPClient@@QAEIAAVMediaSubsession@@III@Z)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall RTSPClient::playMediaSession(class MediaSession &,double,double,float)" (?playMediaSession@RTSPClient@@QAEIAAVMediaSession@@NNM@Z)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "double duration" (?duration@@3NA)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "double scale" (?scale@@3NA)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "double initialSeekTime" (?initialSeekTime@@3NA)
<br />>
<br />>
<br />> openRTSP.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall RTSPClient::teardownMediaSession(class MediaSession &)" (?teardownMediaSession@RTSPClient@@QAEIAAVMediaSession@@@Z)
<br />>
<br />>
<br />> LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
<br />>
<br />>
<br />> Debug/openRTSP.exe : fatal error LNK1120: 13 unresolved externals
<br />>
<br />>
<br />> Error executing link.exe.