I included libBasicUsageEnvironment,libliveMedia,libgroupsock,libusageenvironment in Project ->Project Settings -> Link->Object/Library Modules.<br>Do I need to add anyfiles to the project in the workspace window except the source file ? All header files are in External dependencies.<br>
<br>When I compile I am getting the error, <br>fatal error : Cannot open livemedia.hh No such file or directory exists..I have included all libaries and the file exists,but how can such an error occur ?<br>Please reply.<br>
<br>Aravind<br><br><br><div class="gmail_quote">2008/1/31 Prabhakar Raju <<a href="mailto:prabhakar_raju@hotmail.com">prabhakar_raju@hotmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Hi,<br>
<br>
I feel you should add the other libs like libgroupsock.lib, libbasicusageenvironment.lib, etc while linking. If you dont have them build them first.<br>
<br>
fyi<br><br><br>
<blockquote>
<hr>
Date: Thu, 31 Jan 2008 11:50:38 -0500<br>From: <a href="mailto:aravind.account@gmail.com" target="_blank">aravind.account@gmail.com</a><br>To: <a href="mailto:live-devel@ns.live555.com" target="_blank">live-devel@ns.live555.com</a><br>
Subject: [Live-devel] Regarding Libraries<div><div></div><div class="Wj3C7c"><br><br>Hello friends,<br>I am a novice and developing a small web server to stream MP3 data.I tried to link and compile the testMP3streamer.cpp .I included all the header files and library files.But getting the following linker error.searched in a lot of forums,but no answer.I m using VC++ 6.0.Can someone please tell me what the error maybe and how I can resolve it.<br>
The problem has to be with me.But please help me.<br><br><br><br>ERROR :<br>Linking...<br>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class RTCPInstance * __cdecl RTCPInstance::createNew(class UsageEnvironment &,class Groupsock *,unsigned int,unsigned char const *,class RTPSink *,class RTPSource const <br>
*,unsigned int)" (?createNew@RTCPInstance@@SAPAV1@AAVUsageEnvironment@@PAVGroupsock@@IPBEPAVRTPSink
<div>@@PBVRTPSource@@I@Z)<br>testMP3Streamer.obj : error LNK2001: unresolved external symbol _gethostname@8<br>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class MPEG1or2AudioRTPSink * __cdecl MPEG1or2AudioRTPSink::createNew(class UsageEnvironment &,class Groupsock *)" (?createNew@MPEG1or2AudioRTPSink@@SAPAV1@AAVUsageEnviro<br>
nment@@PAVGroupsock@@@Z)<br>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: __thiscall Groupsock::Groupsock(class UsageEnvironment &,struct in_addr const &,class Port,unsigned char)" (??0Groupsock@@QAE@AAVUsageEnvironment@@ABUin_addr@@VPort@@E@Z)<br>
testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: __thiscall Port::Port(unsigned short)" (??0Port@@QAE@G@Z)<br>testMP3Streamer.obj : error LNK2001: unresolved external symbol _our_inet_addr<br>
testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class BasicUsageEnvironment * __cdecl BasicUsageEnvironment::createNew(class TaskScheduler &)" (?createNew@BasicUsageEnvironment@@SAPAV1@AAVTaskScheduler@@@Z)<br>
testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class BasicTaskScheduler * __cdecl BasicTaskScheduler::createNew(void)" (?createNew@BasicTaskScheduler@@SAPAV1@XZ)<br>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall MediaSink::startPlaying(class MediaSource &,void (__cdecl*)(void *),void *)" (?startPlaying@MediaSink@@QAEIAAVMediaSource@@P6AXPAX@Z1@Z)<br>
testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class MP3FileSource * __cdecl MP3FileSource::createNew(class UsageEnvironment &,char const *)" (?createNew@MP3FileSource@@SAPAV1@AAVUsageEnvironment@@PBD@Z)<br>
testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Medium::close(class Medium *)" (?close@Medium@@SAXPAV1@@Z)<br>testMP3Streamer.obj : error LNK2001: unresolved external symbol "class DelayInterval __cdecl operator*(short,class DelayInterval const &)" (??D@YA?AVDelayInterval@@FABV0@@Z)<br>
testMP3Streamer.obj : error LNK2001: unresolved external symbol "class DelayInterval const DELAY_SECOND" (?DELAY_SECOND@@3VDelayInterval@@B)<br>LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16<br>
Debug/MP3Streamer.exe : fatal error LNK1120: 14 unresolved externals<br>Error executing link.exe.<br><br>MP3Streamer.exe - 15 error(s), 0 warning(s)<br><br><br><br><br>Thank You<br>Aravind</div></div></div></blockquote><div class="WgoR0d">
<br><hr>Shed those extra pounds with MSN and The Biggest Loser! <a href="http://biggestloser.msn.com/" target="_blank">Learn more.</a></div></div><div class="WgoR0d">
</div><br>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br>