[Live-devel] Error while building testH264streamer?

i m what i m ~~~~ trn200190 at gmail.com
Mon Mar 19 07:57:14 PDT 2012


i opened the testh264videostreamer.cpp file in VS2010 express and added
Additional include libraries(all headers file livemedia.hh,basicusageenv.hh
and groupsock.hh) in this.

after bulilding the program i got the following errors

1>------ Build started: Project: try1h264, Configuration: Debug Win32 ------
1> testH264VideoStreamer.cpp
1>c:\tarun\tarun\docs\live
media\live555-latest.tar\live\testprogs\testh264videostreamer.cpp(81):
warning C4996: 'getch': The POSIX name for this item is deprecated.
Instead, use the ISO C++ conformant name: _getch. See online help for
details.
1> c:\program files\microsoft visual studio 10.0\vc\include\conio.h(128) :
see declaration of 'getch'
1>c:\tarun\tarun\docs\live
media\live555-latest.tar\live\testprogs\testh264videostreamer.cpp(94):
warning C4996: 'getch': The POSIX name for this item is deprecated.
Instead, use the ISO C++ conformant name: _getch. See online help for
details.
1> c:\program files\microsoft visual studio 10.0\vc\include\conio.h(128) :
see declaration of 'getch'
1>c:\tarun\tarun\docs\live
media\live555-latest.tar\live\testprogs\testh264videostreamer.cpp(116):
warning C4996: 'getch': The POSIX name for this item is deprecated.
Instead, use the ISO C++ conformant name: _getch. See online help for
details.
1> c:\program files\microsoft visual studio 10.0\vc\include\conio.h(128) :
see declaration of 'getch'
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: virtual __thiscall Groupsock::~Groupsock(void)" (??1Groupsock@
@UAE at XZ) referenced in function _main
1>testH264VideoStreamer.obj : *error LNK2019*: unresolved external symbol
"public: char * __thiscall RTSPServer::rtspURL(class ServerMediaSession
const *,int)const " (?rtspURL at RTSPServer@@QBEPADPBVServerMediaSession@@H at Z)
referenced in function _main
1>testH264VideoStreamer.obj : *error LNK2019*: unresolved external symbol
"public: void __thiscall RTSPServer::addServerMediaSession(class
ServerMediaSession *)" (?addServerMediaSession at RTSPServer
@@QAEXPAVServerMediaSession@@@Z) referenced in function _main
1>testH264VideoStreamer.obj : *error LNK2019*: unresolved external symbol
"public: unsigned int __thiscall ServerMediaSession::addSubsession(class
ServerMediaSubsession *)" (?addSubsession at ServerMediaSession
@@QAEIPAVServerMediaSubsession@@@Z) referenced in function _main
1>testH264VideoStreamer.obj : *error LNK2019*: unresolved external symbol
"public: static class PassiveServerMediaSubsession * __cdecl
PassiveServerMediaSubsession::createNew(class RTPSink &,class RTCPInstance
*)" (?createNew at PassiveServerMediaSubsession@@SAPAV1 at AAVRTPSink
@@PAVRTCPInstance@@@Z) referenced in function _main
1>testH264VideoStreamer.obj :* error LNK2019*: unresolved external symbol
"public: static class ServerMediaSession * __cdecl
ServerMediaSession::createNew(class UsageEnvironment &,char const *,char
const *,char const *,unsigned int,char const *)"
(?createNew at ServerMediaSession@@SAPAV1 at AAVUsageEnvironment@@PBD11I1 at Z)
referenced in function _main
1>testH264VideoStreamer.obj : *error LNK2019:* unresolved external symbol
"public: static class RTSPServer * __cdecl RTSPServer::createNew(class
UsageEnvironment &,class Port,class UserAuthenticationDatabase *,unsigned
int)" (?createNew at RTSPServer@@SAPAV1 at AAVUsageEnvironment@@VPort@
@PAVUserAuthenticationDatabase@@I at Z) referenced in function _main
1>testH264VideoStreamer.obj : *error LNK2019*: unresolved external symbol
"public: static class RTCPInstance * __cdecl RTCPInstance::createNew(class
UsageEnvironment &,class Groupsock *,unsigned int,unsigned char const
*,class RTPSink *,class RTPSource const *,unsigned int)"
(?createNew at RTCPInstance@@SAPAV1 at AAVUsageEnvironment@@PAVGroupsock@
@IPBEPAVRTPSink@@PBVRTPSource@@I at Z) referenced in function _main
1>testH264VideoStreamer.obj :* error LNK2019*: unresolved external symbol
_gethostname at 8 referenced in function _main
1>testH264VideoStreamer.obj : *error LNK2019*: unresolved external symbol
"public: static class H264VideoRTPSink * __cdecl
H264VideoRTPSink::createNew(class UsageEnvironment &,class Groupsock
*,unsigned char)" (?createNew at H264VideoRTPSink@@SAPAV1 at AAVUsageEnvironment
@@PAVGroupsock@@E at Z) referenced in function _main
1>testH264VideoStreamer.obj : *error LNK2001*: unresolved external symbol
"public: static unsigned int OutPacketBuffer::maxSize"
(?maxSize at OutPacketBuffer@@2IA)
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: void __thiscall Groupsock::multicastSendOnly(void)"
(?multicastSendOnly at Groupsock@@QAEXXZ) referenced in function _main
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: __thiscall Groupsock::Groupsock(class UsageEnvironment &,struct
in_addr const &,class Port,unsigned char)" (??0Groupsock@
@QAE at AAVUsageEnvironment@@ABUin_addr@@VPort@@E at Z) referenced in function
_main
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: __thiscall Port::Port(unsigned short)" (??0Port@@QAE at G@Z)
referenced in function _main
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"unsigned int __cdecl chooseRandomIPv4SSMAddress(class UsageEnvironment &)"
(?chooseRandomIPv4SSMAddress@@YAIAAVUsageEnvironment@@@Z) referenced in
function _main
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: static class BasicUsageEnvironment * __cdecl
BasicUsageEnvironment::createNew(class TaskScheduler &)"
(?createNew at BasicUsageEnvironment@@SAPAV1 at AAVTaskScheduler@@@Z) referenced
in function _main
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: static class BasicTaskScheduler * __cdecl
BasicTaskScheduler::createNew(void)" (?createNew at BasicTaskScheduler
@@SAPAV1 at XZ) referenced in function _main
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: static void __cdecl Medium::close(class Medium *)" (?close at Medium
@@SAXPAV1@@Z) referenced in function "void __cdecl afterPlaying(void *)"
(?afterPlaying@@YAXPAX at Z)
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: unsigned int __thiscall MediaSink::startPlaying(class MediaSource
&,void (__cdecl*)(void *),void *)" (?startPlaying at MediaSink
@@QAEIAAVMediaSource@@P6AXPAX at Z1@Z) referenced in function "void __cdecl
play(void)" (?play@@YAXXZ)
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: static class H264VideoStreamFramer * __cdecl
H264VideoStreamFramer::createNew(class UsageEnvironment &,class
FramedSource *,unsigned int)" (?createNew at H264VideoStreamFramer
@@SAPAV1 at AAVUsageEnvironment@@PAVFramedSource@@I at Z) referenced in function
"void __cdecl play(void)" (?play@@YAXXZ)
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"public: static class ByteStreamFileSource * __cdecl
ByteStreamFileSource::createNew(class UsageEnvironment &,char const
*,unsigned int,unsigned int)" (?createNew at ByteStreamFileSource
@@SAPAV1 at AAVUsageEnvironment@@PBDII at Z) referenced in function "void __cdecl
play(void)" (?play@@YAXXZ)
1>testH264VideoStreamer.obj : error LNK2019: unresolved external symbol
"class DelayInterval __cdecl operator*(short,class DelayInterval const &)"
(??D at YA?AVDelayInterval@@FABV0@@Z) referenced in function "void __cdecl
`dynamic initializer for 'DELAY_MINUTE''(void)" (??__EDELAY_MINUTE@@YAXXZ)
1>testH264VideoStreamer.obj : error LNK2001: unresolved external symbol
"class DelayInterval const DELAY_SECOND" (?DELAY_SECOND@@3VDelayInterval@@B)
1>c:\documents and settings\administrator\my documents\visual studio
2010\Projects\try1h264\Debug\try1h264.exe : fatal error LNK1120: 23
unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



Can anyone help me to resolve it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120319/283e7a0f/attachment-0001.html>


More information about the live-devel mailing list