Bi-monthly release with minor bug fixes and improvements
6 sudo apt-get install -y git cdbs dkms cmake fxload libev-dev libgps-dev libgsl-dev libraw-dev libusb-dev zlib1g-dev libftdi-dev libgsl0-dev libjpeg-dev libkrb5-dev libnova-dev libtiff-dev libfftw3-dev librtlsdr-dev libcfitsio-dev libgphoto2-dev build-essential libusb-1.0-0-dev libdc1394-22-dev libboost-regex-dev libcurl4-gnutls-dev libtheora-dev
7 mkdir -p ~/Projects
8 cd ~/Projects
9 git clone github.com/indilib/indi.git
10 mkdir -p ~/Projects/build/indi-core
11 cd ~/Projects/build/indi-core
12 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi
13 make -j4
14 sudo make install
15 cd ..
16 cd ..
16 sudo apt-get -y install 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
17 sudo apt-get -y install libindi-dev
18 git clone github.com/indilib/indi-3rdparty
27 sudo apt install libcamera-apps
28 sudo nano /boot/config.txt //add to end dtoverlay=imx###
29 sudo reboot
30 libcamera-hello --list-cameras //check that there is camera detected
31 mkdir -p ~/Projects/build/indi-libcamera
32 cd ~/Projects/build/indi-libcamera
44 sudo apt install build-essential libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev
48 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-libcamera/
49 make -j4
50 sudo make install
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-libcamera
-- 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
-- Found CFITSIO 3.49: /usr/lib/aarch64-linux-gnu/libcfitsio.so
-- Found INDI: /usr/lib/aarch64-linux-gnu/libindidriver.so;/usr/lib/aarch64-linux-gnu/libindiAlignmentDriver.so (found version "1.9.8")
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found LIBCAMERAAPPS Library: /usr/lib/aarch64-linux-gnu/libcamera_app.so
-- Checking for module 'libraw'
-- Found libraw, version 0.20.2
-- Checking for module 'libraw_r'
-- Found libraw_r, version 0.20.2
-- Found LibRaw: /usr/lib/aarch64-linux-gnu/libraw.so (found version "0.20.2")
-- Found JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so
-- Could NOT find Boost: missing: program_options (found /usr/lib/aarch64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0"))
-- Checking for module 'libcamera'
-- No package 'libcamera' found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
CMakeLists.txt:19 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/stellarmate/Projects/build/indi-libcamera/CMakeFiles/CMakeOutput.log".
See also "/home/stellarmate/Projects/build/indi-libcamera/CMakeFiles/CMakeError.log".
Please Log in or Create an account to join the conversation.
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-libcamera
-- 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
-- Found CFITSIO 3.49: /usr/lib/aarch64-linux-gnu/libcfitsio.so
-- Found INDI: /usr/lib/aarch64-linux-gnu/libindidriver.so;/usr/lib/aarch64-linux-gnu/libindiAlignmentDriver.so (found version "1.9.8")
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found LIBCAMERAAPPS Library: /usr/lib/aarch64-linux-gnu/libcamera_app.so
-- Checking for module 'libraw'
-- Found libraw, version 0.20.2
-- Checking for module 'libraw_r'
-- Found libraw_r, version 0.20.2
-- Found LibRaw: /usr/lib/aarch64-linux-gnu/libraw.so (found version "0.20.2")
-- Found JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so
-- Could NOT find Boost: missing: program_options (found /usr/lib/aarch64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0"))
-- Checking for module 'libcamera'
-- No package 'libcamera' found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
CMakeLists.txt:19 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/stellarmate/Projects/build/indi-libcamera/CMakeFiles/CMakeOutput.log".
See also "/home/stellarmate/Projects/build/indi-libcamera/CMakeFiles/CMakeError.log".
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
sudo apt install build-essential libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libcamera-dev
Please Log in or Create an account to join the conversation.
Scanning dependencies of target indi_libcamera_ccd
[ 50%] Building CXX object CMakeFiles/indi_libcamera_ccd.dir/indi_libcamera.cpp.o
In file included from /usr/include/libindi/defaultdevice.h:23,
from /usr/include/libindi/indiccd.h:30,
from /home/stellarmate/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.h:34,
from /home/stellarmate/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:21:
/usr/include/libindi/indilogger.h:72: warning: "LOG_ERROR" redefined
72 | #define LOG_ERROR(txt) DEBUG(INDI::Logger::DBG_ERROR, (txt))
|
In file included from /home/stellarmate/Projects/indi-3rdparty/indi-libcamera/core/options.hpp:21,
from /home/stellarmate/Projects/indi-3rdparty/indi-libcamera/core/video_options.hpp:14,
from /home/stellarmate/Projects/indi-3rdparty/indi-libcamera/core/libcamera_encoder.hpp:10,
from /home/stellarmate/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.h:29,
from /home/stellarmate/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:21:
/home/stellarmate/Projects/indi-3rdparty/indi-libcamera/core/logging.hpp:9: note: this is the location of the previous definition
9 | #define LOG_ERROR(text) std::cerr << text << std::endl
|
[100%] Linking CXX executable indi_libcamera_ccd
[100%] Built target indi_libcamera_ccd
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
sudo apt install libcamera-apps
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libcamera-apps is already the newest version (1.0-stable~202210121703).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.