Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Could not expand ICInstallDir variable

rase
New Contributor I
767 Views

After installation of the most recent version of Intel Visual C/C++ (XE 13) I receive the following message for all C/C++ projects (libraries called by Fortran projects):

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\Intel C++ Compiler XE 12.1\Microsoft.Cpp.Win32.Intel C++ Compiler XE 12.1.targets(88,5): error : Could not expand ICInstallDir variable.  PlatformToolset may be set to an invalid version number.

Could the wizards be so kind to give me advice what I can do to compile and link the libraries again? I did not change anything in the source files, nor in the options. I am not a C/C++ specialist, I use mainly Fortran for my needs. Environment: Windows 7 64 bit, CPU Intel i7-920

0 Kudos
2 Replies
rase
New Contributor I
767 Views
Very funny. After reinstallation of the previous version "w_ccompxe_2011.11.344.exe" I was able to compile and link the C/C++ projects again, without error message, using the new version 13...089. Probably something wrong with the installation procedure.
0 Kudos
Mark_S_Intel1
Employee
767 Views
After installing Composer XE 2013, setting project "properties-->Configuration Properties-->General-->Platform Toolset" to "Intel C++ Compiler XE 13.0" might have resolved the error you were getting.
0 Kudos
Reply