Kunal
July 22, 2010, 12:51am
1
Hello
I wanted to know if the Cmake build of HDF 5 1.8.5 is tailored only for
Intel Visual Fortran ?
I was trying with PGI Visual Fortran and got this error:
···
--------------------------------------------------
Check for working Fortran compiler: C:/Program
Files/PGI/win64/10.5/bin/pgfortran.exe
Check for working Fortran compiler: C:/Program
Files/PGI/win64/10.5/bin/pgfortran.exe -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:38 (MESSAGE):
The Fortran compiler "C:/Program Files/PGI/win64/10.5/bin/pgfortran.exe" is
not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/MyHDFStuff/build/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual Studio Version 9.0.21022.8.
Copyright (C) Microsoft Corp. All rights reserved.
'C:\MyHDFStuff\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vfproj' cannot
be
opened because its project type (.vfproj) is not supported by this version
of Visual Studio.
To open it, please use a version that supports this type of project.
Invalid project
------------------------------------------------
The extension for PVF project is .pvfproj. May be that is why it is not
opening. Any suggestions ?
Thanks & Regards,
Kunal
byrn
July 22, 2010, 1:21pm
2
Kunal,
On windows, currently we only have Intel Fortran compilers on our test machines. However, the key to using Visual Studio is the integration - VS needs to know how to build the fortran projects. Instead of using VS as the generator try using NMAKE as the generator.
On my test queue for windows is the use of other compilers and I will likely be using the nmake generator.
HDF started the CMake support with the community's help and we encourage the community to suggest any improvements to the CMake files for HDF5 or any other HDF products.
Allen
···
Hello
I wanted to know if the Cmake build of HDF 5 1.8.5 is tailored only for
Intel Visual Fortran ?
I was trying with PGI Visual Fortran and got this error:
--------------------------------------------------
Check for working Fortran compiler: C:/Program
Files/PGI/win64/10.5/bin/pgfortran.exe
Check for working Fortran compiler: C:/Program
Files/PGI/win64/10.5/bin/pgfortran.exe -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:38 (MESSAGE):
The Fortran compiler "C:/Program Files/PGI/win64/10.5/bin/pgfortran.exe" is
not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/MyHDFStuff/build/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual Studio Version 9.0.21022.8.
Copyright (C) Microsoft Corp. All rights reserved.
'C:\MyHDFStuff\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vfproj' cannot
be
opened because its project type (.vfproj) is not supported by this version
of Visual Studio.
To open it, please use a version that supports this type of project.
Invalid project
------------------------------------------------
The extension for PVF project is .pvfproj. May be that is why it is not
opening. Any suggestions ?
Thanks & Regards,
Kunal