HDF5 library version mismatched error的解决方案

1.报错信息

`c
Warning! HDF5 library version mismatched error
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.

Data corruption or segmentation faults may occur if the application continues.

This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.

You should recompile the application or check your shared library related
settings such as ‘LD_LIBRARY_PATH’.

You can, at your own risk, disable this warning by setting the environment
variable ‘HDF5_DISABLE_VERSION_CHECK’ to a value of ‘1’.

Setting it to 2 or higher will suppress the warning messages totally.

Headers are 1.10.4, library is 1.10.5
SUMMARY OF THE HDF5 CONFIGURATION
=================================

General Information:
Build Mode:
Debugging Symbols:
Asserts:
Profiling:
Optimization Level:

Linking Options:
C: yes
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe 19.0.24218.1
CPPFLAGS:
H5_CPPFLAGS:
AM_CPPFLAGS:
CFLAGS: /DWIN32 /D_WINDOWS /W3
H5_CFLAGS:
AM_CFLAGS:
Shared C Library: YES
Static C Library: YES

                    Fortran: OFF
           Fortran Compiler:
              Fortran Flags:
           H5 Fortran Flags:
           AM Fortran Flags:
     Shared Fortran Library: YES
     Static Fortran Library: YES

                        C++: ON
               C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe 19.0.24218.1
                  C++ Flags: /DWIN32 /D_WINDOWS /W3 /GR /EHsc
               H5 C++ Flags:
               AM C++ Flags:
         Shared C++ Library: YES
         Static C++ Library: YES

                        JAVA: OFF
               JAVA Compiler:

Features:

Original: https://blog.csdn.net/weixin_44852067/article/details/122209814
Author: 独影月下酌酒
Title: HDF5 library version mismatched error的解决方案

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/509414/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球