You need to have these values for all target platforms. There are a set of cmake variables need to be set, downloading this source then executing make the list is printed with the correct values for your system, which is the target. The more the better, as far as I recall a conversation with Allen Byrne cmake version is the more promising way to go. My understanding was that HDF5 had support for cross-compilation with the CMake build system, but even if I’m passing the CMake toolchain file for the cross-compiler it’s trying to run foreign programs. See also "/workspace/srcdir/hdf5/build/CMakeFiles/CMakeError.log". See also "/workspace/srcdir/hdf5/build/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! Generating '/workspace/srcdir/hdf5/src/H5version.h' Found Perl: /usr/bin/perl (found version "5.26.3") Found ZLIB: /workspace/destdir/bin/libz.dll (found version "1.2.11") Could NOT find ZLIB (missing: ZLIB_DIR) Checking IF alignment restrictions are strictly enforced. H5_NO_ALIGNMENT_RESTRICTIONS_RUN_TRYRUN_OUTPUT (advanced) H5_NO_ALIGNMENT_RESTRICTIONS_RUN (advanced) Checking IF the cpu is power9 and cannot correctly converting long double values. H5_DISABLE_SOME_LDOUBLE_CONV_RUN_TRYRUN_OUTPUT (advanced) H5_DISABLE_SOME_LDOUBLE_CONV_RUN (advanced) Checking IF correctly converting (unsigned) long long to long double values. H5_LLONG_TO_LDOUBLE_CORRECT_RUN_TRYRUN_OUTPUT (advanced) H5_LLONG_TO_LDOUBLE_CORRECT_RUN (advanced) Checking IF correctly converting long double to (unsigned) long long values. H5_LDOUBLE_TO_LLONG_ACCURATE_RUN_TRYRUN_OUTPUT (advanced) H5_LDOUBLE_TO_LLONG_ACCURATE_RUN (advanced) Checking IF your system can convert (unsigned) long to long double values with special algorithm. H5_LONG_TO_LDOUBLE_SPECIAL_RUN_TRYRUN_OUTPUT (advanced) H5_LONG_TO_LDOUBLE_SPECIAL_RUN (advanced) noĬMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: Checking IF your system converts long double to (unsigned) long values with special algorithm. H5_LDOUBLE_TO_LONG_SPECIAL_RUN_TRYRUN_OUTPUT (advanced)įor details see /workspace/srcdir/hdf5/build/TryRunResults.cmake H5_LDOUBLE_TO_LONG_SPECIAL_RUN (advanced) DCMAKE_INSTALL_PREFIX=$ \īut I get the following errors: CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: I’ve tried calling CMake in the following way: cmake. Hello, I’m trying to cross-compile HDF5 using BinaryBuilder, but it’s still not clear to me the setup to use.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |