[CMake] CMake with (VCExpress & Intel Ifort 2008)
Giraudon Cyril
cyril.giraudon at free.fr
Tue Jun 8 13:37:01 EDT 2010
Hello,
I try to compile the next version of HDF5 project which can be
generated/compiled with CMake.
I use Visual Studio Express 9 2008 and ifort 11.1 under Windows XP.
Generation without Fortran binding :
After modifying the CMAKE_MAKE_PROGRAM from
devcom.com
to
VCExpress.exe
The configure operation succeeds, I choose a mingw makefile and I can
generate binaries, dll ...
When I try to generate the fortran binding the reported message
(hereafter) is printed.
It seems CMake can't deal with the couple (Visual Studio Express 2008,
Ifort 11.1).
Do I something wrong ?
Is there anything to do to fix the problem ?
Thanks a lot,
Regards,
Cyril Giraudon.
"""
Configure Checks that still need to be implemented
GetConsoleScreenBufferInfo function for Windows
The Fortran compiler identification is unknown
Check for working Fortran compiler: C:/Program
Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe
Check for working Fortran compiler: C:/Program
Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe -- broken
CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:40 (MESSAGE):
The Fortran compiler "C:/Program
Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe" is not able to compile a
simple test program.
It fails with the following output:
Change Dir:
C:/dev/outils/hdf5/hdf5-1.8.5-pre2.tar/hdf5-1.8.5-pre2/build/CMakeFiles/CMakeTmp
Run Build Command:C:/dev/programs/MinGW/bin/mingw32-make.exe
"cmTryCompileExec/fast"
C:/dev/programs/MinGW/bin/mingw32-make.exe -f
CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory
`C:/dev/outils/hdf5/hdf5-1.8.5-pre2.tar/hdf5-1.8.5-pre2/build/CMakeFiles/CMakeTmp'
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
C:\dev\outils\hdf5\hdf5-1.8.5-pre2.tar\hdf5-1.8.5-pre2\build\CMakeFiles\CMakeTmp\CMakeFiles
1
Building Fortran object
CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.f.obj
C:\PROGRA~1\Intel\Compiler\11.1\060\bin\ia32\ifort.exe /nologo /fpp
/FoCMakeFiles\cmTryCompileExec.dir\testFortranCompiler.f.obj /debug:full
/dbglibs -c
C:\dev\outils\hdf5\hdf5-1.8.5-pre2.tar\hdf5-1.8.5-pre2\build\CMakeFiles\CMakeTmp\testFortranCompiler.f
Linking Fortran executable cmTryCompileExec.exe
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_link_script
CMakeFiles\cmTryCompileExec.dir\link.txt --verbose=1
C:\PROGRA~1\Intel\Compiler\11.1\060\bin\ia32\ifort.exe /nologo
@CMakeFiles\cmTryCompileExec.dir\objects1.rsp /debug:full /dbglibs
/FecmTryCompileExec.exe -link /implib:cmTryCompileExec.lib /INCREMENTAL:YES
/debug /subsystem:console user32.lib
LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'ifconsol.lib'
mingw32-make.exe[1]: *** [cmTryCompileExec.exe] Error 1104
mingw32-make.exe[1]: Leaving directory
`C:/dev/outils/hdf5/hdf5-1.8.5-pre2.tar/hdf5-1.8.5-pre2/build/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):
fortran/CMakeLists.txt:2 (PROJECT)
Configuring incomplete, errors occurred!
"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100608/d6a08213/attachment.htm>
More information about the CMake
mailing list