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

Hello Albert,

The legacy Windows build scripts (subdirectory windows\) seem to be
missing in hdf5-1.8.11-pre1.tar.gz. When I copy this directory over from
hdf5-1.8.10-patch1.tar.bz2 and compile with VisualStudio 2008 on Windows
XP (32bit), then I get the following fatal errors:

···

-------------------------------------------------------------------------------------------------
Error 113 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

Error 114 error C2085: 'H5PLget_plugin_type' : not in formal
parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

Error 115 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5

Error 123 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

Error 124 error C2085: 'H5PLget_plugin_type' : not in formal
parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

Error 125 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5
-------------------------------------------------------------------------------------------------

Any idea what I need to do in order to fix those errors?

Best regards,

Bernd

On 2013-04-12 22:59, Albert Cheng wrote:

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

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

I compiled the release candidate on win8 and win7 using VS 2012 (vs11), all went smoothly, comiled right out of the box (with parallel enabled and without).
I ran tests on win8 and got 2169 pass, 1 fail
Results are here.
http://cdash.hdfgroup.uiuc.edu/index.php?project=HDF518&date=2013-04-22

Great job.

One thing.

I had a discussion on the cmake list about what to do about transitive linking and would like to make one small change to the hdf5 cmake before the next full release.

If Parallel IO is enabled, any project using hdf5 also needs to pull in mpi includes and link to mpi lib. I'd like to add these to the hdf5-config.cmake when it is installed so that a project using hdf5 will pick up the mpi settings automatically. Currently, the user needs to add this stuff to their cmakelists to handle the case when mpi is used, but sometimes this can be tricky.

My use case is when paraview uses system hdf5 and it has mpi enabled, one needs to modify netcdf, xdmf, exodus, ... and a few other subprojects I can't remember to pick up the MPI settings and it is quite painful. If the hdf5-config added them automatically life would be much easier

Any objections?

JB

···

-----Original Message-----
From: Hdf-forum [mailto:hdf-forum-bounces@hdfgroup.org] On Behalf Of Albert Cheng
Sent: 12 April 2013 23:00
To: HDF Users Discussion List
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

The legacy Windows build scripts have been deprecated and removed. We now
only support using CMake to construct Visual Studio solutions.
Instructions for building with CMake can be found in the release_docs
directory.

Dana

···

On Mon, Apr 15, 2013 at 4:59 PM, Bernd Rinn <brinn@ethz.ch> wrote:

Hello Albert,

The legacy Windows build scripts (subdirectory windows\) seem to be
missing in hdf5-1.8.11-pre1.tar.gz. When I copy this directory over from
hdf5-1.8.10-patch1.tar.bz2 and compile with VisualStudio 2008 on Windows
XP (32bit), then I get the following fatal errors:

-------------------------------------------------------------------------------------------------
Error 113 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

Error 114 error C2085: 'H5PLget_plugin_type' : not in formal
parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
hdf5

Error 115 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5

Error 123 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

Error 124 error C2085: 'H5PLget_plugin_type' : not in formal
parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
hdf5

Error 125 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5

-------------------------------------------------------------------------------------------------

Any idea what I need to do in order to fix those errors?

Best regards,

Bernd

On 2013-04-12 22:59, Albert Cheng wrote:
> 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

Thanks for the info. I'd suggest that you adapt
release_docs/INSTALL_Windows.txt accordingly. It still reads:

"""
The old solutions and projects found in the windows\ folder will be
maintained for legacy users until HDF5 1.10.
"""

BTW: Are the compile errors I get due to using the legacy builds scripts?

Bernd

···

On 2013-04-16 00:08, Dana Robinson wrote:

The legacy Windows build scripts have been deprecated and removed. We
now only support using CMake to construct Visual Studio solutions.
Instructions for building with CMake can be found in the release_docs
directory.

Dana

