Hi
When I use `./build-soft-latest.sh` I get the following error and the installation stops, any information is welcome
RPi4 4Gb
Linux raspberrypi 6.1.74-v8+ #1725 SMP PREEMPT Mon Jan 22 13:35:32 GMT 2024 aarch64 GNU/Linux
Best regards
Osvaldo

osvpaez@raspberrypi:~/astro-soft-build $ ./build-soft-latest.sh
Low memory limiting to JOBS=2
Cloning into 'libXISF'...
remote: Enumerating objects: 609, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 609 (delta 1), reused 0 (delta 0), pack-reused 603
Receiving objects: 100% (609/609), 1.71 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (271/271), done.
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.
-- The CXX compiler identification is GNU 10.2.1
-- The C compiler identification is GNU 10.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libzstd'
-- Found libzstd, version 1.4.8
-- Configuring done
-- Generating done
-- Build files have been written to: /home/osvpaez/astro-soft/build-libXISF
Scanning dependencies of target XISF
[ 7%] Building CXX object CMakeFiles/XISF.dir/bytearray.cpp.o
[ 7%] Building CXX object CMakeFiles/XISF.dir/libxisf.cpp.o
[ 11%] Building CXX object CMakeFiles/XISF.dir/streambuffer.cpp.o
[ 14%] Building CXX object CMakeFiles/XISF.dir/utils.cpp.o
[ 18%] Building CXX object CMakeFiles/XISF.dir/variant.cpp.o
/home/osvpaez/astro-soft/libXISF/variant.cpp: In instantiation of ‘LibXISF::Variant::toString() const::<lambda(auto:23)> [with auto:23 = LibXISF::Matrix<float>]’:
/home/osvpaez/astro-soft/libXISF/variant.cpp:483:85: required from here
/home/osvpaez/astro-soft/libXISF/variant.cpp:447:30: error: call of overloaded ‘to_chars(char [128], char*&, float&)’ is ambiguous
447 | std::to_chars(str, end, matrix(i, o));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/osvpaez/astro-soft/libXISF/variant.cpp:19:
/usr/include/c++/10/charconv:366:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, char, int)’
366 | _GLIBCXX_TO_CHARS(char)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:367:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, signed char, int)’
367 | _GLIBCXX_TO_CHARS(signed char)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:368:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, unsigned char, int)’
368 | _GLIBCXX_TO_CHARS(unsigned char)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:369:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, short int, int)’
369 | _GLIBCXX_TO_CHARS(signed short)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:370:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, short unsigned int, int)’
370 | _GLIBCXX_TO_CHARS(unsigned short)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:371:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, int, int)’
371 | _GLIBCXX_TO_CHARS(signed int)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:372:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, unsigned int, int)’
372 | _GLIBCXX_TO_CHARS(unsigned int)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:373:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long int, int)’
373 | _GLIBCXX_TO_CHARS(signed long)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:374:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long unsigned int, int)’
374 | _GLIBCXX_TO_CHARS(unsigned long)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:375:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long long int, int)’
375 | _GLIBCXX_TO_CHARS(signed long long)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:376:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long long unsigned int, int)’
376 | _GLIBCXX_TO_CHARS(unsigned long long)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:378:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, __int128, int)’
378 | _GLIBCXX_TO_CHARS(signed __GLIBCXX_TYPE_INT_N_0)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:379:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, __int128 unsigned, int)’
379 | _GLIBCXX_TO_CHARS(unsigned __GLIBCXX_TYPE_INT_N_0)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:397:19: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, bool, int)’ (deleted)
397 | to_chars_result to_chars(char*, char*, bool, int = 10) = delete;
| ^~~~~~~~
/home/osvpaez/astro-soft/libXISF/variant.cpp: In instantiation of ‘LibXISF::Variant::toString() const::<lambda(auto:23)> [with auto:23 = LibXISF::Matrix<double>]’:
/home/osvpaez/astro-soft/libXISF/variant.cpp:484:85: required from here
/home/osvpaez/astro-soft/libXISF/variant.cpp:447:30: error: call of overloaded ‘to_chars(char [128], char*&, double&)’ is ambiguous
447 | std::to_chars(str, end, matrix(i, o));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/osvpaez/astro-soft/libXISF/variant.cpp:19:
/usr/include/c++/10/charconv:366:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, char, int)’
366 | _GLIBCXX_TO_CHARS(char)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:367:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, signed char, int)’
367 | _GLIBCXX_TO_CHARS(signed char)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:368:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, unsigned char, int)’
368 | _GLIBCXX_TO_CHARS(unsigned char)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:369:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, short int, int)’
369 | _GLIBCXX_TO_CHARS(signed short)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:370:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, short unsigned int, int)’
370 | _GLIBCXX_TO_CHARS(unsigned short)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:371:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, int, int)’
371 | _GLIBCXX_TO_CHARS(signed int)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:372:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, unsigned int, int)’
372 | _GLIBCXX_TO_CHARS(unsigned int)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:373:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long int, int)’
373 | _GLIBCXX_TO_CHARS(signed long)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:374:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long unsigned int, int)’
374 | _GLIBCXX_TO_CHARS(unsigned long)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:375:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long long int, int)’
375 | _GLIBCXX_TO_CHARS(signed long long)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:376:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long long unsigned int, int)’
376 | _GLIBCXX_TO_CHARS(unsigned long long)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:378:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, __int128, int)’
378 | _GLIBCXX_TO_CHARS(signed __GLIBCXX_TYPE_INT_N_0)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:379:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, __int128 unsigned, int)’
379 | _GLIBCXX_TO_CHARS(unsigned __GLIBCXX_TYPE_INT_N_0)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/charconv:397:19: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, bool, int)’ (deleted)
397 | to_chars_result to_chars(char*, char*, bool, int = 10) = delete;
| ^~~~~~~~
make[2]: *** [CMakeFiles/XISF.dir/build.make:134: CMakeFiles/XISF.dir/variant.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:124: CMakeFiles/XISF.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
LibXISF compilation failed
osvpaez@raspberrypi:~/astro-soft-build $

Read More...