title: LNK2019 error from SDL tutorial, but only in Visual Studio 2010
body: <p>I'm doing LazyFoo's SDLTutorial setup for VS2010 and I'm having trouble getting it to cooperate. What's strange is that I can get it to work seemingly fine on VS2008.</p>
  
  <pre><code>#include "SDL.h"
  
  int main(int argc, char* argv[])
  {
      SDL_Init(SDL_INIT_EVERYTHING);
      SDL_Quit();
  
      return 0;    
  }
  </code></pre>
  
  <p>This is the error messages that it gives me</p>
  
  <pre><code>1&gt;MSVCRT.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
  1&gt;Visual Studio 2008\Projects\Test\Debug\Test.exe : fatal error LNK1120: 1 unresolved externals
  </code></pre>
  
  <p>I've followed the steps, step by step, at least 4 times at this point and I continue to get these errors. I'm considering going back to 2008 if I can't get this resolved, but I'd rather stay with 2010. Is there something I'm missing?</p>