I’m using Visual Studio 2017 Community with the Intel Fortran compiler. With my current configuration the “C_calls_Fortran" example contained in the “MixedLanguage" package from Intel builds and runs on Win32 but does not fully build on x64. I get a LNK1104 error, cannot open file 'kernel32.lib’ with x64.
It wouldn't be the INCLUDE environment variable that controlled finding a .lib file; it would be the LIB environment variable.
Please check the LibraryPath