×

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

  • 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
9 months 3 weeks ago #80256

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

  • Posts: 42
  • 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
9 months 3 weeks 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: 9 months 3 weeks ago by Tim.
9 months 3 weeks ago #80260

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

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
9 months 3 weeks ago #80265

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

  • Posts: 42
  • 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
9 months 3 weeks ago #80286

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

  • Posts: 42
  • 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
9 months 3 weeks ago #80312

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

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

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

  • Posts: 42
  • 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
9 months 3 weeks ago #80320

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

  • Posts: 42
  • 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
9 months 3 weeks ago #80321

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

  • Posts: 199
  • Thank you received: 45
I think your issue is that you want to build only libasi part. But you need to build and install whole 3rd party repository.
9 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
9 months 2 weeks ago #80341

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

  • Posts: 199
  • Thank you received: 45
If you have installed indi-asi package then you have driver for filter wheel already installed.
9 months 2 weeks ago #80379

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

Time to create page: 1.112 seconds