我尝试使用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".
如何修复此错误?
1条答案
按热度按时间9udxz4iz1#
支持HDF5 Issue的交叉编译失败的问题