[CMake] Cmake-Gfortran-problem

Nils Gladitz nilsgladitz at gmail.com
Fri Mar 7 04:12:06 EST 2014


On 07.03.2014 10:01, renshenguoer wrote:
>    C:\MinGW\bin\gfortran.exe /F6000000 /fpe:3 /Qopenmp /w /I:"C:\Program
> Files
>    (x86)\VNI\imsl\fnl700\winin111e64\include\dll" /nologo -c
>    L:\PSUADEv1.6-build\CMakeFiles\CMakeTmp\testFortranCompiler.f -o
>    CMakeFiles\cmTryCompileExec400521423.dir\testFortranCompiler.f.obj
>
>
>    gfortran.exe: error: /F6000000: No such file or directory
>
>
>    gfortran.exe: error: /fpe:3: No such file or directory
>
>
>    gfortran.exe: error: /Qopenmp: No such file or directory
>
>
>    gfortran.exe: error: /w: No such file or directory
>

Looks like you (or your project) are passing Intel Fortran compiler 
specific options to the GNU fortran compiler which it can not handle.

Nils


More information about the CMake mailing list