*HDF5 library version mismatched error*

조회 수: 3 (최근 30일)
Matteo
Matteo 2014년 5월 20일
댓글: Maxwell Twardowski 2021년 5월 4일
I'm trying to execute a mex file on ubuntu 14.04 which uses the hdf5 library.
When i try to save the .h5 file i have this warning and Matlab crashes.
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.
...
...
Headers are 1.8.13, library is 1.8.6
I downloaded the hdf5 prebuilt library from: http://www.hdfgroup.org/HDF5/release/obtain5.html
My question is: how can i let matlab link to the most recent library?
  댓글 수: 1
per isakson
per isakson 2014년 5월 20일
Isn't the problem that the "mex file" isn't compatible with "the most recent library" ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Dong
Dong 2014년 9월 28일
Put the hdf5 prebuilt library in a same folder with mex file. Or use old version hdf5, just 1.8.6. Matlab use hdf5 ver1.8.6, but your mex file use 1.8.13.
  댓글 수: 2
Maxwell Twardowski
Maxwell Twardowski 2021년 5월 4일
How can I get my mex file to use the older version of hdf5?
Maxwell Twardowski
Maxwell Twardowski 2021년 5월 4일
Or matlab to use the newer version of hdf?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 HDF5에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by