I'm using Visual Studio Professional 2012 (with Update 2) and since I have a project that needs to be built with the VC++ 2010 toolset I also installed Visual C++ 2010 Express (with SP1).
I use the newer 2012 IDE also for the older projects. So for these projects I set the Platform Toolset to v100. And when I also set the runtime library to /MT or /MTd I get the following error:
error LNK1127: library is corrupt
for libcpmt.lib
or libcpmtd.lib
, depending on the configuration.
What could be wrong here?
Installation history:
- VS2012 Professional
- Windows 7 SDK
- Uninstalled VS2012 and Windows SDK
- VC++ 2010 Express
- VS2012 Professional