[CMake] ifort 9.1 unable to compile a simple test program

Brad King brad.king at kitware.com
Fri Aug 6 15:38:43 EDT 2010


On 08/06/2010 03:12 PM, Verweij, Arjen wrote:
> it does get recognized as Intel.
[snip]
> -- The Fortran compiler identification is Intel

Good.

> I started again, and included the manual link line. The rsp file exists
> and contains CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.f.obj,
> the tmp file is nowhere to be found.
[snip]
> -- Check for working Fortran compiler: E:/Program Files (x86)/Intel/Compiler/Fortran/9.1/em64t/bin/ifort.exe  -- broken
[snip]
>   E:\PROGRA~1\Intel\Compiler\Fortran\9.1\em64t\bin\ifort.exe /nologo
>   @CMakeFiles\cmTryCompileExec.dir\objects1.rsp
>   @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm1395.tmp

The tmp file is generated by NMAKE temporarily when it runs the command.
You can see the full command in CMakeFiles\cmTryCompileExec.dir\build.make.

Can you try the full command manually?

-Brad


More information about the CMake mailing list