On Mon, Apr 15, 2013 at 4:59 PM, Bernd Rinn <brinn@ethz.ch > <mailto:brinn@ethz.ch>> wrote:

    Hello Albert,

    The legacy Windows build scripts (subdirectory windows\) seem to be
    missing in hdf5-1.8.11-pre1.tar.gz. When I copy this directory over from
    hdf5-1.8.10-patch1.tar.bz2 and compile with VisualStudio 2008 on Windows
    XP (32bit), then I get the following fatal errors:

    -------------------------------------------------------------------------------------------------
    Error 113 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

    Error 114 error C2085: 'H5PLget_plugin_type' : not in formal
    parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
       hdf5

    Error 115 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5

    Error 123 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

    Error 124 error C2085: 'H5PLget_plugin_type' : not in formal
    parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
       hdf5

    Error 125 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5
    -------------------------------------------------------------------------------------------------

    Any idea what I need to do in order to fix those errors?

    Best regards,

    Bernd

    On 2013-04-12 22:59, Albert Cheng wrote:
    > 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 <mailto: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 <mailto: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

--
Dr. Bernd Rinn
Scientific IT Services
ETH Zurich IT Services
SIB Swiss Institute of Bioinformatics
Mattenstr. 26 (1078 1.01), 4058 Basel, Switzerland, +41 61 387 3130

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

Hi Pedro,

Thank you for your feedback.
I think you are on a Windows system but could you give more details like
OS versions, platform specifics (32, 64 bits,... ), compilers, ...

I will check with our Cmake person of your suggestions.
A question about your suggestion 2. Wouldn't it be better
to use folder names to specify different versions? E.g.,

...\hdf5-1.8.11-pre1\HDF5.sln
...\hdf5-1.8.10\HDF5.sln

···

On 4/18/13 9:47 PM, Pedro Vicente wrote:

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

Hi Bernd,

Thanks for the info. I'd suggest that you adapt
release_docs/INSTALL_Windows.txt accordingly. It still reads:

"""
The old solutions and projects found in the windows\ folder will be
maintained for legacy users until HDF5 1.10.
"""

Thanks. I'll pass that along.

BTW: Are the compile errors I get due to using the legacy builds scripts?

Yes. The old legacy build scripts won't know about any new files and it
looks like they are failing on the new dynamic filter plugin functionality.

Dana

···

On Mon, Apr 15, 2013 at 5:21 PM, Bernd Rinn <brinn@ethz.ch> wrote:

Hi Albert

I was able to fix that missing Fortran compiler error by editing the file in

/config/cmake/cacheinit.cmake

by changing ON to OFF here

SET (HDF5_BUILD_FORTRAN ON CACHE BOOL "Build FORTRAN support" FORCE)

I am not sure if this is possible to auto-detect by Cmake, if the user has the Fortran compiler ?

I yes, it should be auto-detected, if not the documention should say a way to avoid the error.

This command here did the job then

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" ..

It build everything, looks good

Thanks

···

------
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 19, 2013 11:59 AM
Subject: Re: [Hdf-forum] HDF5 1.8.11 release candidate is available for testing -- HighLevel library missing

Hi Pedro,

Thank you for your feedback.
I think you are on a Windows system but could you give more details like
OS versions, platform specifics (32, 64 bits,... ), compilers, ...

I will check with our Cmake person of your suggestions.
A question about your suggestion 2. Wouldn't it be better
to use folder names to specify different versions? E.g.,

...\hdf5-1.8.11-pre1\HDF5.sln
...\hdf5-1.8.10\HDF5.sln

On 4/18/13 9:47 PM, Pedro Vicente wrote:

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

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

actually for #2 below the HDF5 devs _could_ do this but it might be fairly Tedious to do it. The first line of the very top level CMakeLists.txt file should have a line like:

project(HDF5)

It would have to be constantly updated to project(HDF5-1.8.10.pre.foo.1.whatever) and I am not sure what that really buys the developer?

Typically I have several versions of HDF5 being compiled but I have them all in separate folders in my workspace. I guess from a "Recent Files" point of view from within Visual Studio all those show up as "HDF5.sln" which may not be big help.

There are also other IDEs and environments that depend on having a "stable" project name. Imagine the following:

