[Live-devel] compiling OpenRTSP (client ) and RTSPServer

BONNEAU Guy gbonneau at miranda.com
Fri Feb 26 05:39:41 PST 2010


It seems your project doesn't include some files that contains the
missing links. For example check that you do include the files
DVVideoRTPSource.cpp and DVVideoRTPSource.hh, RTCP.cpp and RTCP.hh

 

Regards

Guy Bonneau

 

From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Harish N
Sent: Friday, February 26, 2010 0:11
To: live-devel at lists.live555.com
Subject: [Live-devel] compiling OpenRTSP (client ) and RTSPServer

 

Helo all...

i am working on LIVE555,on RTSPClient and RTSPserver......i need little
help in compiling OpenRTSP using visual Studio 2008..i tried compiling
but there 6 link errors in it.....

 

So anyone who worked on it using vs2008 please do assist me..... even
folowed the steps mentioned in few of the sites....i did google and used
all the possible resources and ended up with 6 errors while compiling

 

i will even mention the errors below...so any who has any idea about it
help me

 

thanks all

 

log

===

 

Creating temporary file
"d:\vs2005Projects\OPENRTSP2005\Debug\RSP00000229963752.rsp" with
contents

 

 

 

[

/Od /I
"D:\vs2005Projects\OPENRTSP2005\modules\BasicUsageEnvironment\include"
/I "D:\vs2005Projects\OPENRTSP2005\modules\groupsock\include" /I
"D:\vs2005Projects\OPENRTSP2005\modules\liveMedia\include" /I
"D:\vs2005Projects\OPENRTSP2005\modules\UsageEnvironment\include" /I
"D:\vs2005Projects\OPENRTSP2005\modules\mediaServer\include" /I
"D:\vs2005Projects\OPENRTSP2005\include" /D "WIN32" /D "_DEBUG" /D
"_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\"
/Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP .\openRTSP.cpp

 

 

 

 

.\playCommon.cpp

]

Creating command line "cl.exe
@d:\vs2005Projects\OPENRTSP2005\Debug\RSP00000229963752.rsp /nologo
/errorReport:prompt"

Creating temporary file
"d:\vs2005Projects\OPENRTSP2005\Debug\TMP00000329963752.tmp" with
contents

 

 

 

[

1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */
".\\Debug\\OPENRTSP2005.exe.embed.manifest"

]

Creating command line "rc.exe
/fo".\Debug\OPENRTSP2005.exe.embed.manifest.res"
d:\vs2005Projects\OPENRTSP2005\Debug\TMP00000329963752.tmp"

 

 

 

Creating temporary file
"d:\vs2005Projects\OPENRTSP2005\Debug\RSP00000429963752.rsp" with
contents

[

/OUT:"D:\vs2005Projects\OPENRTSP2005\Debug\OPENRTSP2005.exe"
/INCREMENTAL /LIBPATH:"D:\vs2005Projects\OPENRTSP2005\modules\Debug"
/MANIFEST /MANIFESTFILE:"Debug\OPENRTSP2005.exe.intermediate.manifest"
/DEBUG /PDB:"d:\vs2005projects\openrtsp2005\debug\OPENRTSP2005.pdb"
/SUBSYSTEM:CONSOLE /MACHINE:X86 BasicUsageEnvironment.lib groupsock.lib
liveMedia.lib mediaServer.lib UsageEnvironment.lib wsock32.lib
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

 

 

 

 

".\debug\playCommon.obj"

 

".\debug\openRTSP.obj"

 

".\Debug\OPENRTSP2005.exe.embed.manifest.res"

]

Creating command line "link.exe
@d:\vs2005Projects\OPENRTSP2005\Debug\RSP00000429963752.rsp /NOLOGO
/ERRORREPORT:PROMPT"

 

 

 

Output Window

                                

 

Compiling...

playCommon.cpp

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(142) : warning C4996:
'sscanf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(206) : warning C4996:
'sscanf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(222) : warning C4996:
'sscanf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(235) : warning C4996:
'sscanf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(282) : warning C4996:
'sscanf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(305) : warning C4996:
'sscanf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(317) : warning C4996:
'sscanf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(333) : warning C4996:
'sscanf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(342) : warning C4996:
'sscanf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(351) : warning C4996:
'sscanf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(366) : warning C4996:
'sscanf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(374) : warning C4996:
'sscanf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(403) : warning C4996:
'sscanf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(414) : warning C4996:
'sscanf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(424) : warning C4996:
'sscanf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(311) : see declaration of 'sscanf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(705) : warning C4996:
'_snprintf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(339) : see declaration of '_snprintf'

        Message: 'This function or variable may be unsafe. Consider
using _snprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

d:\vs2005projects\openrtsp2005\playcommon.cpp(707) : warning C4996:
'sprintf' was declared deprecated

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(345) : see declaration of 'sprintf'

 

 

 

        Message: 'This function or variable may be unsafe. Consider
using sprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

d:\vs2005projects\openrtsp2005\playcommon.cpp(1269) : warning C4996:
'sprintf' was declared deprecated

 

 

 

        c:\program files\microsoft visual studio
8\vc\include\stdio.h(345) : see declaration of 'sprintf'

        Message: 'This function or variable may be unsafe. Consider
using sprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'

 

 

 

openRTSP.cpp

Generating Code...

Compiling manifest to resources...

Linking...

liveMedia.lib(MediaSession.obj) : error LNK2019: unresolved external
symbol "public: static class DVVideoRTPSource * __cdecl
DVVideoRTPSource::createNew(class UsageEnvironment &,class Groupsock
*,unsigned char,unsigned int)"
(?createNew at DVVideoRTPSource@@SAPAV1 at AAVUsageEnvironment@@PAVGroupsock@@
EI at Z) referenced in function "public: unsigned int __thiscall
MediaSubsession::initiate(int)" (?initiate at MediaSubsession@@QAEIH at Z)

 

 

 

liveMedia.lib(RTCP.obj) : error LNK2019: unresolved external symbol
_OnReceive referenced in function "private: void __thiscall
RTCPInstance::onReceive(int,int,unsigned int)"
(?onReceive at RTCPInstance@@AAEXHHI at Z)

 

 

 

liveMedia.lib(RTCP.obj) : error LNK2019: unresolved external symbol
_OnExpire referenced in function "private: void __thiscall
RTCPInstance::onExpire1(void)" (?onExpire1 at RTCPInstance@@AAEXXZ)

liveMedia.lib(RTSPClient.obj) : error LNK2019: unresolved external
symbol _our_MD5Data referenced in function "private: unsigned int
__thiscall RTSPClient::setupHTTPTunneling(char const *,class
Authenticator *)"
(?setupHTTPTunneling at RTSPClient@@AAEIPBDPAVAuthenticator@@@Z)

 

 

 

liveMedia.lib(DigestAuthentication.obj) : error LNK2001: unresolved
external symbol _our_MD5Data

D:\vs2005Projects\OPENRTSP2005\Debug\OPENRTSP2005.exe : fatal error
LNK1120: 4 unresolved externals

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100226/166a9f75/attachment-0001.html>


More information about the live-devel mailing list