[CMake] SilverFrost FTN95 and CMake ?

Ilias Miroslav Miroslav.Ilias at umb.sk
Sat Jun 2 17:19:35 EDT 2012


Dear all,

has someone experience with mixing http://www.silverfrost.com/32/ftn95/ftn95_personal_edition.aspx  and CMake on Windows 7 ?

I can not get simple program compiled....see below.

M
----------------------------------------------

C:\Users\dv6-2145ec\Documents\MiroIlias_osobne\dirac_software\git_downloaded\trunk>python  setup --fc=ftn95  -D VERBOSE_OUTPUT=ON -D CMAKE_Fortran_COMPILER
=ftn95  --debug --generator "MinGW Makefiles"  --force build_ftn95_debug
choosing default compilers...
Configuring system: Windows
 cmake  FC=ftn95 CC=gcc CXX=g++ -DENABLE_MPI=OFF -DENABLE_SGI_MPT=OFF -DENABLE_OPENMP=OFF -DENABLE_BLAS=ON -DENABLE_LAPACK=ON -DENABLE_TESTS=OFF -DENABLE_U
NIT_TESTS=OFF -DENABLE_64BIT_INTEGERS=OFF -DCMAKE_BUILD_TYPE=Debug -DVERBOSE_OUTPUT=ON -DCMAKE_Fortran_COMPILER=ftn95 -Wno-dev -G "MinGW Makefiles" C:\User
s\dv6-2145ec\Documents\MiroIlias_osobne\dirac_software\git_downloaded\trunk\

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:40 (MESSAGE):
  The Fortran compiler "C:/Program Files (x86)/Silverfrost/FTN95/ftn95.exe"
  is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/Users/dv6-2145ec/Documents/MiroIlias_osobne/dirac_software/git_downloaded/trunk/build_ftn95_debug/CMakeFiles/CMakeTmp



  Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"

  C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
  CMakeFiles/cmTryCompileExec.dir/build

  mingw32-make.exe[1]: Entering directory
  `C:/Users/dv6-2145ec/Documents/MiroIlias_osobne/dirac_software/git_downloaded/trunk/build_ftn95_debug/CMakeFiles/CMakeTmp'


  "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
  C:\Users\dv6-2145ec\Documents\MiroIlias_osobne\dirac_software\git_downloaded\trunk\build_ftn95_debug\CMakeFiles\CMakeTmp\CMakeFiles
  1

  Building Fortran object
  CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.f.obj

  C:\PROGRA~2\SILVER~1\FTN95\ftn95.exe -o
  CMakeFiles\cmTryCompileExec.dir\testFortranCompiler.f.obj -c
  C:\Users\dv6-2145ec\Documents\MiroIlias_osobne\dirac_software\git_downloaded\trunk\build_ftn95_debug\CMakeFiles\CMakeTmp\testFortranCompiler.f


  [FTN95/Win32 Ver.  6.20.0 Copyright (c) Silverfrost Ltd 1993-2011]

  *** Unable to open library file

      CMakeFiles\cmTryCompileExec.dir\testFortranCompiler.f.obj

  [FTN95/Win32 Ver.  6.20.0 Copyright (c) Silverfrost Ltd 1993-2011]

      1 ERROR  [<TESTFORTRAN> FTN95/Win32 v6.20.0]

  *** Compilation failed

  mingw32-make.exe[1]: ***
  [CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.f.obj] Error 1

  mingw32-make.exe[1]: Leaving directory
  `C:/Users/dv6-2145ec/Documents/MiroIlias_osobne/dirac_software/git_downloaded/trunk/build_ftn95_debug/CMakeFiles/CMakeTmp'


  mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:9 (project)


-- The Fortran compiler identification is unknown
-- The C compiler identification is GNU
-- Check for working Fortran compiler: C:/Program Files (x86)/Silverfrost/FTN95/ftn95.exe
-- Check for working Fortran compiler: C:/Program Files (x86)/Silverfrost/FTN95/ftn95.exe  -- broken
-- Configuring incomplete, errors occurred!


C:\Users\dv6-2145ec\Documents\MiroIlias_osobne\dirac_software\git_downloaded\trunk>


More information about the CMake mailing list