×

INDI Library v2.0.1 Released (06 Apr 2023)

Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements. An important feature for this release is the full support for XISF file format which is used by PixInsight. INDI cameras can now natively capture in XISF format.

Build Kstars Nightly from Git

  • Posts: 426
  • Thank you received: 63
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 + Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube+PPBA
Nikon Z7 8256 x 5504 4.34 um. Triad Ultra Quad Filter
1) MeLE Quieter3C 8G Ubuntu-mate 22.04.1 2) Odroid-N2. 3) StellarMate RPI4 8G
The good, the bad, the ugly at www.sciencedowneast.com/zenphoto/
The following user(s) said Thank You: Gilles Gagnon, David Thompson, ouioui01, Grimaldi
Last edit: 2 years 12 hours ago by Jerry Black.
2 years 12 hours ago #71737

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

  • Posts: 292
  • Thank you received: 54
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.
1 year 11 months ago #71744

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

  • Posts: 292
  • Thank you received: 54
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.
1 year 11 months ago #71745

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

  • Posts: 426
  • Thank you received: 63
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 + Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube+PPBA
Nikon Z7 8256 x 5504 4.34 um. Triad Ultra Quad Filter
1) MeLE Quieter3C 8G Ubuntu-mate 22.04.1 2) Odroid-N2. 3) StellarMate RPI4 8G
The good, the bad, the ugly at www.sciencedowneast.com/zenphoto/
The following user(s) said Thank You: Gilles Gagnon
1 year 11 months ago #71746

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

  • Posts: 104
  • Thank you received: 21
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: 1 year 11 months ago by Grimaldi.
1 year 11 months ago #71928

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

  • Posts: 426
  • Thank you received: 63
OK, thanks. I think I've added those just now.
120 MM Skywatcher Esprit + Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube+PPBA
Nikon Z7 8256 x 5504 4.34 um. Triad Ultra Quad Filter
1) MeLE Quieter3C 8G Ubuntu-mate 22.04.1 2) Odroid-N2. 3) StellarMate RPI4 8G
The good, the bad, the ugly at www.sciencedowneast.com/zenphoto/
The following user(s) said Thank You: David Thompson
1 year 11 months ago #71929

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

  • Posts: 292
  • Thank you received: 54
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.
1 year 11 months ago #71930

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

  • Posts: 104
  • Thank you received: 21
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: 1 year 11 months ago by Grimaldi.
1 year 11 months ago #71931

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

  • Posts: 426
  • Thank you received: 63
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 + Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube+PPBA
Nikon Z7 8256 x 5504 4.34 um. Triad Ultra Quad Filter
1) MeLE Quieter3C 8G Ubuntu-mate 22.04.1 2) Odroid-N2. 3) StellarMate RPI4 8G
The good, the bad, the ugly at www.sciencedowneast.com/zenphoto/
Last edit: 1 year 11 months ago by Jerry Black.
1 year 11 months ago #71934

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

  • Posts: 69
  • 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: 1 year 11 months ago by David Thompson.
1 year 11 months ago #71954

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

  • Posts: 426
  • Thank you received: 63
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 + Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube+PPBA
Nikon Z7 8256 x 5504 4.34 um. Triad Ultra Quad Filter
1) MeLE Quieter3C 8G Ubuntu-mate 22.04.1 2) Odroid-N2. 3) StellarMate RPI4 8G
The good, the bad, the ugly at www.sciencedowneast.com/zenphoto/
The following user(s) said Thank You: David Thompson
1 year 11 months ago #71956

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

  • Posts: 69
  • 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,
1 year 11 months ago #71973

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

Time to create page: 0.286 seconds