×

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

Bi-monthly release with minor bug fixes and improvements

Indi Support for Bullseye 64 bit RPI4

  • Posts: 351
  • Thank you received: 109
I have own script that compile STABLE version of kstars from sources. You can try that. gitea.nouspiro.space/nou/astro-soft-build It  is tested on 32bit raspberry pi OS but should works just fine on 64bit as well.
Just run
git clone https://gitea.nouspiro.space/nou/astro-soft-build.git
to fetch scripts.

First time run ./install-dependencies.sh and then ./build-soft-stable.sh
 
2 years 2 months ago #80184

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

  • Posts: 51
  • Thank you received: 4
Tks @ Tim and @ nou

There seems to have been a lot of work in this area: I also found the Avarakin/Astropi4 repository on GitHub who suggests making in Ubuntu with a makefile (editable). The Makefile needs updating to latest releases. It installs KDE (lite), MATE, lxde and Gnome.

Back to the script(s) - two questions if I may;

1 Is there a preference between Ubuntu (which AFAICS will interact with the INDI/mutlaq repository directly) and Raspberry OS? In terms of apps I would use not only KStars but also CdCiel/CCdCiel, ASTAP, FireCapture and Entangle (Nikon control). Do CCDiel / CCdiel run on KDE?

2 In terms of the GNU install routine, is it obvious which libs need to be installed to do this? In Manjaro there is a build-devel package containing all the required packages - does the same exist for Raspberry/Debian or Ubuntu?

Thanks for the help.

Best R
2 years 2 months ago #80188

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

  • Posts: 51
  • Thank you received: 4
@ nou - sorry should have read your script before I commented: I can see the install deps list: could you point me to which are general build deps out of that list - most are obviously concerned with the actual KStars build.

Many thanks
R
2 years 2 months ago #80189

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

  • Posts: 351
  • Thank you received: 109
These should be dependencies for KStars:
libnova-dev libcfitsio-dev zlib1g-dev libgsl-dev libraw-dev libeigen3-dev extra-cmake-modules libkf5plotting-dev libqt5svg5-dev libkf5xmlgui-dev libkf5kio-dev kinit-dev
libkf5newstuff-dev libkf5doctools-dev libkf5notifications-dev qtdeclarative5-dev libkf5crash-dev libkf5notifyconfig-dev wcslib-dev libqt5websockets5-dev xplanet xplanet-images qt5keychain-dev libsecret-1-dev breeze-icon-theme qml-module-qtquick-controls

You could drop libwxgtk3.0-gtk3-dev wx-common wx3.0-i18n libx11-dev as these are for PHD.

On Debian based distro you can try "sudo apt build-dep kstars" to install all build dependencies
Last edit: 2 years 2 months ago by nou.
2 years 2 months ago #80191

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

  • Posts: 351
  • Thank you received: 109
Ok downloaded 64 bit raspberry OS and tested my script on my RPi 4GB. It works but I needed to lower number of parallel jobs to 2 otherwise I would run out of memory during compilation.
2 years 2 months ago #80220

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

  • Posts: 7
  • Thank you received: 0
Hello
Late to the game...

Have been running StellarMate 64bit without a hitch... until now.

The failure comes when trying to install the ZWO ASI Filter wheel driver, and I get the message:

'apt-key' is deprecated

I'm rather new to this, and all of the answers are somewhat beyond my capabilites at the moment.

Just received a notice that 64-bit was ready for prime time from Mr. Gordon Hollingsworth.

Can someone please direct me to the steps I need to take to update the ZWO Indi drivers on my 8GB Pi 4?

I can follow instructions well, but there are a lot of holes in this old CPU on my shoulders :)

Thanks in advance.

David D
2 years 2 months ago #80235

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

Hi David,

They're already included, no need to install additional drivers. The driver is called "ASI EFW".
2 years 2 months ago #80249

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

  • Posts: 51
  • Thank you received: 4
Hi Jasem, for those of using Debian-based Raspberry OS, who need to build from source, can you clarify something in the Tutorials please.

I can download and install everything according to the Tuturial EXCEPT the individual camera driver which I need, which in my case is ASI.

I can find the driver in the 3rdparty repository and build that. I can find, but can not build, the libasi package on which it depends. The Tutorial is vague about how to download and install the dependency. I have tried

$ apt-get install libasi ,or lib-asi, or indi-asi

and variations on this, which do not work.

I have tried to git clone the path to the lib, eg git clone github.com/indilib/indi-3rdparty/tree/master/indi-asi

What am I doing wrong?

Tks

R
2 years 2 months ago #80254

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

  • Posts: 51
  • Thank you received: 4
Just one more thought: there exist ways to convert from Ubuntu packages to Debian packages, but they require access to the deb-src version of the repository. Does the Indi repository have such access and if so what is the URL and the Key?

Many thanks

R
2 years 2 months ago #80255

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

  • Posts: 12
  • Thank you received: 0
In case this helps, I had no trouble building the libasi from indi-3rdparty v1.9.3.  This was on the same Raspberry Pi OS Bullseye 64bit system that I used to test Jerry's script (above, with some feedback provided on his Github issues page).

