Problem Description
When running Visual Studio 2017 C++ compiler under Intel(R) C++ Compiler environment, or Visual Studio 2017 solution contains mixed projects with both Intel compiler and Visual Studio C++ compiler may encounter
fatal error C1083: Cannot open include file: '../../vc/include/stdint.h': No such file or directory
Root Cause
In some header files of Intel C++ compiler, we need to include particular Microsoft VC++ header files by path. With Microsoft Visual Studio 2015 and older, we can use the relative path, like “../vc”. Starting from Microsoft Visual Studio 2017 the include directory name contains full VC Tools version number.
For example, the Visual Studio 2017 stdint.h is here:
c:/Program files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.10.24930/include/stdint.h
For Visual Studio 2015, it is here:
c:/Program files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE/stdint.h
Solution
Workaround is to define __MS_VC_INSTALL_PATH macro in command line (-D option), e.g.:
-D__MS_VC_INSTALL_PATH="c:/Program files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.10.24930"
To resolve the issue still relies on Microsoft's support. Please see our registered an issue in Microsoft's forum:
For users encountered this issue, you are encouraged to vote this idea from above link.