I have using the latest Git version of HDF5. I checkout out the code and generate my solutions. Then HDF5 devs increment the version number for the "project()" command. If I am NOT recognizing that this is going on I am going to end up using an out of date solution file because the next time CMake runs it will generate a whole NEW solution file with the new version number but I'll still be using the older solution which would cause all sorts of problems.

So it is best to just leave it the way it is.

Thanks

···

___________________________________________________________
Mike Jackson Principal Software Engineer
BlueQuartz Software Dayton, Ohio
mike.jackson@bluequartz.net www.bluequartz.net

On Apr 19, 2013, at 2:59 PM, Albert Cheng wrote:

Hi Pedro,

Thank you for your feedback.
I think you are on a Windows system but could you give more details like
OS versions, platform specifics (32, 64 bits,... ), compilers, ...

I will check with our Cmake person of your suggestions.
A question about your suggestion 2. Wouldn't it be better
to use folder names to specify different versions? E.g.,

...\hdf5-1.8.11-pre1\HDF5.sln
...\hdf5-1.8.10\HDF5.sln

On 4/18/13 9:47 PM, Pedro Vicente wrote:

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

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

I just tried to compile HDF5 1.8.11 with Visual Studio 9 using CMake. I
need to link the library statically, thus I need to use the flag /MT for
the C compiler, however, I can't find a way to do it. I tried this:

1. Create build\ subdirectory and change into it

2. Call

cmake -G "Visual Studio 9 2008" -DBUILD_TESTING:BOOL=ON
-DHDF5_BUILD_TOOLS:BOOL=ON ..

3. Load file CMakeCache.txt and replace all occurrences of "/MD" by "/MT".

for example I replace the line

CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG

with

CMAKE_C_FLAGS_RELEASE:STRING=/MT /O2 /Ob2 /D NDEBUG

4. Call

cmake --build . --config Release

The build still uses /MD as I can see e.g. in
/build/src/hdf5.dir/Release/BuildLog.htm where these flags are listed:

/O2 /Ob2 /I "C:\JHDF5\hdf5\hdf5-1.8.11\build" /I
"C:\JHDF5\hdf5\hdf5-1.8.11\src" /I "C:\JHDF5\hdf5\hdf5-1.8.11\build\bin"
/I "C:\JHDF5\hdf5\hdf5-1.8.11" /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /D
"BIND_TO_CURRENT_VCLIBS_VERSION=1" /D "_CRT_SECURE_NO_WARNINGS" /D
"_CONSOLE" /D "CMAKE_INTDIR=\"Release\"" /D "_MBCS" /FD /MD
/Fo"hdf5.dir\Release\\"
/Fd"C:\JHDF5\hdf5\hdf5-1.8.11\build\bin\Release/libhdf5.pdb" /W3 /c /TC
  /Zm1000

How do I make the compiler actually use the flag /MT?

Thanks,

Bernd

···

On 2013-04-16 00:21, Bernd Rinn wrote:

Thanks for the info. I'd suggest that you adapt
release_docs/INSTALL_Windows.txt accordingly. It still reads:

"""
The old solutions and projects found in the windows\ folder will be
maintained for legacy users until HDF5 1.10.
"""

BTW: Are the compile errors I get due to using the legacy builds scripts?

Bernd

On 2013-04-16 00:08, Dana Robinson wrote:

The legacy Windows build scripts have been deprecated and removed. We
now only support using CMake to construct Visual Studio solutions.
Instructions for building with CMake can be found in the release_docs
directory.

Dana

On Mon, Apr 15, 2013 at 4:59 PM, Bernd Rinn <brinn@ethz.ch >> <mailto:brinn@ethz.ch>> wrote:

    Hello Albert,

    The legacy Windows build scripts (subdirectory windows\) seem to be
    missing in hdf5-1.8.11-pre1.tar.gz. When I copy this directory over from
    hdf5-1.8.10-patch1.tar.bz2 and compile with VisualStudio 2008 on Windows
    XP (32bit), then I get the following fatal errors:

    -------------------------------------------------------------------------------------------------
    Error 113 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

    Error 114 error C2085: 'H5PLget_plugin_type' : not in formal
    parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
       hdf5

    Error 115 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5

    Error 123 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

    Error 124 error C2085: 'H5PLget_plugin_type' : not in formal
    parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
       hdf5

    Error 125 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5
    -------------------------------------------------------------------------------------------------

    Any idea what I need to do in order to fix those errors?

    Best regards,

    Bernd

    On 2013-04-12 22:59, Albert Cheng wrote:
    > 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 <mailto: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 <mailto: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