$ cmake ../../indi-3rdparty-1.9.3/libasi
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- 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
-- 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
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jesus/Downloads/indi-3rdparty/build/libasi
$ make
Scanning dependencies of target imported_USB2ST4Conv
[  8%] Generating libUSB2ST4Conv.so.1.0
[ 16%] Generating libUSB2ST4Conv.so.1
[ 25%] Generating libUSB2ST4Conv.so
[ 25%] Built target imported_USB2ST4Conv
Scanning dependencies of target imported_EAFFocuser
[ 33%] Generating libEAFFocuser.so.1.4
[ 41%] Generating libEAFFocuser.so.1
[ 50%] Generating libEAFFocuser.so
[ 50%] Built target imported_EAFFocuser
Scanning dependencies of target imported_EFWFilter
[ 58%] Generating libEFWFilter.so.1.7
[ 66%] Generating libEFWFilter.so.1
[ 75%] Generating libEFWFilter.so
[ 75%] Built target imported_EFWFilter
Scanning dependencies of target imported_ASICamera2
[ 83%] Generating libASICamera2.so.1.20.2
[ 91%] Generating libASICamera2.so.1
[100%] Generating libASICamera2.so
[100%] Built target imported_ASICamera2
$ sudo make install
[ 25%] Built target imported_USB2ST4Conv
[ 50%] Built target imported_EAFFocuser
[ 75%] Built target imported_EFWFilter
[100%] Built target imported_ASICamera2
Install the project...
-- Install configuration: ""
-- Installing: /lib/udev/rules.d/99-asi.rules
-- Installing: /usr/local/include/libasi/ASICamera2.h
-- Installing: /usr/local/include/libasi/EFW_filter.h
-- Installing: /usr/local/include/libasi/USB2ST4_Conv.h
-- Installing: /usr/local/include/libasi/EAF_focuser.h
-- Installing: /usr/local/lib/libASICamera2.so
-- Installing: /usr/local/lib/libASICamera2.so.1
-- Installing: /usr/local/lib/libASICamera2.so.1.20.2
-- Installing: /usr/local/lib/libEFWFilter.so
-- Installing: /usr/local/lib/libEFWFilter.so.1
-- Installing: /usr/local/lib/libEFWFilter.so.1.7
-- Installing: /usr/local/lib/libUSB2ST4Conv.so
-- Installing: /usr/local/lib/libUSB2ST4Conv.so.1
-- Installing: /usr/local/lib/libUSB2ST4Conv.so.1.0
-- Installing: /usr/local/lib/libEAFFocuser.so
-- Installing: /usr/local/lib/libEAFFocuser.so.1
-- Installing: /usr/local/lib/libEAFFocuser.so.1.4
2 years 2 months ago #80256

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

  • Posts: 51
  • Thank you received: 4
This is v helpful. As I am (obvs) new, could you set out the full path in the cmake first line ie /…./  ?

Does cmake call the necessary files from the repo directly?

There are pieces here which must be so obvs to experienced users they go without saying ;) 

Many thanks
2 years 2 months ago #80259

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

  • Posts: 12
  • Thank you received: 0
$ tree -d
.
├── build
│   ├── indi-eqmod
│   │   └── CMakeFiles
│   │       ├── 3.18.4
│   │       │   ├── CompilerIdC
│   │       │   │   └── tmp
│   │       │   └── CompilerIdCXX
│   │       │       └── tmp
│   │       ├── CMakeTmp
│   │       ├── indi_azgti_telescope.dir
│   │       │   ├── align
│   │       │   │   └── chull
│   │       │   ├── scope-limits
│   │       │   └── simulator
│   │       └── indi_eqmod_telescope.dir
│   │           ├── align
│   │           │   └── chull
│   │           ├── scope-limits
│   │           └── simulator
│   ├── indi-gphoto
│   │   └── CMakeFiles
│   │       ├── 3.18.4
│   │       │   ├── CompilerIdC
│   │       │   │   └── tmp
│   │       │   └── CompilerIdCXX
│   │       │       └── tmp
│   │       ├── CMakeTmp
│   │       └── indi_gphoto_ccd.dir
│   ├── indi-gpsd
│   │   └── CMakeFiles
│   │       ├── 3.18.4
│   │       │   ├── CompilerIdC
│   │       │   │   └── tmp
│   │       │   └── CompilerIdCXX
│   │       │       └── tmp
│   │       ├── CMakeTmp
│   │       └── indi_gpsd.dir
│   ├── indi-pentax
│   │   └── CMakeFiles
│   │       ├── 3.18.4
│   │       │   ├── CompilerIdC
│   │       │   │   └── tmp
│   │       │   └── CompilerIdCXX
│   │       │       └── tmp
│   │       ├── CMakeTmp
│   │       └── indi_pentax.dir
│   ├── libasi
│   │   └── CMakeFiles
│   │       ├── 3.18.4
│   │       │   ├── CompilerIdC
│   │       │   │   └── tmp
│   │       │   └── CompilerIdCXX
│   │       │       └── tmp
│   │       ├── CMakeTmp
│   │       ├── imported_ASICamera2.dir
│   │       ├── imported_EAFFocuser.dir
│   │       ├── imported_EFWFilter.dir
│   │       └── imported_USB2ST4Conv.dir
│   ├── libpktriggercord
│   │   └── CMakeFiles
│   │       ├── 3.18.4
│   │       │   └── CompilerIdC
│   │       │       └── tmp
│   │       ├── CMakeTmp
│   │       ├── pktriggercord.dir
│   │       │   └── src
│   │       │       └── src
│   │       │           └── external
│   │       │               └── js0n
│   │       └── udev_rules.dir
│   └── libricohcamerasdk
│       └── CMakeFiles
│           ├── 3.18.4
│           │   ├── CompilerIdC
│           │   │   └── tmp
│           │   └── CompilerIdCXX
│           │       └── tmp
│           └── CMakeTmp
└── indi-3rdparty-1.9.3

The cmake and make commands were given from the build/libasi/ working directory.

I have omitted the contents under indi-3rdparty-1.9.3 from this post.

If the equivalent commands in your environment don't work, then perhaps you'll get some clue as to the problem in the cmake output?
Last edit: 2 years 2 months ago by Tim.
2 years 2 months ago #80260

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

Time to create page: 1.631 seconds