Oops - should have been

$ cd astro-soft-build

$ $ git pull origin

As per your post.

Tks

R

Read More...

Hi Nou

Hoping to update to Kstars 3.6.1.

Would this be correct:

pi@Richard-RPi:~ $ ls
astro-soft-build 'Build single Indi drivers' Documents Light PHD2 rpi-clone sdrangel.wiki USB
astro-soft-stable build-welle.io-Desktop-Debug Downloads Music Pictures rtl8812au SSD Videos

$ cd astro-soft-stable

$ git pull origin

??

This has worked so well I don't want to mess it up!

Thanks
R

Read More...

Richard Hornby replied to the topic 'Collimation Circles' in the forum. 8 months ago

Hi Marc

I've had sct-colim working well in Manjaro for a year or so and now want to port it to my Raspberry OS 64 to use on the mount. Unfortunately the gtk-2-dev package is no longer available. Can the program be changed to use gtk-3?

Many thanks
R

Read More...

Hope this may be encouraging .. I downloaded the repository and ran the scripts without a hitch.

All is now working.

With many thanks

R

Read More...

Hello Nou ..

When I run
$ ./install-dependencies.sh

I get:
...
./install-dependencies.sh: line1: syntax error near unexpected token 'newline'
,/install-dependencies.sh line 1: '<!DOCTYPE html>'
...
I don'f feel that cloning the repo would have any different effect than downloading the script.

And your post seems to suggest that we should run the cloned script in that way.

The problem seems to be that bash doesn't like the "looks-like-might be-html" script ... but as I said above I have never come across this before so I'm guessing.

Tks

R

Read More...

I haven't met an html bash script before. I have downloaded the scripts and attempted to run with ./ from the download location.

How do I do this on the pi? My researches only find links advising how to place html links on a web-server. I have Firefox installed but no objection to installing Chromium.

Tks

R

Read More...

Thanks to both Tim and Nou.

I may have failed to change to the correct build directory. I tried again and this time got build errors relating to various properties not being defined or declared. I have the whole output if anyone is interested.

Then looked inside the repository, found indi-asi folder and the readme.md inside it which gave instructions for building the driver by itself. Tried these, they gave the same / similar errors.

So now I will try the scripts to which Nou refers, however, I will not be doing this on a clean image, because I have a pile of other things installed including CdCiel/CCDCiel, ASTAP (thanks to HAN who has recompiled this to work with Raspberry64 - see his Sourceforge page) and so forth.

Will get back here when I have tried this.

Best

R

Read More...

@ Jay S - absolutely second that plea for a simple install of all working drivers.

@ nou = I have in some despair and despite the clear indications in the README's that single driver installation is not only possible but preferable, attempted to build all the drivers, after installing Indi-Core and all the prerequsites, The build fails with numerous requests to install individual drivers again before attempting to make. There are no instrucfions as to how to install anything before make.

None of these failed drivers are required for anything I want to use.

Again, can I request some assistance in building one or two single drivers, with associated libraries, and installing. Jasem said 'its not complicated' and referred again to his README tutorials, These are complicated by addressing in parallel (apparently) different ways of building the libraries, so that no one method is laid out end to end. For instance, it is not clear whether there is actually a requirement for Iibindi-dev, or whether this is an extra (purpose not specified) or whether it is a useful short-cut when installing a single driver. There is even a suggestion in this thread that that is the only library which is required for building all the drivers.

To a newbie, this is complicated, and I agree it should not be.

It would be extremely helpful if someone could lay out all the steps, from absolute zero, necessary to install one driver and associated libraries. I don't expect this to require only one library. IF (to anticipate an objection) the libraries required depend on what sort of driver is to be installed, then of course it makes sense to install all of them. Or (for instance, I am making this up) to install a camera driver it may always be necessary to install gphoto. But not for a mount. Etc..

AND, as a Debian (Raspberry OS) user, it would be even more helpful if all these could be installed with sudo apt-get.

Yours in hope ....

Tks

R

Read More...

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

Read More...

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

Read More...

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

Read More...

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

Read More...