mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 01:56:13 +01:00
Adding new error msg for hf5
This commit is contained in:
parent
7fa481882b
commit
e16d6ad00d
@ -329,6 +329,7 @@ The code should be compliant with the C99
|
||||
[CERT C coding standard](https://resources.sei.cmu.edu/downloads/secure-coding/assets/sei-cert-c-coding-standard-2016-v01.pdf).
|
||||
This can be checked with the `cppcheck` tool.
|
||||
|
||||
If the configure can not find the hdf5 lib, check your $LIBRARY_PATH variable. Sometimes module only add the lib to the $LD_LIBRARY_PATH and forgot $LIBRARY_PATH.
|
||||
|
||||
|
||||
-----------------
|
||||
|
@ -210,7 +210,7 @@ LIBS="${HDF5_LIBS} ${LIBS}"
|
||||
AS_IF([test "x$with_hdf5" != "xno"], [
|
||||
OLD_LIBS=$LIBS
|
||||
AC_CHECK_LIB([hdf5], [H5Fcreate], [], [
|
||||
AC_MSG_ERROR([-lhdf5 fails, use ./configure --with-hdf5=...]) ])
|
||||
AC_MSG_ERROR([-lhdf5 fails, use ./configure --with-hdf5=... OR check your $LIBRARY_PATH]) ])
|
||||
AC_CHECK_HEADER([hdf5.h], [], [
|
||||
AC_MSG_ERROR([hdf5.h not found, use ./configure --with-hdf5=...]) ])
|
||||
LIBS=$OLD_LIBS
|
||||
|
Loading…
Reference in New Issue
Block a user