H5::FileIException printError() not found

I got this error when compiling a c++ program using H5::FileIException:

error: ‘const class H5::FileIException’ has no member named ‘printError’; did you mean ‘printErrorStack’?

I am new to H5. Is printError is still a valid function? Thanks.

Hello,

The function printError has been replaced by printErrorStack since 1.8.20 and 1.10.2. Please see this page for its documentation:

https://portal.hdfgroup.org/pages/viewpage.action?pageId=50073884

Thanks,

1 Like