First time here? Check out the FAQ!
In my case c++ Code Generation settings were wrong Should have been Multithreaded DEBUG Dll MT