[Live-devel] Help with link error

Roland roland at wingmanteam.com
Tue Aug 5 11:24:17 PDT 2008


Hi Melvin

 

Do a FindInFiles for the symbols that aren't being resolved, e.g.
"tunnelOverHTTPPortNum" or "statusCode". Then figure out if that source file
where these variables are being defined is included in the compilation of
the .LIB or the final .EXE. Add the corresponding source file to one of
those projects and recompile. E.g. for the "tunnelOverHTTPPortNum" variable,
you'll find "extern" references and one real declaration in
testProgs\playCommon.cpp. Add playCommon.cpp to resolve this issue.

 

Same goes for the other unresolved symbols. e.g. class "Locale" is defined
in "liveMedia\Locale.cpp"...

 

cu

Roland

 

From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Melvin_Raj
Sent: Tuesday, August 05, 2008 3:04 AM
To: live-devel at lists.live555.com
Subject: [Live-devel] Help with link error

 

hello....im new to this forum...im trying to build live555's test prog,
specificly the openrtsp...i am able to build the mpegsender,mp3sender and
receiver respectively witout any errors but when i try to build openrtsp, i
get the following errors:

1>------ Rebuild All started: Project: rtsp, Configuration: Debug Win32
------
1>Deleting intermediate and output files for project 'rtsp', configuration
'Debug|Win32'
1>Compiling...
1>openRTSP.cpp
1>Compiling manifest to resources...
1>Linking...
1>openRTSP.obj : error LNK2001: unresolved external symbol "unsigned short
tunnelOverHTTPPortNum" (?tunnelOverHTTPPortNum@@3GA)
1>openRTSP.obj : error LNK2001: unresolved external symbol "unsigned int
statusCode" (?statusCode@@3IA)
1>openRTSP.obj : error LNK2001: unresolved external symbol "double duration"
(?duration@@3NA)
1>openRTSP.obj : error LNK2001: unresolved external symbol "double scale"
(?scale@@3NA)
1>openRTSP.obj : error LNK2001: unresolved external symbol "double
initialSeekTime" (?initialSeekTime@@3NA)
1>liveMedia.lib(RTSPClient.obj) : error LNK2019: unresolved external symbol
"public: virtual __thiscall Locale::~Locale(void)" (??1Locale@@UAE at XZ)
referenced in function "char * __cdecl createScaleString(float,float)"
(?createScaleString@@YAPADMM at Z)
1>liveMedia.lib(MediaSession.obj) : error LNK2001: unresolved external
symbol "public: virtual __thiscall Locale::~Locale(void)"
(??1Locale@@UAE at XZ)
1>liveMedia.lib(RTSPCommon.obj) : error LNK2001: unresolved external symbol
"public: virtual __thiscall Locale::~Locale(void)" (??1Locale@@UAE at XZ)
1>liveMedia.lib(RTSPClient.obj) : error LNK2019: unresolved external symbol
"public: __thiscall Locale::Locale(char const *,int)"
(??0Locale@@QAE at PBDH@Z) referenced in function "char * __cdecl
createScaleString(float,float)" (?createScaleString@@YAPADMM at Z)
1>liveMedia.lib(MediaSession.obj) : error LNK2001: unresolved external
symbol "public: __thiscall Locale::Locale(char const *,int)"
(??0Locale@@QAE at PBDH@Z)
1>liveMedia.lib(RTSPCommon.obj) : error LNK2001: unresolved external symbol
"public: __thiscall Locale::Locale(char const *,int)"
(??0Locale@@QAE at PBDH@Z)
1>liveMedia.lib(MediaSession.obj) : error LNK2019: unresolved external
symbol "public: static class H263plusVideoRTPSource * __cdecl
H263plusVideoRTPSource::createNew(class UsageEnvironment &,class Groupsock
*,unsigned char,unsigned int)"
(?createNew at H263plusVideoRTPSource@@SAPAV1 at AAVUsag
eEnvironment@@PAVGroupsock@@EI at Z) referenced in function "public: unsigned
int __thiscall MediaSubsession::initiate(int)"
(?initiate at MediaSubsession@@QAEIH at Z)
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main
referenced in function ___tmainCRTStartup
1>C:\Documents and Settings\mp74294\My Documents\Visual Studio
2005\Projects\rtsp\Debug\rtsp.exe : fatal error LNK1120: 9 unresolved
externals
1>Build log was saved at "file://c:\Documents and Settings\mp74294\My
Documents\Visual Studio 2005\Projects\rtsp\rtsp\Debug\BuildLog.htm"
1>rtsp - 14 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped 

i've already added the required lib: wsock32.lib BasicUsageEnvironment.lib
groupsock.lib liveMedia.lib UsageEnvironment.lib

any help in pointing me towards the proper direction will be appreciated
http://www.gidforums.com/images/gid/smilies/icon_smile.gifthank you in
advance....God bless...

ps: im trying to build an rtp receiver that will be able to play streaming
files from a server...

 

  _____  

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

 

  _____  

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080805/1a162833/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 174 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080805/1a162833/attachment.gif>


More information about the live-devel mailing list