title: How do I force Visual Studio 2010 to use x64?
body: <p>Whenever I create a new project in Visual Studio 2010 and don't set the specific platform (in my case x64) at first, I won't be able to completly change it afterwards.
  So I setup everything a need with an external library (compiled as x64) and then press compile it obviously fails since the two platforms do not match.</p>
  
  <blockquote>
    <p>sfml-graphics-s-d.lib(RenderStates.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'</p>
  </blockquote>
  
  <p>Noticed that I change it to x64 with Build->Configuration-Manager->Active projectplattform->New...->x64. That's the same thing I'd do before doing anything else and it works, but if I do it afterwards I get the linker error:</p>
  
  <blockquote>
    <p>libcpmtd.lib(uncaught.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'</p>
  </blockquote>
  
  <p>The *.obj file can change from project to project (e.g. cout.obj) and from my understanding Visual Studio picks the x86 standard library and doesn't change it's decision after I've switched the platform.</p>
  
  <p>So for the question: How do I force VS to use the new specified x64 platform - also for the standard library?</p>
  
  <p><strong>Note:</strong> Creating a new configuration setup will automatically change the linker setting for the target machine to: <code>MachineX64 (/MACHINE:X64)</code></p>
  
  <p><strong>Note:</strong> Not sure if it's relevant but I'm linking the runtime library statically <code>Multithreaded-Debug (/MTd)</code></p>