我現在用的是如下HDF5庫錯誤
1)VS 2010 C++ 2)調試贏32 3)從這裏
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
非常感謝西蒙,我已經完成了上述所有工作,但沒有發現錯誤。 Visual Studio並沒有給我一個Clean All,還有一個我用過的Clean。奇怪的是,我已經從我的系統中多次卸載HDF5並將其安裝回去,仍然遇到同樣的問題。我真的想修復它,我該怎麼辦? –
我可以做些什麼來確保我已經刪除了所有以前的版本? –
其實我現在意識到,我也在使用一個python xy發行版,它的DLL文件夾中有一些hdf5 dll。我認爲一些python包包含它。這可能是問題嗎?如果是,我該如何診斷/修復它? –