×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Indi Support for Bullseye 64 bit RPI4

This shouldn't be complicated.

+ First step
+ Second step
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
7 months 3 weeks ago #80265

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

  • Posts: 40
  • Thank you received: 4
Thankyou both. I had not realised that the 3rdparty clone contains both the drivers and the libraries.

I had assumed that 'install and build' also included 'download' - but now understand how it works!

Best

R
7 months 3 weeks ago #80286

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

  • Posts: 40
  • Thank you received: 4
No - still have a problem.

I have deleted ~/Projects and rebuilt the clone.

Building libs before the driver:

$ ~/Projects $ mkdir -p ~/Projects/build/indi-3rdparty
$ ~/Projects $ cd ~/Projects/build/indi-3rdparty-libs
: ~/Projects/build/indi-3rdparty-libs $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_LIBS=1 ~/Projects/indi-3rdparty
-- 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
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libavcodec>=57.64.101'
-- Found libavcodec, version 58.91.100
-- Checking for module 'libavdevice>=57.1.100'
-- Found libavdevice, version 58.10.100
-- Checking for module 'libavformat>=57.56.100'
-- Found libavformat, version 58.45.100
-- Checking for module 'libavutil>=55.34.100'
-- Found libavutil, version 56.51.100
-- Checking for module 'libswscale>=4.2.100'
-- Found libswscale, version 5.7.100
-- Found FFMPEG: /usr/lib/aarch64-linux-gnu/libavcodec.so;/usr/lib/aarch64-linux-gnu/libavdevice.so;/usr/lib/aarch64-linux-gnu/libavformat.so;/usr/lib/aarch64-linux-gnu/libavutil.so;/usr/lib/aarch64-linux-gnu/libswscale.so, /usr/include/aarch64-linux-gnu
-- Since FFMPEG was found, INDI Webcam Driver can be built
-- Found USB1: /usr/lib/aarch64-linux-gnu/libusb-1.0.so (found version "1.0.24")
-- Performing Test USB1_HAS_LIBUSB_ERROR_NAME
-- Performing Test USB1_HAS_LIBUSB_ERROR_NAME - Success
-- Found CURL: /usr/lib/aarch64-linux-gnu/libcurl.so (found version "7.74.0")
CMake Error at cmake_modules/FindINDI.cmake:285 (message):
Could not find INDI include directory
Call Stack (most recent call first):
libapogee/CMakeLists.txt:26 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/pi/Projects/build/indi-3rdparty-libs/CMakeFiles/CMakeOutput.log".

and I get

$ ~/Projects/build/indi-3rdparty-libs $ ls -a
. .. CMakeCache.txt CMakeFiles libapogee

All I can think of is that something from my previous failed attempt may be blocking libasi from building, but have no idea how to resolve it.

Tks

R
7 months 3 weeks ago #80312

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

  • Posts: 186
  • Thank you received: 41
You need to install libindi-dev package or compile base INDI from source.
7 months 3 weeks ago #80313

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

  • Posts: 40
  • Thank you received: 4
Thanks nou: don't know how I missed that.

However, although directory indi is built and directory indi-3rd party contains both indi-asi and libasi,

$ ~/Projects/indi-3rdparty $ mkdir -p ~/Projects/build/libasi
$ ~/Projects/indi-3rdparty $ cd ~/Projects/build/libasi
$ ~/Projects/build/libasi $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_LIBS=1 ~/Projects/indi-3rdparty/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
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_LIBS


