×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Build Kstars Nightly from Git

  • Posts: 283
  • Thank you received: 39
I have created a git repository for a shell script  to clone and build Kstars/indi from their respective source-code git repositories.
This was based off of information kindly provided by Hy Murveit earlier on the forum.
Please see the github repository for more information...
github.com/JerryBlack/buildKstarsNightlyFromGit

The script may be executed with one of these parameter options:
all                        - run everything
dependencies     - install the dependencies
clone                   - clone the repositories
update                - update the repositories \(git pull\)
stellarsolver        - clone and install stellarsolver
indicore               - compile and install indi-core
indi3rdpartylibs   - compile and install indi-3rdparty-libs
indi3rdparty        - compile and install indi-3rdparty
kstars                 - compile kstars
help                   - describe the parmeter options (sic).

Thanks
  Jerry
 
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
The following user(s) said Thank You: Gilles Gagnon, David Thompson, ouioui01, Grimaldi
Last edit: 6 months 2 days ago by Jerry Black.
6 months 2 days ago #71737

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

  • Posts: 216
  • Thank you received: 49
Thanks for your script Jerry, it will surely make building the KStars/Ekos/Indilib suite much simpler. Great idea!

If I may ask, would it be possible to add a "-DBUILD_TESTING=OFF" cmake option to the KStars build as building for smaller machines (Raspi, ODroid...) tends to fail when it gets to the KStars test suite, and they may not be necessary for those running Raspi or ODroid?

I will add it to my version of the script but others may benefit from this option as well.

Thanks again.
6 months 2 days ago #71744

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

  • Posts: 216
  • Thank you received: 49
Hello again Jerry,

I just ran your script on my laptop, with "-DBUILD_TESTING=OFF" added to the KStars cmake, and everything went fine. Great job! I will try it on my ODroid next.

Thanks again.
6 months 2 days ago #71745

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

  • Posts: 283
  • Thank you received: 39
OK, I think I've successfully updated my git library github.com/JerryBlack/buildKstarsNightlyFromGit to add  -DBUILD_TESTING=OFF as the default for the cmake calls.
Cheers
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
The following user(s) said Thank You: Gilles Gagnon
6 months 2 days ago #71746

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

  • Posts: 72
  • Thank you received: 16
Hi today, I started trying to compile on Astroberry/ RPi 3b and I had to install in addition:
libftdi1-dev
libdc1394-22-dev
libeigen3-dev

Can you add that to the build dependencies, or do you want a pull request?
Last edit: 5 months 4 weeks ago by Grimaldi.
5 months 4 weeks ago #71928

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

  • Posts: 283
  • Thank you received: 39
OK, thanks. I think I've added those just now.
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
The following user(s) said Thank You: David Thompson
5 months 4 weeks ago #71929

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

  • Posts: 216
  • Thank you received: 49
Hi Jerry,

I noticed that you specify a "-j3" option when making, is that so that it can 'make' the software without failing on the ODroid N2? I had tried "-j4" on the C4 and make failed before completion so I reverted back to "-j2".

Thanks.
5 months 4 weeks ago #71930

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

  • Posts: 72
  • Thank you received: 16
make -jX specifies how many concurrent jobs (X) make is going to start. This speeds up compilation at the expense of more resource needs (esp. memory). The smaller the machine, the smaller the X should be. E.g. on a Raspi 3b, the defaults leads to out of memory kills and hangs in kstars compilation. I am currently retrying with -j1...
The following user(s) said Thank You: David Thompson
Last edit: 5 months 4 weeks ago by Grimaldi.
5 months 4 weeks ago #71931

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

  • Posts: 283
  • Thank you received: 39
yes, as described above by Grimaldi, it depends on the machine. On my 4G Odroid, with 2 G zram, there are a couple of groups of files which won't compile in parallel in the build with -j4, but everything compiles with -j3 for me.
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
Last edit: 5 months 3 weeks ago by Jerry Black.
5 months 4 weeks ago #71934

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

  • Posts: 66
  • Thank you received: 5
Just tried running your script on my testbed RPi3b using the - all option, It took quite a few hours BUT everything went well until Part 7 the kstars compile. It failed because it could not find eigen3. After doing a manual apt-get install again for libeigen3-dev and doing only the kstars compile all went well.

Kstars worked and Ekos was there --- YIPPEE. __

Big thank you for sorting this.

I will now run it on my main system using a RPi4 with ssd.
David
RPi4 4GB mem running Raspbian (PiOS), Indi/Kstars
Skywatcher AZ-EQ6, Esprit 100ED, Celestron HD925, ZWO1600MM, ZWO EFW,
Last edit: 5 months 4 weeks ago by David Thompson.
5 months 4 weeks ago #71954

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

  • Posts: 283
  • Thank you received: 39
OK, thanks for reporting this. I may have fixed this during your compile run.
github.com/JerryBlack/buildKstarsNightly...b708a8114ca84c4d3de7

In addition, a subsequent update also set the -j3 compile option to be configured via a script variable.

Cheers
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
The following user(s) said Thank You: David Thompson
5 months 3 weeks ago #71956

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

  • Posts: 66
  • Thank you received: 5
Just ran the full script on my RPi4 running the latest Raspbian (PiOS). It worked perfectly.

The script is a great way of keeping up to date.
David
RPi4 4GB mem running Raspbian (PiOS), Indi/Kstars
Skywatcher AZ-EQ6, Esprit 100ED, Celestron HD925, ZWO1600MM, ZWO EFW,
5 months 3 weeks ago #71973

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

Time to create page: 0.267 seconds