I still have the same errors when using
-C ../config/cmake/cacheinit.cmake
from the documentation in /release_docs/Cmake.txt
cmake -C <sourcepath>/config/cmake/cacheinit.cmake -G "<generator>" [-D<options>] <sourcepath>
<options> is:
* SZIP_INCLUDE_DIR:PATH=<path to szip includes directory>
* SZIP_LIBRARY:FILEPATH=<path to szip/library file>
* ZLIB_INCLUDE_DIR:PATH=<path to zlib includes directory>
* ZLIB_LIBRARY:FILEPATH=<path to zlib/library file>
when I do
cmake -C ../config/cmake/cacheinit.cmake .. -D"ZLIB_INCLUDE_DIR:PATH=T:\zlib-1.2.5" -D"ZLIB_LIBRARY:FILEPATH=T:\zlib-1.2.5\build\bin\Debug\libzlib_D.lib" -D"SZIP_INCLUDE_DIR:PATH=T:\szip-2.1\src" -D"SZIP_LIBRARY:FILEPATH=T:\szip-2.1\build\bin\Debug\libszip_D.lib" ..
I have these errors
It seems that the zlib and szip messages are only warnings, and the error is because I don't have the Fortran compiler ? Is this correct?
Is it possible to disable the Fortran compiler detection ?
CMake Warning at CMakeLists.txt:562 (FIND_PACKAGE):
Could not find a package configuration file provided by "ZLIB" with any of
the following names:
zlibConfig.cmake
zlib-config.cmake
Add the installation prefix of "ZLIB" to CMAKE_PREFIX_PATH or set
"ZLIB_DIR" to a directory containing one of the above files. If "ZLIB"
provides a separate development package or SDK, be sure it has been
installed.
-- Found ZLIB: T:/zlib-1.2.5/build/bin/Debug/libzlib_D.lib (found version "1.2.5")
-- Filter ZLIB is ON
CMake Warning at CMakeLists.txt:606 (FIND_PACKAGE):
Could not find a package configuration file provided by "SZIP" with any of
the following names:
szipConfig.cmake
szip-config.cmake
Add the installation prefix of "SZIP" to CMAKE_PREFIX_PATH or set
"SZIP_DIR" to a directory containing one of the above files. If "SZIP"
provides a separate development package or SDK, be sure it has been
installed.
-- Looking for SZIP_BUILT_AS_DYNAMIC_LIB
-- Looking for SZIP_BUILT_AS_DYNAMIC_LIB - not found
-- Filter SZIP is ON
-- Check for working Fortran compiler using: Visual Studio 10
-- Check for working Fortran compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:54 (message):
The Fortran compiler "ifort" is not able to compile a simple test program.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
config/cmake/HDF5UseFortran.cmake:5 (ENABLE_LANGUAGE)
CMakeLists.txt:755 (INCLUDE)
-- Configuring incomplete, errors occurred!
···
------
Pedro Vicente, Earth System Science
University of California, Irvine
http://www.ess.uci.edu/
----- Original Message ----- From: "Pedro Vicente" <pedro.vicente@space-research.org>
To: "HDF Users Discussion List" <hdf-forum@hdfgroup.org>
Cc: <help@hdfgroup.org>
Sent: Thursday, April 18, 2013 7:47 PM
Subject: Re: [Hdf-forum] HDF5 1.8.11 release candidate is available fortesting -- HighLevel library missing
Hi Albert
I tried the CMake build with
T:\hdf5-1.8.11-pre1\build>cmake ..
and unlike the previous hdf5-1.8.10 reported errors, no errors this time,
However, the High-level library is not included in the build.
The netCDF build requires the Dimension Scales library, so this is a must for netCDF users.
1) Would it be possible to have a CMake build for the High-level library ?
2) I have a suggestion, if you could name the CMake generated Visual Studio solution with the HDF5 release version name, like
hdf5-1.8.11-pre1.sln
instead of
HDF5.sln
This is helpful for anyone that uses several versions
Thanks
Pedro
------
Pedro Vicente, Earth System Science
University of California, Irvine
http://www.ess.uci.edu/
----- Original Message ----- From: "Albert Cheng" <acheng@hdfgroup.org>
To: "HDF Users Discussion List" <hdf-forum@hdfgroup.org>
Sent: Friday, April 12, 2013 1:59 PM
Subject: [Hdf-forum] HDF5 1.8.11 release candidate is available for testing
Hello everyone,
A pre-release candidate version of HDF5 1.8.11 is available for testing and can be downloaded at the following link:
http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/hdf5/hdf5-1.8.11/hdf5-1.8.11-pre1.tar.gz
If you have some time to test this pre-release, we would greatly appreciate it. We try to test on a wide variety of platforms and environments but are unable to test everywhere so feedback from the user community is always welcome.
Please note that while the release notes contained in the pre-release are reflective of the changes and additions present in this release, the 'platforms tested' and 'tested configurations' sections have yet to be updated for this version of HDF5.
We plan to release HDF5 1.8.11 in mid-May barring the discovery of any critical issues.
Thank you!
The HDF Group
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org