[CMake] 'MinGW Makefiles' generator can't link when using Intel Fortran

Bill Hoffman bill.hoffman at kitware.com
Mon Dec 8 15:55:55 EST 2014


On 12/8/2014 2:46 PM, Ben Robinson wrote:
>    CMakeFiles/cmTryCompileExec3922092051.dir/testFortranCompiler.f.obj
>
>    LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'
Looks like you are running from a shell that is not setup for the Intel 
fortran compiler to work.   The LIBPATH seems to be wrong as fortran can 
not find its own run time libraries.

Can you run cmake from the intel compiler command prompt shell?


-Bill



More information about the CMake mailing list