警告! HDF5库版本不匹配错误 用于编译此应用程序的HDF5头文件不匹配 该应用程序链接到的HDF5库使用的版本。 如果应用程序继续,则可能会发生数据损坏或分段错误。 当应用程序由一个版本的HDF5编译时会发生这种情况,但是 与其他版本的静态或共享HDF5库链接。 您应该重新编译应用程序或检查与您的共享库相关的 设置,例如“ LD_LIBRARY_PATH”。 您可以自行承担风险,通过设置环境来禁用此警告 变量“ HDF5_DISABLE_VERSION_CHECK”的值设置为“ 1”。 设置为2或更高将完全抑制警告消息。 标头为1.10.1,库为1.10.2
一般信息: ──────────── HDF5版本:1.10.2 配置于:2018 配置人:NMake Makefiles 主机系统:Windows.3.9600 Uname信息:Windows 字节性别:小端 安装点:C:/ bld / hdf5_1526930471488 / _b_env / Library
Compiling Options:
‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑
Build Mode: RELEASE
Debugging Symbols:
Asserts:
Profiling:
Optimization Level:
Linking Options:
‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑
Libraries:
Statically Linked Executables: OFF
LDFLAGS: /machine:x64
H5_LDFLAGS:
AM_LDFLAGS:
Extra libraries:
Archiver:
Ranlib:
Languages:
‑‑‑‑‑‑‑‑‑‑
C: yes
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio
14.0/VC/bin/amd64/cl.exe 19.0.24215.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/amd64/cl.exe 19.0.24215.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:
‑‑‑‑‑‑‑‑‑
Parallel HDF5: OFF
High‑level library: ON
Threadsafety: ON
Default API mapping: v110
With deprecated public symbols: ON
I/O filters (external): DEFLATE
MPE:
Direct VFD:
dmalloc:
Packages w/ extra debug output:
API Tracing: OFF
Using memory checker: OFF
Memory allocation sanity checks: OFF
Metadata trace file:
Function Stack Tracing: OFF
Strict File Format Checks: OFF
Optimization Instrumentation:
Bye...
我该如何解决此错误?