--
Dr. Bernd Rinn
Scientific IT Services
ETH Zurich IT Services
SIB Swiss Institute of Bioinformatics
Mattenstr. 26 (1078 1.01), 4058 Basel, Switzerland, +41 61 387 3130

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

--
Dr. Bernd Rinn
Scientific IT Services
ETH Zurich IT Services
SIB Swiss Institute of Bioinformatics
Sonneggstr. 63 (SOW H 14), 8092 Z�rich, Switzerland
Mattenstr. 26 (1078 1.01), 4058 Basel, Switzerland, +41 61 387 3130

Hi Mike

I guess from a "Recent Files" point of view from within Visual Studio all those show up as "HDF5.sln" which may not be big help.

exactly, they all show up as "HDF5.sln" and then I don't know which is which

but no big deal, I can always rename the solution after being generated by Cmake

···

------
Pedro Vicente, Earth System Science
University of California, Irvine
http://www.ess.uci.edu/

----- Original Message ----- From: "Michael Jackson" <mike.jackson@bluequartz.net>
To: "HDF Users Discussion List" <hdf-forum@hdfgroup.org>
Sent: Friday, April 19, 2013 12:31 PM
Subject: Re: [Hdf-forum] HDF5 1.8.11 release candidate is available fortesting -- HighLevel library missing

actually for #2 below the HDF5 devs _could_ do this but it might be fairly Tedious to do it. The first line of the very top level CMakeLists.txt file should have a line like:

project(HDF5)

It would have to be constantly updated to project(HDF5-1.8.10.pre.foo.1.whatever) and I am not sure what that really buys the developer?

Typically I have several versions of HDF5 being compiled but I have them all in separate folders in my workspace. I guess from a "Recent Files" point of view from within Visual Studio all those show up as "HDF5.sln" which may not be big help.

There are also other IDEs and environments that depend on having a "stable" project name. Imagine the following:

I have using the latest Git version of HDF5. I checkout out the code and generate my solutions. Then HDF5 devs increment the version number for the "project()" command. If I am NOT recognizing that this is going on I am going to end up using an out of date solution file because the next time CMake runs it will generate a whole NEW solution file with the new version number but I'll still be using the older solution which would cause all sorts of problems.

So it is best to just leave it the way it is.

Thanks
___________________________________________________________
Mike Jackson Principal Software Engineer
BlueQuartz Software Dayton, Ohio
mike.jackson@bluequartz.net www.bluequartz.net

On Apr 19, 2013, at 2:59 PM, Albert Cheng wrote:

Hi Pedro,

Thank you for your feedback.
I think you are on a Windows system but could you give more details like
OS versions, platform specifics (32, 64 bits,... ), compilers, ...

I will check with our Cmake person of your suggestions.
A question about your suggestion 2. Wouldn't it be better
to use folder names to specify different versions? E.g.,

...\hdf5-1.8.11-pre1\HDF5.sln
...\hdf5-1.8.10\HDF5.sln

On 4/18/13 9:47 PM, Pedro Vicente wrote:

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

_______________________________________________
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

Bernd,
   Run "CmakeGUI" and make sure the variable "BUILD_SHARED_LIBS" is
OFF. Then click the "Configure" button and then the "Generate" button.
The Visual Studio solution is now ready to open and compile.

···

--

Mike Jackson
_________________________________________________________
Mike Jackson mike.jackson@bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio

On Sat, May 25, 2013 at 11:06 AM, Bernd Rinn <brinn@ethz.ch> wrote:

I just tried to compile HDF5 1.8.11 with Visual Studio 9 using CMake. I
need to link the library statically, thus I need to use the flag /MT for
the C compiler, however, I can't find a way to do it. I tried this:

1. Create build\ subdirectory and change into it

2. Call

cmake -G "Visual Studio 9 2008" -DBUILD_TESTING:BOOL=ON
-DHDF5_BUILD_TOOLS:BOOL=ON ..

3. Load file CMakeCache.txt and replace all occurrences of "/MD" by "/MT".

for example I replace the line

CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG

with

CMAKE_C_FLAGS_RELEASE:STRING=/MT /O2 /Ob2 /D NDEBUG

4. Call

cmake --build . --config Release

The build still uses /MD as I can see e.g. in
/build/src/hdf5.dir/Release/BuildLog.htm where these flags are listed:

/O2 /Ob2 /I "C:\JHDF5\hdf5\hdf5-1.8.11\build" /I
"C:\JHDF5\hdf5\hdf5-1.8.11\src" /I "C:\JHDF5\hdf5\hdf5-1.8.11\build\bin"
/I "C:\JHDF5\hdf5\hdf5-1.8.11" /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /D
"BIND_TO_CURRENT_VCLIBS_VERSION=1" /D "_CRT_SECURE_NO_WARNINGS" /D
"_CONSOLE" /D "CMAKE_INTDIR=\"Release\"" /D "_MBCS" /FD /MD
/Fo"hdf5.dir\Release\\"
/Fd"C:\JHDF5\hdf5\hdf5-1.8.11\build\bin\Release/libhdf5.pdb" /W3 /c /TC
  /Zm1000

How do I make the compiler actually use the flag /MT?

Thanks,

Bernd

On 2013-04-16 00:21, Bernd Rinn wrote:

Thanks for the info. I'd suggest that you adapt
release_docs/INSTALL_Windows.txt accordingly. It still reads:

"""
The old solutions and projects found in the windows\ folder will be
maintained for legacy users until HDF5 1.10.
"""

BTW: Are the compile errors I get due to using the legacy builds scripts?

Bernd

On 2013-04-16 00:08, Dana Robinson wrote:

The legacy Windows build scripts have been deprecated and removed. We
now only support using CMake to construct Visual Studio solutions.
Instructions for building with CMake can be found in the release_docs
directory.

Dana

On Mon, Apr 15, 2013 at 4:59 PM, Bernd Rinn <brinn@ethz.ch >>> <mailto:brinn@ethz.ch>> wrote:

    Hello Albert,

    The legacy Windows build scripts (subdirectory windows\) seem to be
    missing in hdf5-1.8.11-pre1.tar.gz. When I copy this directory over from
    hdf5-1.8.10-patch1.tar.bz2 and compile with VisualStudio 2008 on Windows
    XP (32bit), then I get the following fatal errors:

    -------------------------------------------------------------------------------------------------
    Error 113 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

    Error 114 error C2085: 'H5PLget_plugin_type' : not in formal
    parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
       hdf5

    Error 115 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5

    Error 123 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

    Error 124 error C2085: 'H5PLget_plugin_type' : not in formal
    parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
       hdf5

    Error 125 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5
    -------------------------------------------------------------------------------------------------

    Any idea what I need to do in order to fix those errors?

    Best regards,

    Bernd

    On 2013-04-12 22:59, Albert Cheng wrote:
    > 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 <mailto: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 <mailto: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

--
Dr. Bernd Rinn
Scientific IT Services
ETH Zurich IT Services
SIB Swiss Institute of Bioinformatics
Mattenstr. 26 (1078 1.01), 4058 Basel, Switzerland, +41 61 387 3130

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

--
Dr. Bernd Rinn
Scientific IT Services
ETH Zurich IT Services
SIB Swiss Institute of Bioinformatics
Sonneggstr. 63 (SOW H 14), 8092 Zürich, Switzerland
Mattenstr. 26 (1078 1.01), 4058 Basel, Switzerland, +41 61 387 3130

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Michael,

That doesn't fix it for me. It still compiles the library with /MD.

Bernd

···

On 2013-05-25 19:49, Michael Jackson wrote:

