Live555 and Visual Studio 2010
<p>I am trying to compile Live555 test programs in Visual Studio 2010, but I wasn't able to do so. </p>

<p>I compiled the libraries without any problems</p>

<blockquote>
  <p>BasicUsageEnvironment.lib<br>
    groupsock.lib<br>
    liveMedia.lib<br>
    UsageEnvironment.lib  </p>
</blockquote>

<p>but when it comes to the test programs, I just couldn't get anywhere. Here is the compiler message when I compile files in the <code>mediaServer</code>.</p>

<p>Has anyone encountered this problem before?</p>

<pre class="lang-none prettyprint-override"><code>error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
error LNK2001: unresolved external symbol ___security_cookie
error LNK2001: unresolved external symbol ___CxxFrameHandler3
error LNK2001: unresolved external symbol @__security_check_cookie@4
error LNK2001: unresolved external symbol __RTC_CheckEsp
error LNK2001: unresolved external symbol __RTC_Shutdown
error LNK2001: unresolved external symbol __RTC_Shutdown
error LNK2001: unresolved external symbol __RTC_InitBase
error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
error LNK2001: unresolved external symbol "public: virtual bool __thiscall Medium::isSource(void)const " (?isSource@Medium@@UBE_NXZ)
&lt;more errors&gt;
</code></pre>

<p>Complete dump here: <a href="http://pastebin.com/4bVQAcdp" rel="nofollow">http://pastebin.com/4bVQAcdp</a></p>

<hr>

<p><strong>Update</strong></p>

<p>I failed to build the project earlier because I unchecked the "Precompiled header" option when creating projects for all the libraries. When linking the libraries to my mediaServer project, VS was unable to resolve all the functions. </p>

<p>I was able to make it work by rebuilding them with "Precompiled header" option checked, and add <code>#include "stdafx.h"</code> to each and every *.cpp file. </p>

<p>Afterthought: I have a feeling that I only need to turn on "Precompiled header" option for the mediaServer project. Let me know if you have tried and succeeded. ;-)</p>

<hr>

<p><strong>Update 2</strong></p>

<p>Nope. I had to turn on Precompiled Header for each and every one of the static library projects. And add <code>#include "stdafx.h"</code> to ~200 *.cpp files. Yep.</p>