×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

AstroSoftBuild scripts to easy build INDI and KStars

  • Posts: 33
  • Thank you received: 3
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 $
2 months 2 weeks ago #98907

Please Log in or Create an account to join the conversation.

  • Posts: 358
  • Thank you received: 114
Why do you have GCC 10? Ok I added workaround for that try again.
2 months 2 weeks ago #98908

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 3
Hi Nou
Do not install this version, must have updated with some apt upgrade/dist-upgrade
Thanks for your concern, I'm installing the stable version now, as soon as I can I'll try again

Best regards
2 months 2 weeks ago #98909

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 3
Hi Nou
The modifications you made worked perfectly!!
Best regards
2 months 2 weeks ago #98924

Please Log in or Create an account to join the conversation.

  • Posts: 44
  • Thank you received: 0
Hi Nou, thank you about your wonderful job. I have installed kstar successfully in PI4 with Ubuntu 22.04, but I have an issue with PHD2 installation. This is out of this thread, but I would understand. The PHD2 download page redirect me to this site github.com/OpenPHDGuiding/phd2/wiki/BuildingPHD2OnLinux, I have added the phd2 repository according to the procedure, but when I launch the command sudo apt-get install phd2, the command returns me "phd2:depends: libindi1 but it is not installable". Does PHD2 depend on launchpad.net/~mutlaqja/+archive/ubuntu/ppa, ? or do I have to compile phd2 from source?

Regards and thanks
Sergio
2 months 2 weeks ago #98999

Please Log in or Create an account to join the conversation.

  • Posts: 358
  • Thank you received: 114
Actually in my scripts there is also PHD2 at the end. Just delete that "exit" line before that section and you will get PHD2 compiled.
2 months 2 weeks ago #99006

Please Log in or Create an account to join the conversation.

  • Posts: 151
  • Thank you received: 27
hi dusan!
thank you for your effort - i made a little walkthrough video - hope it helps others: Setting up a PI 4 & 5 for use with INDI yours wolfi
The following user(s) said Thank You: Alan Archer, nou, Gordon Shumway
2 months 2 weeks ago #99013

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 1
Nou
Would it be possible for your scripts to inform the user which version of INDI and KStars they were going to build?
Regards
TM
2 months 1 week ago #99070

Please Log in or Create an account to join the conversation.

  • Posts: 326
  • Thank you received: 50
It’s easy to work out which are the stable versions due to the bi-monthly (every two months) releases. As the banner at the top of this page says “INDI Library v2.0.6 is Released (02 Feb 2024)” and similarly with KStars 3.6.9. Both were released at the beginning of February and Nou updated his scripts within days. We can expect Indi 2.0.7 and KStars 3.6.10 around the beginning of April.
Last edit: 2 months 1 week ago by Avocette.
2 months 1 week ago #99076

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 3
Hi NOUCompiles ok INDI and Kstars but when you compile PHD2 it stays here, what could be happening?
Best regards

[ ! -d ../build-phd2 ] && cmake -B ../build-phd2 ../phd2 -DCMAKE_BUILD_TYPE=Release || { echo "PHD2 failed aca"; exit 1; }

2 months 1 week ago #99131
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 358
  • Thank you received: 114
Ok PHD2 portion was disabled for so long that it broke down. I added option that if you pass phd2 as argument into script it will build it. It will build older version 2.6.12 as newer require cmake 3.24 which is AFAIK not available on raspberry os.
The following user(s) said Thank You: Osvaldo Paez
2 months 1 week ago #99134

Please Log in or Create an account to join the conversation.

  • Posts: 44
  • Thank you received: 0
Hi. Today I have tried to compile PHD2 unsuccessfully. Then I found the issue that is mentioned here. I am wondering if kstar compiling can be done by cmake 3.24. My O/S is Ubuntu 22.04. Do you suggest a different O/S. ?What is your environment?
Last edit: 2 months 1 week ago by sergio.
2 months 1 week ago #99136

Please Log in or Create an account to join the conversation.

Time to create page: 1.111 seconds