HDF5 磁带库错误
HDF5 Library error
我正在使用以下内容
1) VS 2010 C++2) 调试 Win 323)从这里开始的图书馆
http://www.hdfgroup.org/HDF5/release/obtain5.html
基本上我下载了Windows(32位)编译器:CMake VS 2010 C,C++,IVF 12,RWDI并安装了它。我尝试在我的C++应用程序中包含一个示例代码,并遇到了以下内容
***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.8.12, library is 1.8.11
SUMMARY OF THE HDF5 CONFIGURATION
=================================
General Information:
-------------------
HDF5 Version: 1.8.11
Configured on:
Configured by: Visual Studio 9 2008
Configure mode: CMAKE 2.8.11.2
Host system: Windows-6.1
Uname information: Windows
Byte sex: little-endian
Libraries:
Installation point: J:/dev/opt/hdf5-1.8.11
您要么安装了两个版本的 HDF5,并且使用一个版本(1.8.12)进行编译,但与另一个版本(J:/dev/opt/hdf5-1.8.11
中的 1.8.11)链接,或者更有可能的是你安装了 HDF5,编译了程序,然后更新了 HDF5,并且没有清理项目中的某些对象文件......
首先尝试清理所有并再次构建您的程序,这可能就足够了。
如果这不起作用,请确定您是否同时安装了两个版本,如果是这种情况,请删除其中一个版本,"全部清除"并构建程序。
如果这不起作用,请删除系统上的所有 HDF5 内容并重新安装 HDF5 库,全部清理并构建程序。
我有同样的问题,我通过使用解决了这个问题
conda install -c anaconda hdf5=1.8.12
我希望这也能与你合作
这似乎只在Windows机器中使用PyCharm运行应用程序(使用Theano + Keras+Anaconda)时才会出现。
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
设置HDF5_DISABLE_VERSION_CHECK=1
会禁止显示它。
- CMake项目Boost库错误:Boost/config/compiler/gcc.hpp:165:10:致命错误:cs
- 在混合代码库中将C转换为C++时出现许多包含错误
- 使用静态库与 std::jthread (g++-10) 的分段错误
- CMake 错误"源似乎不包含 CMakeLists.txt",路径/库连接问题
- mbed:使用 USB 文档库编译会导致错误
- 如何构建 SOCI 库而没有错误?
- 一个标头库中的错误
- 加载共享库时C++错误:libopencv_ximgproc.so.4.4
- 如何在 Python C++ 混合库中调试非确定性分段错误?
- OpenCV C++ 正弦模式生成错误 - structured_light库
- 快速 I2C 连接,迁移到新磁带库
- 链接错误提升库
- 标准库编译器 来自 #include 的错误 -- 所有库都会导致终端错误
- HDF5 磁带库错误
- Dart 编译错误 - 代码库中奇怪的代码片段
- 带有嵌入式 Python 的 Python 扩展模块调用了错误的库
- C++编译错误(REPAST库)
- Arduino IDE下的编译错误(缺少库)
- Xcode链接器错误:ld:库没有找到-twsapi
- Qt 可执行错误 - dll 库