-- Build files have been written to: /home/pi/Projects/build/libasi
$ ~/Projects/build/libasi $ make -j4
Scanning dependencies of target imported_USB2ST4Conv
Scanning dependencies of target imported_EFWFilter
Scanning dependencies of target imported_EAFFocuser
Scanning dependencies of target imported_ASICamera2
[ 8%] Generating libUSB2ST4Conv.so.1.0
[ 16%] Generating libEAFFocuser.so.1.4
[ 25%] Generating libEFWFilter.so.1.7
[ 33%] Generating libASICamera2.so.1.21.3
[ 41%] Generating libUSB2ST4Conv.so.1
[ 50%] Generating libEAFFocuser.so.1
[ 58%] Generating libEFWFilter.so.1
[ 75%] Generating libASICamera2.so.1
[ 75%] Generating libUSB2ST4Conv.so
[ 83%] Generating libEAFFocuser.so
[ 91%] Generating libEFWFilter.so
[100%] Generating libASICamera2.so
[100%] Built target imported_EAFFocuser
[100%] Built target imported_USB2ST4Conv
[100%] Built target imported_EFWFilter
[100%] Built target imported_ASICamera2
$ ~/Projects/build/libasi $ 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: "Debug"
-- Installing: /lib/udev/rules.d/99-asi.rules
-- Installing: /usr/include/libasi/ASICamera2.h
-- Installing: /usr/include/libasi/EFW_filter.h
-- Installing: /usr/include/libasi/USB2ST4_Conv.h
-- Installing: /usr/include/libasi/EAF_focuser.h
-- Up-to-date: /usr/lib/aarch64-linux-gnu/libASICamera2.so
-- Up-to-date: /usr/lib/aarch64-linux-gnu/libASICamera2.so.1
-- Installing: /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.21.3
-- Up-to-date: /usr/lib/aarch64-linux-gnu/libEFWFilter.so
-- Up-to-date: /usr/lib/aarch64-linux-gnu/libEFWFilter.so.1
-- Installing: /usr/lib/aarch64-linux-gnu/libEFWFilter.so.1.7
-- Up-to-date: /usr/lib/aarch64-linux-gnu/libUSB2ST4Conv.so
-- Up-to-date: /usr/lib/aarch64-linux-gnu/libUSB2ST4Conv.so.1
-- Installing: /usr/lib/aarch64-linux-gnu/libUSB2ST4Conv.so.1.0
-- Up-to-date: /usr/lib/aarch64-linux-gnu/libEAFFocuser.so
-- Up-to-date: /usr/lib/aarch64-linux-gnu/libEAFFocuser.so.1
-- Installing: /usr/lib/aarch64-linux-gnu/libEAFFocuser.so.1.4
$ ~/Projects/build/libasi $ mkdir -p ~/Projects/build/indi-asi
$ ~/Projects/build/libasi $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-asi
CMake Error: The source "/home/pi/Projects/indi-3rdparty/indi-asi/CMakeLists.txt" does not match the source "/home/pi/Projects/indi-3rdparty/libasi/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.

The cmake commands for both libasi and indi-asi call the same ~/Projects/indi-3rdparty directory and both libasi and indi-asi are in that directory

$ ~/Projects/indi-3rdparty $ ls
CMakeLists.txt indi-ffmv indi-sbig libpktriggercord
cmake_modules indi-fishcamp indi-shelyak libplayerone
debian indi-fli indi-spectracyber libqhy
examples indi-gige indi-starbook libqsi
indi-aagcloudwatcher-ng indi-gphoto indi-starbook-ten libricohcamerasdk
indi-ahp-xc indi-gpsd indi-sv305 libsbig
indi-aok indi-gpsnmea indi-sx libstarshootg
indi-apogee indi-inovaplx indi-talon6 libsv305
indi-armadillo-platypus indi-limesdr indi-toupbase libtoupcam
indi-asi indi-maxdomeii indi-webcam LICENSE
indi-asi-power indi-mgen libahp-xc make_deb_libs
indi-astrolink4 indi-mi libaltaircam make_deb_pkgs
indi-astromechfoc indi-nexdome libapogee make_libraries
indi-atik indi-nightscape libasi obsolete
indi-avalon indi-orion-ssg3 libatik README
indi-beefocus indi-pentax libfishcamp README.md
indi-bresserexos2 indi-playerone libfli scripts
indi-celestronaux indi-qhy libinovasdk spec
indi-dreamfocuser indi-qsi libmallincam testfile
indi-dsi indi-rpicam libmicam
indi-duino indi-rpi-gpio libnncam
indi-eqmod indi-rtklib libpigpiod

..?

Many thanks

R
7 months 3 weeks ago #80320

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

  • Posts: 40
  • Thank you received: 4
Sorry failed to properly copy the full list of indi-3rdparty files: this doesn't change the question.

$ ~/Projects/indi-3rdparty $ ls
CMakeLists.txt indi-ffmv indi-sbig libpktriggercord
cmake_modules indi-fishcamp indi-shelyak libplayerone
debian indi-fli indi-spectracyber libqhy
examples indi-gige indi-starbook libqsi
indi-aagcloudwatcher-ng indi-gphoto indi-starbook-ten libricohcamerasdk
indi-ahp-xc indi-gpsd indi-sv305 libsbig
indi-aok indi-gpsnmea indi-sx libstarshootg
indi-apogee indi-inovaplx indi-talon6 libsv305
indi-armadillo-platypus indi-limesdr indi-toupbase libtoupcam
indi-asi indi-maxdomeii indi-webcam LICENSE
indi-asi-power indi-mgen libahp-xc make_deb_libs
indi-astrolink4 indi-mi libaltaircam make_deb_pkgs
indi-astromechfoc indi-nexdome libapogee make_libraries
indi-atik indi-nightscape libasi obsolete
indi-avalon indi-orion-ssg3 libatik README
indi-beefocus indi-pentax libfishcamp README.md
indi-bresserexos2 indi-playerone libfli scripts
indi-celestronaux indi-qhy libinovasdk spec
indi-dreamfocuser indi-qsi libmallincam testfile
indi-dsi indi-rpicam libmicam
indi-duino indi-rpi-gpio libnncam
indi-eqmod indi-rtklib libpigpiod

Tks

