hi all,
<br />
<br />
<br />i am trying to replace the http client in my application with rtsp client. i found ur application worth,
<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 />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 />kindlyhelp me
<br />
<br />
<br />build log for testprogs.mak:
<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 />testMP3Streamer.cpp
<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 />testMP3Streamer.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
<br />msvcrt.lib(cinitexe.obj) : warning LNK4078: multiple ".CRT" sections found with different attributes (C0300040)
<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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />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 />libgroupsock.lib(Groupsock.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libliveMedia.lib(MultiFramedRTPSink.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libliveMedia.lib(MP3Internals.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libliveMedia.lib(MP3InternalsHuffman.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />testMP3Streamer.obj : error LNK2001: unresolved external symbol ___security_cookie
<br />libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libliveMedia.lib(MP3FileSource.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol ___security_cookie
<br />libgroupsock.lib(Groupsock.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libliveMedia.lib(MultiFramedRTPSink.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libliveMedia.lib(MP3Internals.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libliveMedia.lib(MP3InternalsHuffman.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />testMP3Streamer.obj : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libliveMedia.lib(MP3FileSource.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
<br />libBasicUsageEnvironment.lib(BasicUsageEnvironment0.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libliveMedia.lib(InputFile.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libliveMedia.lib(MP3Internals.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libliveMedia.lib(MP3InternalsHuffman.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libliveMedia.lib(MediaSink.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol __imp____iob_func
<br />libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol __ftol2_sse
<br />libliveMedia.lib(InputFile.obj) : error LNK2001: unresolved external symbol __imp___stat64i32
<br />libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp___ctime64
<br />libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp___ftime64
<br />testMP3Streamer.exe : fatal error LNK1120: 7 unresolved externals
<br />NMAKE : fatal error U1077: 'link' : return code '0x460'
<br />Stop.
<br />Error executing NMAKE.
<br />
<br />
<br />error log for openrtsp:
<br />
<br />Command Lines
<br />Creating temporary file "C:\DOCUME~1\e480177\LOCALS~1\Temp\RSP166.tmp" with contents
<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 />".\Debug\openRTSP.obj"
<br />]
<br />Creating command line "link.exe @C:\DOCUME~1\e480177\LOCALS~1\Temp\RSP166.tmp"
<br />Output Window
<br />Linking...
<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 />openRTSP.obj : error LNK2001: unresolved external symbol "unsigned short tunnelOverHTTPPortNum" (?tunnelOverHTTPPortNum@@3GA)
<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 />openRTSP.obj : error LNK2001: unresolved external symbol "unsigned int statusCode" (?statusCode@@3IA)
<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 />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 />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 />openRTSP.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall RTSPClient::playMediaSession(class MediaSession &,double,double,float)" (?playMediaSession@RTSPClient@@QAEIAAVMediaSession@@NNM@Z)
<br />openRTSP.obj : error LNK2001: unresolved external symbol "double duration" (?duration@@3NA)
<br />openRTSP.obj : error LNK2001: unresolved external symbol "double scale" (?scale@@3NA)
<br />openRTSP.obj : error LNK2001: unresolved external symbol "double initialSeekTime" (?initialSeekTime@@3NA)
<br />openRTSP.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall RTSPClient::teardownMediaSession(class MediaSession &)" (?teardownMediaSession@RTSPClient@@QAEIAAVMediaSession@@@Z)
<br />LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
<br />Debug/openRTSP.exe : fatal error LNK1120: 13 unresolved externals
<br />Error executing link.exe.