title: Linker fails to link my application (XXXX already defined in XXXX.obj)
body: <p>When I try to build my application the linker gives <strong>loads of errors</strong> like this one:</p>
  
  <blockquote>
    <p>modlauch.obj : error LNK2005: "public:
    virtual __thiscall
    lolbutton::~lolbutton(void)"
    (??1lolbutton@@UAE@XZ) already defined
    in lolbutton.obj</p>
  </blockquote>
  
  <p>I suspect it has something to do with misconfigured compiler but I don't know how to fix it. My class is only included once so I don't think it has anything to do with the code. I have tried <strong>rebuilding and cleaning</strong> the project but it <strong>didn't help</strong>. </p>
  
  <p><em>Can someone suggest a solution to this problem? My platform is <strong>Win32(C++)</strong> and I'm using <strong>MFC</strong>.</em></p>