R
7 months 3 weeks ago #80321

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

  • Posts: 186
  • Thank you received: 41
I think your issue is that you want to build only libasi part. But you need to build and install whole 3rd party repository.
7 months 3 weeks ago #80335

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

  • Posts: 7
  • Thank you received: 0
Again, please pardon me if this question is somewhat odd, but if I wait long enough, will there be an automated answer to this issue of an updated, 64-bit third-party indi lib fix?

IOW, might I one day get s response here that says, ‘Click here to update..’ and that’ll be the end of it, or am I going to have to wait until I have the time to wrap my brain around the issue and solve it for myself?

And the Capitalist in me wants to know if anyone might have a GoFundMe or something like that where we can get the completed install package with a goodwill donation button?

Thanks in advance for the help.

DD
7 months 3 weeks ago #80341

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

  • Posts: 186
  • Thank you received: 41
If you have installed indi-asi package then you have driver for filter wheel already installed.
7 months 3 weeks ago #80379

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

  • Posts: 40
  • Thank you received: 4
I think there must be some confusion here. I don't actually want to build the driver for the EFW.

I want to build the driver for the cameras, and there is a section of Jasem's tutorial which suggests that it is easily done without having to build all the drivers.

I have tried to follow those instructions, but without success.

Here is my tutorial to myself based on what I understand from the site: grateful if someone could correct it where necessary.

mkdir -p ~/Projects
cd ~/Projects

BUILD INDI CORE

git clone --depth 1 github.com/indilib/indi.git

mkdir -p ~/Projects/build/indi-core
cd ~/Projects/build/indi-core
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi
make -j4
sudo make install



INSTALL LIBRARIES

sudo apt-get -y install libindi-dev

OR

CLONE ALL LIBS TOGETHER

git clone --depth=1 github.com/indilib/indi-3rdparty

INSTALL ALL LIBS

1 MAKE DIRECTORY WHERE TO BUILD

mkdir -p ~/Projects/build/indi-3rdparty-libs

2 CHANGE INTO BUILD DIRECTORY

cd ~/Projects/build/indi-3rdparty-libs

3 CALL BINARIES FROM CLONEINTO BUILD DIRECTORY, BUILD AND INSTALL

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_LIBS=1 ~/Projects/indi-3rdparty-libs
make -j4
sudo make install


CLONE LIBS BY LIST

git clone --depth=1 github.com/indilib/indi-3rdparty

sudo apt-get -y install [ANY OF] [libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev libfftw3-dev libftdi-dev libgps-dev libraw-dev libdc1394-22-dev libgphoto2-dev libboost-dev libboost-regex-dev librtlsdr-dev liblimesuite-dev libftdi1-dev libavcodec-dev libavdevice-dev]

INSTALL SINGLE LIB

1 MAKE DIRECTORY WHERE TO BUILD

mkdir -p ~/Projects/build/lib[DEVICE]

2 CHANGE INTO BUILD DIRECTORY

cd ~/Projects/build/lib[DEVICE]

3 CALL BINARIES FROM CLONE INTO BUILD DIRECTORY, BUILD AND INSTALL

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_LIBS=1 ~/Projects/indi-3rdparty/lib[DEVICE]
make -j4
sudo make install

INSTALL SINGLE DRIVER

MAKE DIRECTORY WHERE TO BUILD
mkdir -p ~/Projects/build/indi-[DRIVER]

CHANGE TO BUILD DIRECTORY
cd ~/Projects/build/indi-[DRIVER]

CALL BINARIES INTO BUILD DIRECTORY, MAKE AND INSTALL
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-[DRIVER]
make -j4
sudo make install

With many thanks

R
7 months 3 weeks ago #80434

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

  • Posts: 186
  • Thank you received: 41
My last post was reaction to David Diaz.

You are trying to build and install single driver. This is not supported and can lead to whole lot of breakage and incompatibilities and bugs. Compile and install everything. INDI core, indi 3rd party libs and then 3rd party drivers. As described in README on github,
7 months 2 weeks ago #80440

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

  • Posts: 41
  • Thank you received: 4
All,

I am the OP on this thread and by no means have all the knowledge being displayed here by some.  I do echo David's comment about seeking a "final" version blessed by INDI (so to speak) for installing the full package of drivers, etc, on a 64 Bit Pi OS (Ubuntu, Bullseye, etc.) ..  I know a lot of this is through contribution by others but, while I understand a lot of the steps for example by Richard above, I just would hope that given the need, that there's a final version all could use?  I have no problem following the steps, but a build script sure would be nice..

If Stellarmate's 64 bit solution is working, have they cracked the code and made a ready for prime time solution?  I don't know which OS variant they're using off the top of my head..

Appreciate all the efforts!!!

Jay S.
The following user(s) said Thank You: David Diaz
7 months 2 weeks ago #80449

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

Time to create page: 1.593 seconds