在 MIPS32 上构建 HDF5 库

Build HDF5 library on MIPS32

我尝试使用 CMAKE 和适用于 mips 的工具链文件为 Mips32 构建 hdf5 库。我得到以下信息:

-- Check size of __float128
-- Check size of __float128 - failed
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   H5_LDOUBLE_TO_LONG_SPECIAL_RUN (advanced)
   H5_LDOUBLE_TO_LONG_SPECIAL_RUN__TRYRUN_OUTPUT (advanced)
For details see /home/dkol/GitRepository/build/HDF5-prefix/src/HDF5-build/TryRunResults.cmake
-- Checking IF your system converts long double to (unsigned) long values with special algorithm... no
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   H5_LONG_TO_LDOUBLE_SPECIAL_RUN (advanced)
   H5_LONG_TO_LDOUBLE_SPECIAL_RUN__TRYRUN_OUTPUT (advanced)
For details see /home/dkol/GitRepository/build/HDF5-prefix/src/HDF5-build/TryRunResults.cmake
-- Checking IF your system can convert (unsigned) long to long double values with special algorithm... no
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   H5_LDOUBLE_TO_LLONG_ACCURATE_RUN (advanced)
   H5_LDOUBLE_TO_LLONG_ACCURATE_RUN__TRYRUN_OUTPUT (advanced)
For details see /home/dkol/GitRepository/build/HDF5-prefix/src/HDF5-build/TryRunResults.cmake
-- Checking IF correctly converting long double to (unsigned) long long values... no
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   H5_LLONG_TO_LDOUBLE_CORRECT_RUN (advanced)
   H5_LLONG_TO_LDOUBLE_CORRECT_RUN__TRYRUN_OUTPUT (advanced)
For details see /home/dkol/GitRepository/build/HDF5-prefix/src/HDF5-build/TryRunResults.cmake
-- Checking IF correctly converting (unsigned) long long to long double values... no
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   H5_NO_ALIGNMENT_RESTRICTIONS_RUN (advanced)
   H5_NO_ALIGNMENT_RESTRICTIONS_RUN__TRYRUN_OUTPUT (advanced)
For details see /home/dkol/GitRepository/build/HDF5-prefix/src/HDF5-build/TryRunResults.cmake
-- Checking IF alignment restrictions are strictly enforced... no
-- Configuring incomplete, errors occurred!
See also "/home/dkol/GitRepository/build/HDF5-prefix/src/HDF5-build/CMakeFiles/CMakeOutput.log".
See also "/home/dkol/GitRepository/build/HDF5-prefix/src/HDF5-build/CMakeFiles/CMakeError.log".

我该如何解决这个错误?

交叉编译支持失败的问题HDF5 Issue