Bernd,
   Run "CmakeGUI" and make sure the variable "BUILD_SHARED_LIBS" is
OFF. Then click the "Configure" button and then the "Generate" button.
The Visual Studio solution is now ready to open and compile.

--

Mike Jackson
_________________________________________________________
Mike Jackson mike.jackson@bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio

On Sat, May 25, 2013 at 11:06 AM, Bernd Rinn <brinn@ethz.ch> wrote:

I just tried to compile HDF5 1.8.11 with Visual Studio 9 using CMake. I
need to link the library statically, thus I need to use the flag /MT for
the C compiler, however, I can't find a way to do it. I tried this:

1. Create build\ subdirectory and change into it

2. Call

cmake -G "Visual Studio 9 2008" -DBUILD_TESTING:BOOL=ON
-DHDF5_BUILD_TOOLS:BOOL=ON ..

3. Load file CMakeCache.txt and replace all occurrences of "/MD" by "/MT".

for example I replace the line

CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG

with

CMAKE_C_FLAGS_RELEASE:STRING=/MT /O2 /Ob2 /D NDEBUG

4. Call

cmake --build . --config Release

The build still uses /MD as I can see e.g. in
/build/src/hdf5.dir/Release/BuildLog.htm where these flags are listed:

/O2 /Ob2 /I "C:\JHDF5\hdf5\hdf5-1.8.11\build" /I
"C:\JHDF5\hdf5\hdf5-1.8.11\src" /I "C:\JHDF5\hdf5\hdf5-1.8.11\build\bin"
/I "C:\JHDF5\hdf5\hdf5-1.8.11" /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /D
"BIND_TO_CURRENT_VCLIBS_VERSION=1" /D "_CRT_SECURE_NO_WARNINGS" /D
"_CONSOLE" /D "CMAKE_INTDIR=\"Release\"" /D "_MBCS" /FD /MD
/Fo"hdf5.dir\Release\\"
/Fd"C:\JHDF5\hdf5\hdf5-1.8.11\build\bin\Release/libhdf5.pdb" /W3 /c /TC
  /Zm1000

How do I make the compiler actually use the flag /MT?

Thanks,

Bernd

On 2013-04-16 00:21, Bernd Rinn wrote:

Thanks for the info. I'd suggest that you adapt
release_docs/INSTALL_Windows.txt accordingly. It still reads:

"""
The old solutions and projects found in the windows\ folder will be
maintained for legacy users until HDF5 1.10.
"""

BTW: Are the compile errors I get due to using the legacy builds scripts?

Bernd

On 2013-04-16 00:08, Dana Robinson wrote:

The legacy Windows build scripts have been deprecated and removed. We
now only support using CMake to construct Visual Studio solutions.
Instructions for building with CMake can be found in the release_docs
directory.

Dana

On Mon, Apr 15, 2013 at 4:59 PM, Bernd Rinn <brinn@ethz.ch >>>> <mailto:brinn@ethz.ch>> wrote:

    Hello Albert,

    The legacy Windows build scripts (subdirectory windows\) seem to be
    missing in hdf5-1.8.11-pre1.tar.gz. When I copy this directory over from
    hdf5-1.8.10-patch1.tar.bz2 and compile with VisualStudio 2008 on Windows
    XP (32bit), then I get the following fatal errors:

    -------------------------------------------------------------------------------------------------
    Error 113 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

    Error 114 error C2085: 'H5PLget_plugin_type' : not in formal
    parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
       hdf5

    Error 115 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5

    Error 123 error C2054: expected '(' to follow 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76 hdf5

    Error 124 error C2085: 'H5PLget_plugin_type' : not in formal
    parameter list c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 76
       hdf5

    Error 125 error C2061: syntax error : identifier 'H5PLUGIN_DLL'
    c:\jhdf5\hdf5\hdf5-1.8.11-pre1\src\H5PLextern.h 77 hdf5
    -------------------------------------------------------------------------------------------------

    Any idea what I need to do in order to fix those errors?

    Best regards,

    Bernd

    On 2013-04-12 22:59, Albert Cheng wrote:
    > 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 <mailto: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 <mailto: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