error MSB8008: Specified platform toolset (Intel Parallel Composer 2011) is not installed or invalid

If the Platform toolset property in Visual Studio is not set correctly such that it does not match the current Intel C++ Compiler version installed in the Visual Studio IDE, an attempt to compile a file or build a project will the Intel® C++ Compiler will result in an error similar to the one below:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (Intel Parallel Composer 2011) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.

The above error could occur if you try to rebuild a project whose Platform Toolset property is currently set to "Intel® Parallel Composer 2011" on a system with a different version of Parallel Composer such as "Intel® C++ Composer XE 2011".  To resolve the error, you will need to manually set the Platform Toolset property of all projects to the Intel compiler version installed in the Visual Studio IDE under "Tools\Options\Intel C++\Compilers" .  Another instance that could cause the above error is when the 32-bit compiler is not installed on the system.  In that case installing the 32-bit compiler should resolve the error.

有关编译器优化的更完整信息,请参阅优化通知