Bi-monthly release with minor bug fixes and improvements
Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New inferior 2 (process 26797)]
[Inferior 1 (process 26794) detached]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/arm-linux-gnueabihf/libthread_db.so.1".
process 26797 is executing new program: /usr/bin/indi_libcamera_ccd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb130f000 (LWP 26801)]
[New Thread 0xb0b0e000 (LWP 26802)]
[New Thread 0xb015e000 (LWP 26806)]
[New Thread 0xaf95d000 (LWP 26807)]
[Thread 0xb0b0e000 (LWP 26802) exited]
Thread 2.1 "indi_libcamera_" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb1312900 (LWP 26797)]
0x62696c2e in ?? ()
#0 0x62696c2e in ?? ()
#1 0xb5d3dba8 in libcamera::Thread::postMessage(std::unique_ptr<libcamera::Message, std::default_delete<libcamera::Message> >, libcamera::Object*) () from /usr/lib/arm-linux-gnueabihf/libcamera-base.so.0
#2 0xb5d3b330 in libcamera::Object::postMessage(std::unique_ptr<libcamera::Message, std::default_delete<libcamera::Message> >) () from /usr/lib/arm-linux-gnueabihf/libcamera-base.so.0
#3 0xb5d3b39c in libcamera::Object::deleteLater() () from /usr/lib/arm-linux-gnueabihf/libcamera-base.so.0
#4 0xb69673c8 in std::_Sp_counted_deleter<libcamera::Camera*, libcamera::Camera::create(std::unique_ptr<libcamera::Camera::Private, std::default_delete<libcamera::Camera::Private> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::set<libcamera::Stream*, std::less<libcamera::Stream*>, std::allocator<libcamera::Stream*> > const&)::Deleter, std::allocator<void>, (__gnu_cxx::_Lock_policy)1>::_M_dispose() () from /usr/lib/arm-linux-gnueabihf/libcamera.so.0
#5 0x0045f668 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)1>::_M_release (this=0xb02134a8) at /usr/include/c++/10/bits/shared_ptr_base.h:158
#6 0x0045a360 in std::__shared_count<(__gnu_cxx::_Lock_policy)1>::~__shared_count (this=0x4c35e4, __in_chrg=<optimized out>) at /usr/include/c++/10/bits/shared_ptr_base.h:733
#7 0x00477e68 in std::__shared_ptr<libcamera::Camera, (__gnu_cxx::_Lock_policy)1>::~__shared_ptr (this=0x4c35e0, __in_chrg=<optimized out>) at /usr/include/c++/10/bits/shared_ptr_base.h:1183
#8 0x0047d328 in std::shared_ptr<libcamera::Camera>::~shared_ptr (this=0x4c35e0, __in_chrg=<optimized out>) at /usr/include/c++/10/bits/shared_ptr.h:121
#9 0x0047d3a0 in std::_Destroy<std::shared_ptr<libcamera::Camera> > (__pointer=0x4c35e0) at /usr/include/c++/10/bits/stl_construct.h:140
#10 0x00477d70 in std::_Destroy_aux<false>::__destroy<std::shared_ptr<libcamera::Camera>*> (__first=0x4c35e0, __last=0x4c35e8) at /usr/include/c++/10/bits/stl_construct.h:152
#11 0x00470360 in std::_Destroy<std::shared_ptr<libcamera::Camera>*> (__first=0x4c35e0, __last=0x4c35e8) at /usr/include/c++/10/bits/stl_construct.h:185
#12 0x004678c4 in std::_Destroy<std::shared_ptr<libcamera::Camera>*, std::shared_ptr<libcamera::Camera> > (__first=0x4c35e0, __last=0x4c35e8) at /usr/include/c++/10/bits/alloc_traits.h:738
#13 0x0045e764 in std::vector<std::shared_ptr<libcamera::Camera>, std::allocator<std::shared_ptr<libcamera::Camera> > >::~vector (this=0xbeffec08, __in_chrg=<optimized out>) at /usr/include/c++/10/bits/stl_vector.h:680
#14 0x0044bba4 in INDILibCamera::detectCameras (this=0x4db4d0) at /home/astroberry/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:528
#15 0x0044b3c0 in INDILibCamera::initProperties (this=0x4db4d0) at /home/astroberry/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:444
#16 0xb6dda9b4 in INDI::DefaultDevice::ISGetProperties (this=0x4db4d0, dev=0x0) at /home/astroberry/Projects/indi/libs/indibase/defaultdevice.cpp:776
#17 0xb6e0c164 in INDI::CCD::ISGetProperties (this=0x4db4d0, dev=0x0) at /home/astroberry/Projects/indi/libs/indibase/indiccd.cpp:509
#18 0x0044b6f4 in INDILibCamera::ISGetProperties (this=0x4db4d0, dev=0x0) at /home/astroberry/Projects/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:471
#19 0xb6dd6f38 in ISGetProperties (dev=0x0) at /home/astroberry/Projects/indi/libs/indibase/defaultdevice.cpp:57
#20 0xb6d99070 in dispatch (root=0x4e5198, msg=0xbeffee9c "erties version=\"1.7\"/>\n") at /home/astroberry/Projects/indi/indidriver.c:823
#21 0xb6d9d620 in flushDeferredMessages (arg=0x0) at /home/astroberry/Projects/indi/indidrivermain.c:137
#22 0xb6d9f2a4 in runImmediates () at /home/astroberry/Projects/indi/eventloop.c:563
#23 0xb6d9f090 in oneLoop () at /home/astroberry/Projects/indi/eventloop.c:504
#24 0xb6d9df9c in eventLoop () at /home/astroberry/Projects/indi/eventloop.c:110
#25 0xb6d9de6c in main (ac=0, av=0xbefff904) at /home/astroberry/Projects/indi/indidrivermain.c:317
#26 0xb65ef740 in __libc_start_main (main=0xbefff904, argc=-1234010112, argv=0xb65ef740 <__libc_start_main+276>, init=<optimized out>, fini=0x49b2dc <__libc_csu_fini>, rtld_fini=0xb6fdd510 <_dl_fini>, stack_end=0xbefff904) at libc-start.c:308
#27 0x004486bc in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Please Log in or Create an account to join the conversation.
2022-11-05T21:05:18: Driver indi_libcamera_ccd: [0:12:18.950064319] [3997] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.